Closed Bug 2068969 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 62385 - WPT: Fix navigation-during-beforeunload test

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
158 Branch
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}

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

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

Tests Disabled in Gecko Infrastructure

Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 158 Branch
You need to log in before you can comment on or make changes to this bug.