On Dec 19, 3:58 pm, Boris Zbarsky <[EMAIL PROTECTED]> wrote: > Andrei Korostelev wrote: > > // I set up the content listener: attempt 1 > > var wnd = > > window.QueryInterface(Components.interfaces.nsIInterfaceRequestor) > > > .getInterface(Components.interfaces.nsIWebNavigation) > > > .QueryInterface(Components.interfaces.nsIDocShell) > > > .QueryInterface(Components.interfaces.nsIInterfaceRequestor); > > wnd.parentURIContentListener = myListener;parentURIContentListener lives on > > nsIURIContentListener, no? This seems to be > missing a getInterface for that interface after you QI the docshell to > nsIInterfaceRequestor. This should work with that change. > > -Boris
Tnanks a lot, Boris! It works with that change. _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
