[wpt-sync] Sync PR 62385 - WPT: Fix navigation-during-beforeunload test
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox158 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 62385 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/62385
Details from upstream follow.
Dominic Farolino <dom@chromium.org> wrote:
WPT: Fix navigation-during-beforeunload test
https://wpt.fyi/results/html/browsers/browsing-the-web/unloading-documents/navigation-during-beforeunload.html
shows that WebKit (Safari Tech Preview) passes all three tests. But on
older versions of WebKit that failed, the first hits a test harness
timeout, and the other two tests don't run.This PR makes the first test fail more reasonably in broken
implementations (now, old versions of Safari). This was discovered in
https://github.com/whatwg/html/issues/12800, and all of this is subject
to change in the resolution of that issue.R=nrosenthal
Bug: N/A
Change-Id: Iac34406a7323f7280029638db604e4c3da6b638e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8314432
Reviewed-by: Noam Rosenthal \<nrosenthal@google.com>
Commit-Queue: Dominic Farolino \<dom@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1690719}
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=3ed88ccd259dc11255f50a1d9a8858799baf8585
| Assignee | ||
Comment 2•2 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 30 tests and 1 subtests
Status Summary
Firefox
OK : 1[GitHub] 28[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 29[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 3[GitHub] 48[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 49[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 3
Chrome
OK : 1
PASS: 3
Safari
OK : 1
PASS: 3
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /html/browsers/browsing-the-web/unloading-documents/005.html [wpt.fyi]:
OK[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview] - /html/browsers/browsing-the-web/unloading-documents/prompt-and-unload-script-closeable.html [wpt.fyi]:
SKIP - /html/browsers/browsing-the-web/unloading-documents/004.html [wpt.fyi]
- document.open in beforeunload with button:
FAIL
- document.open in beforeunload with button:
- /html/browsers/browsing-the-web/unloading-documents/prompt/001.html [wpt.fyi]
- beforeunload event order:
FAIL
- beforeunload event order:
- /html/browsers/browsing-the-web/unloading-documents/unload/003.html [wpt.fyi]
- unload event properties:
FAIL
- unload event properties:
Tests Disabled in Gecko Infrastructure
- /html/browsers/browsing-the-web/unloading-documents/005.html [wpt.fyi]:
OK[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview] - /html/browsers/browsing-the-web/unloading-documents/prompt-and-unload-script-closeable.html [wpt.fyi]:
SKIP
Comment 4•2 months ago
|
||
| bugherder | ||
Description
•