Closed Bug 1290264 Opened 8 years ago Closed 8 years ago

Update postMessage handling of "/" target origin to spec changes

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla50
Tracking Status
firefox50 --- fixed

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

Details

Attachments

(1 file)

https://github.com/whatwg/html/pull/1573 changed it from using entry to using incumbent.
Comment on attachment 8776075 [details] [diff] [review]
Update handling of '/' target origin of postMessage to spec change to use the incumbent global

Review of attachment 8776075 [details] [diff] [review]:
-----------------------------------------------------------------

Can we add a test please?
Attachment #8776075 - Flags: review?(bobbyholley) → review+
(Though if it's a lot of trouble and part of the motivation for making this change was that it would take 1 minute, I won't insist)
I took a look, and it's a but of a pain.  Filed https://github.com/w3c/web-platform-tests/issues/3371 and hoping the editor who made the spec change will add a test too.
Pushed by bzbarsky@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/ded96a1a5aae
Update handling of '/' target origin of postMessage to spec change to use the incumbent global.  r=bholley
https://hg.mozilla.org/mozilla-central/rev/ded96a1a5aae
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
Depends on: 1496118
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: