On 2/26/13 4:58 AM, [email protected] wrote:
I couldn't see a way to load the document via the channel.

I thought you were implementing a custom protocol handler? If you are, then you can just use whatever channel you want.

If you're not, of course, messing with the channel won't help anything.

However, I took a peek at the source and noticed 
http://mxr.mozilla.org/mozilla-central/source/dom/base/nsGlobalWindow.cpp#2378. 
It looks like in a chrome docshell Firefox wants the document to have the 
system principal or it doesn't fire DOMWindowCreated.

Gah.  That's broken.  :(

I added URI_INHERITS_SECURITY_CONTEXT to my protocolFlags and now it works.

I really hope your protocol is not loadable from the web at large....

Shall I file a bug

Please do!

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

Reply via email to