Closed
Bug 1365832
Opened 7 years ago
Closed 6 years ago
postMessage: event.source is not equal to source window
Categories
(Firefox for iOS :: Browser, defect, P2)
Tracking
()
VERIFIED
FIXED
Tracking | Status | |
---|---|---|
fxios | 15.0 | --- |
People
(Reporter: jenan, Assigned: justindarc)
Details
Attachments
(1 file)
1.28 KB,
text/html
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Steps to reproduce: 1. open a new window with `var innerWindow = window.open(url, '_blank');` 2. in the inner window, use `window.opener.postMessage('foo', '*');` 3. in the root window, read the event and compare `innerWindow` to `event.source` Minimal reproduction: https://jenanwise.github.io/firefox-ios-postmessage-event-source/ (source: https://github.com/jenanwise/firefox-ios-postmessage-event-source/) Actual results: innerWindow != event.source Chrome iOS and basic Mobile Safari do not show the same behavior. Neither do Chrome, Firefox, or Safari desktop. Expected results: innerWindow === event.source
Updated•6 years ago
|
tracking-fxios:
--- → ?
Assignee | ||
Updated•6 years ago
|
Priority: -- → P3
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → jdarcangelo
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
Landed on master: https://github.com/mozilla-mobile/firefox-ios/commit/4fd4b66df9d5403268cf60cb63ddc17e04cfee4f
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Comment 2•5 years ago
|
||
Verifying as fixed on master d6d0585a95b1c9 and Beta v15.b13583.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•