I just noticed that nsIWebBrowser implements nsIDocShellTreeItem. Does anyone know why? More to the point, does anyone know whether its mParent is ever set, and if so, where?

The reason I ask is that having a SetParent on nsIDocShellTreeItem is rather broken-by-design (it allows creatiion of a malformed docshell tree). As a result, I'd like to make the parent attribute readonly (and have parents be set either at creation time or through calling AddChild/RemoveChild).

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

Reply via email to