Closed Bug 1484363 Opened Last year Closed Last year

Treat FrameMessageManager event targets as chrome

Categories

(Core :: DOM: Events, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: kmag, Assigned: kmag)

Details

Attachments

(1 file)

The code for deciding whether an event target is chrome or content currently only applies to event targets that are part of documents. Message managers aren't attached to documents, so it assumes that they aren't chrome listeners, even though they live in a system principal global.

But message manager event targets generally serve the same purpose as chrome event targets in browser windows, so should probably be treated the same.
Comment on attachment 9002117 [details]
Bug 1484363: Treat FrameMessageManagers as chrome event targets. r=smaug

Olli Pettay [:smaug] has approved the revision.
Attachment #9002117 - Flags: review+
https://hg.mozilla.org/mozilla-central/rev/777ba79e0e0a
Status: NEW → RESOLVED
Closed: Last year
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.