Ashish Motivala wrote:
>   var wnd = window.QueryInterface(
> Components.interfaces.nsIInterfaceRequestor)
>       .getInterface(Components.interfaces.nsIWebNavigation)
>       .QueryInterface(Components.interfaces.nsIDocShell)
>       .QueryInterface(Components.interfaces.nsIInterfaceRequestor)
>       .getInterface(Components.interfaces.nsIURIContentListener);
>   wnd.parentURIContentListener = myListener;

That looks like it should work....  Except the property is called 
parentContentListener.

> Don't we need to get the nsIURILoader interface to be able to
> registerContentListener?

You can do that too, but that does something different.  I doubt that's what 
you 
want here.

-Boris

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

Reply via email to