[wpt-sync] Sync PR 33479 - Close a MessagePort if it is created in a destroyed context.
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox101 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 33479 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/33479
Details from upstream follow.
Marijn Kruisselbrink <mek@chromium.org> wrote:
Close a MessagePort if it is created in a destroyed context.
MessagePort assumes it is only destroyed either after ContextDestroyed,
or after the port has been closed explicitly. As it turns out ports that
were created in an already detached iframe would violate this invariant,
causing issues.Bug: 1228661
Change-Id: Ib1abce15f1d1d15f044de19fe0534767db488af0
Reviewed-on: https://chromium-review.googlesource.com/3561845
WPT-Export-Revision: 5303f9517eae0e97f9d5d39f8a90f3bd622f5e58
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=b823fce62a8b5df53177148c103ad08f828e6b8b
Assignee | ||
Comment 2•2 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 2 subtests
Status Summary
Firefox
OK : 1
PASS: 2
Chrome
OK : 1
PASS: 2
Safari
OK : 1
PASS: 2
Links
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3db032ff3414 [wpt PR 33479] - Close a MessagePort if it is created in a destroyed context., a=testonly
Comment 4•2 years ago
|
||
bugherder |
Description
•