Closed Bug 1405863 Opened 8 years ago Closed 3 months ago

messageManager not working for "bookmarksPanel.xul".

Categories

(Core :: DOM: Content Processes, defect, P4)

57 Branch
defect

Tracking

()

RESOLVED WONTFIX
Tracking Status
firefox57 --- fix-optional

People

(Reporter: dev.lukaszpolowczyk, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 Build ID: 20170809145938 Steps to reproduce: const frameScriptTextX = `data:,console.log("fstxsidebar");`; const sidebarWindow = window.document.getElementById("sidebar").contentWindow; // window is browser.xul const mm = sidebarWindow.messageManager; mm.loadFrameScript(frameScriptTextX, true); mm.childCount // return 0 Actual results: Noting. Expected results: Should show a "fstxsidebar" message in BrowserTools console.
Is this an extension code? As you might know, legacy extensions are no longer supported on Firefox 57+ so this bug is probably WONTFIX.
Flags: needinfo?(dev.lukaszpolowczyk)
@kohei Yes. But MessageManager is a universal Firefox feature that Firefox developers can use. So I do not see the obstacle to fix it.
Flags: needinfo?(dev.lukaszpolowczyk)
I'm not sure which is the right component for this, but I bet Bill does.
Component: Untriaged → General
Flags: needinfo?(wmccloskey)
This is the right component. I think we'd need a good reason to make this work though. It doesn't seem very useful to me.
Component: General → DOM: Content Processes
Flags: needinfo?(wmccloskey)
Product: Firefox → Core
Priority: -- → P4
Severity: normal → S3
Status: UNCONFIRMED → RESOLVED
Closed: 3 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.