[wpt-sync] Sync PR 27759 - [CrossOriginIsolation] Fix failed navigation leads to browser crash
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox88 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 27759 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/27759
Details from upstream follow.
b'P\xc3\xa2ris MEULEMAN <pmeuleman@chromium.org>' wrote:
[CrossOriginIsolation] Fix failed navigation leads to browser crash
The change in the COOP WPT lead to a crash:
- main frame is cross origin isolated, with COOP same-origin and COEP
require-corp.- sandboxed iframe opens a popup.
- popup navigates from about:blank document to a document with COOP set.
- the last navigation fails: the popup main frame has sandbox flags,
which is incompatible with COOP.- while determining the site-instance for the failed navigation, the
browser crashes in
content::RenderFrameHostManager::ConvertToSiteInstanceThe suggested fix here, is to apply the same behavior as for speculative
cases during failures.Bug: 1181673
Fixed: 1181673Change-Id: Iaef658778ac25da0c84763b6115ff40c105e618a
Reviewed-on: https://chromium-review.googlesource.com/2712945
WPT-Export-Revision: 72a21ef16848a538ce0745a81f3fa74bbc547b25
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=3e11b782c00672ee8659fe52f6bd41d06d1f28f7
Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 15 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 4 subtests
Status Summary
Firefox
OK : 1
PASS : 4
Chrome
ERROR: 1
Safari
OK : 1
FAIL : 4
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/html/cross-origin-opener-policy/coop-coep-sandbox.https.html: OK [Gecko-linux1804-64-debug
, Gecko-linux1804-64-opt
, Gecko-linux1804-64-qr-debug
, Gecko-linux1804-64-qr-opt
, Gecko-linux1804-64-tsan-opt
, Gecko-windows10-64-debug
, Gecko-windows10-64-opt
, Gecko-windows10-64-qr-debug
, Gecko-windows10-64-qr-opt
, Gecko-windows7-32-debug
, Gecko-windows7-32-opt
, GitHub
], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview
, Gecko-android-em-7.0-x86_64-opt-geckoview
, Gecko-android-em-7.0-x86_64-qr-debug-geckoview
, Gecko-android-em-7.0-x86_64-qr-opt-geckoview
] (Chrome: ERROR, Safari: OK)
Tests Disabled in Gecko Infrastructure
/html/cross-origin-opener-policy/coop-coep-sandbox.https.html: OK [Gecko-linux1804-64-debug
, Gecko-linux1804-64-opt
, Gecko-linux1804-64-qr-debug
, Gecko-linux1804-64-qr-opt
, Gecko-linux1804-64-tsan-opt
, Gecko-windows10-64-debug
, Gecko-windows10-64-opt
, Gecko-windows10-64-qr-debug
, Gecko-windows10-64-qr-opt
, Gecko-windows7-32-debug
, Gecko-windows7-32-opt
, GitHub
], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview
, Gecko-android-em-7.0-x86_64-opt-geckoview
, Gecko-android-em-7.0-x86_64-qr-debug-geckoview
, Gecko-android-em-7.0-x86_64-qr-opt-geckoview
] (Chrome: ERROR, Safari: OK)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0efa0870799c [wpt PR 27759] - [COOP] Fix noopener not being applied to same-origin-plus-coep cases, a=testonly
Comment 4•3 years ago
|
||
bugherder |
Description
•