Permalink
Browse files

fixes bug 270345 "nsIDocShellTreeItem's parent and treeOwner attribut…

…es are not scriptable" r=biesi sr=bzbarsky
  • Loading branch information...
1 parent 35a099d commit 350d084828a0f7bc6aed9f8d051c57501e98665c darin%meer.net committed Nov 24, 2004
Showing with 4 additions and 2 deletions.
  1. +4 −2 docshell/base/nsIDocShellTreeItem.idl
@@ -90,7 +90,8 @@ interface nsIDocShellTreeItem : nsISupports
Further note however when others try to Get the interface you should add
ref it before handing it to them.
*/
- attribute nsIDocShellTreeItem parent;
+ readonly attribute nsIDocShellTreeItem parent;
+ [noscript] void setParent(in nsIDocShellTreeItem parent);
/*
This is call returns the same thing parent does however if the parent is
@@ -158,7 +159,8 @@ interface nsIDocShellTreeItem : nsISupports
Further note however when others try to get the interface it should be
addref'd before handing it to them.
*/
- attribute nsIDocShellTreeOwner treeOwner;
+ readonly attribute nsIDocShellTreeOwner treeOwner;
+ [noscript] void setTreeOwner(in nsIDocShellTreeOwner treeOwner);
/* The offset of yourself in your parent's child list */
attribute long childOffset;

0 comments on commit 350d084

Please sign in to comment.