Closed Bug 1869730 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 43645 - Replace unload with pagehide in a web test

Categories

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

task

Tracking

()

RESOLVED FIXED
122 Branch
Tracking Status
firefox122 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 43645 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/43645
Details from upstream follow.

Kurumi Muto <mkurumi@google.com> wrote:

Replace unload with pagehide in a web test

It is safe to replace unload with pagehide in this test because the purpose of the test is to check certain attributes before a window closes, and the event pagehide is fired before a window closes as well as unload.

Change-Id: Ice2be8d612cbd1c6a21b36f659d0bacbd70e3ce8

Reviewed-on: https://chromium-review.googlesource.com/5118201
WPT-Export-Revision: bb4200638ccda0879167e9a7a841f7a0ba962acd

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 1 tests and 8 subtests

Status Summary

Firefox

OK : 1
PASS: 8

Chrome

OK : 1
PASS: 8

Safari

OK : 1
PASS: 8

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c0f60516eaf9 [wpt PR 43645] - Replace unload with pagehide in a web test, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 122 Branch
You need to log in before you can comment on or make changes to this bug.