Open Bug 1214583 Opened 5 years ago Updated 2 years ago

loadFramescript loads into things without messageManager


(Core :: DOM: Core & HTML, defect)

42 Branch
Not set





(Reporter: noitidart, Unassigned)


User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0
Build ID: 20151008162217

Steps to reproduce:

I attached a delayed framescript, and it seems to add into things that don't have a message manager.

Like for instance:
<iframe type="content" src="resource://nimbusscreencaptureff-at-everhelper-dot-me/nimbus-screen-capture/data/popup.html" flex="1" transparent="transparent" autocompleteenabled="true">

So it's not possible to communicate to that with
Component: Untriaged → DOM
Product: Firefox → Core
I assume that iframe is somewhere in chrome.
You should be able to access its message manager using
             var owner =;
             if (owner.frameLoader) {
               return owner.frameLoader.messageManager

Note, xul:browser just has a helper method for this.
Ah thanks Olli! Is this mentioned somewhere in docs, else where would it be best to update?
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.