I just checked in the patch for bug 272471.  This has the following effects:

1)  It is not longer possible to call SetParent() on an nsIDocShellTreeItem.
    The only methods that can modify the docshell tree are now addChild and
    removeChild (both on nsIDocShellTreeNode).  References to children are now
    weak, so children only live as long as something outside the tree holds a
    reference to them.
2)  When trying to add a child to an nsIDocShellTreeNode, it will actually have
    to be a docshell (there are other nsIDocShellTreeItems around, but they are
    no longer allowed in the docshell tree).
3)  nsIDocumentLoader lost some methods (destroy() is gone, the container
    property is now read-only, createDocumentLoader() is gone).
4)  nsIURILoader lost the getDocumentLoaderForContext method

I plan to make other changes to docshell/webshell/docloader/uriloader in the near future, roughly as follows:

A)  Remove nsIWebShell (bug 273319)
B)  Remove most of what's left of nsIDocumentLoader (this is still not
    completely decided; see bug 273760).
C)  Work on documenting nsIURILoader, and in particular the "context" argument
    to openURI method is expected to be.
D)  Modifications to the nsIDocShell* interfaces so we can work on freezing
    them.

-Boris
_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to