On Tuesday, March 25, 2014 7:34:27 PM UTC+1, Boris Zbarsky wrote:
> Is the url about:blank when the window is created, perhaps?  It's hard 
> to say without knowing exactly what you're logging/measuring.

I spent some more time looking into this. The problem is apparently that we are 
observing http-on-modify-request and getting loadContext.associatedWindow when 
it is triggered. For this particular iframe this causes the document to be 
created and DOMWindowCreated to be dispatched. Stacktrace is here: 
http://pastebin.mozilla.org/5362491.

I'm not sure if I should be able to do anything useful with the 
DOMWindowCreated event in this case. The document has no location at that point 
and if I set a readystatechange handler it is never called. If I remove the 
access to associatedWindow in the http-on-modify-request handler then my 
DOMWindowCreated handler is invoked normally with the document location set.

Is this a Firefox bug or somehow by design?
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to