On 4/21/10 5:33 AM, Babele Dunnit wrote:
Those create new nsWebBrowsers, right?

yes, absolutely. they get Init-ed, a parent URI content listener is
set etc.

Good.

I'd think the parent URI content listeners for those would get called.  Do they 
not?

only the OnStartURIOpen method gets called, twice, first time with URI
pointing to the PDF doc and second time with uri = about:blank. Both
times on the listener for the newly-created nsWebBrowser (uh, that's
strange... I expected an about:blank on the old one and the PDF URI on
the new one... maybe I have a bug lying somewhere?)

no other nsIURIContentListener interface methods are called.

Quite odd. IsContentPreferred should be called for LOAD_LINK loads, and the load type is passed through for _blank targets.

Do you have a debugger? Can you just see what arguments are passed to nsURILoader::OpenURI (and in particular the second argument)?

I have read somewhere that implementation of nsIEmbeddingSiteWindow
interface that is mandatory . Do you confirm that?

Sorry, no idea...

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

Reply via email to