BroadcastChannel: Ignore messages from detached iframes / closing workers
Categories
(Core :: DOM: postMessage, enhancement)
Tracking
()
People
(Reporter: awillia, Assigned: edenchuang)
References
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36
Steps to reproduce:
Pending an update to the spec [1], calling postMessage on BroadcastChannel objects associated with detached iframes or closing workers should have no effect.
See new tests in [2] for more details.
Related: https://bugzilla.mozilla.org/show_bug.cgi?id=1738161
[1] https://github.com/whatwg/html/issues/7219
[2] https://github.com/web-platform-tests/wpt/pull/31290
Actual results:
BroadcastChannel messages get delivered from detached iframe / closing worker contexts in certain cases.
Expected results:
BroadcastChannel messages get ignored went sent from detached iframe / closing worker contexts.
Assignee | ||
Comment 1•11 months ago
|
||
This would be fixed with bug 1800659.
Comment 2•11 months ago
|
||
(In reply to Eden Chuang[:edenchuang] from comment #1)
This would be fixed with bug 1800659.
Landed, marking fixed.
Description
•