[EMAIL PROTECTED] wrote:
>     nsCOMPtr<nsIWebBrowserChrome>
> browserChrome(do_GetInterface(mTreeOwner));
>     NS_ENSURE_TRUE(browserChrome, NS_ERROR_NOT_AVAILABLE);
> 
> Could any one tell me what I did wrong in my code ?

Hmm.  The requirement that the tree owner expose an nsIWebBrowserChrome 
is somewhat new in this one case (needed to implement showModalDialog), 
but in general it's needed in all sorts of cases (to implement 
window.open, as I recall, and others).

Do you implement an nsIWebBrowserChrome anywhere?

-Boris
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to