Closed
Bug 1795635
Opened 2 years ago
Closed 2 years ago
[wpt-sync] Sync PR 36488 - Test that javascript: URL navigation does not fire beforeunload
Categories
(Core :: DOM: Core & HTML, task, P4)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
108 Branch
Tracking | Status | |
---|---|---|
firefox108 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 36488 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/36488
Details from upstream follow.
Domenic Denicola <d@domenic.me> wrote:
Test that javascript: URL navigation does not fire beforeunload
The current spec fires beforeunload, but the rewrite in https://github.com/whatwg/html/pull/6315 does not.
Assignee | ||
Updated•2 years ago
|
Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Assignee | ||
Updated•2 years ago
|
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Assignee | ||
Updated•2 years ago
|
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Assignee | ||
Comment 1•2 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=2ef26bdb2ae4c4db1ac56dea3ce332c022bc6365
Assignee | ||
Comment 2•2 years ago
|
||
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
: 4
FAIL
: 4
Chrome
OK
: 1
PASS
: 8
Safari
OK
: 1
PASS
: 8
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
- /html/browsers/browsing-the-web/navigating-across-documents/javascript-url-no-beforeunload.window.html [wpt.fyi]
- Navigating an iframe via location.href to a javascript: URL must not fire beforeunload: string completion:
FAIL
- Navigating an iframe via src="" to a javascript: URL after insertion must not fire beforeunload: string completion:
FAIL
- Navigating an opened window via location.href to a javascript: URL must not fire beforeunload: string completion:
FAIL
- Navigating an opened window with an iframe via location.href to a javascript: URL must not fire beforeunload on the iframe: string completion:
FAIL
- Navigating an iframe via location.href to a javascript: URL must not fire beforeunload: string completion:
New Tests That Don't Pass
- /html/browsers/browsing-the-web/navigating-across-documents/javascript-url-no-beforeunload.window.html [wpt.fyi]
- Navigating an iframe via location.href to a javascript: URL must not fire beforeunload: string completion:
FAIL
(Chrome:PASS
, Safari:PASS
) - Navigating an iframe via src="" to a javascript: URL after insertion must not fire beforeunload: string completion:
FAIL
(Chrome:PASS
, Safari:PASS
) - Navigating an opened window via location.href to a javascript: URL must not fire beforeunload: string completion:
FAIL
(Chrome:PASS
, Safari:PASS
) - Navigating an opened window with an iframe via location.href to a javascript: URL must not fire beforeunload on the iframe: string completion:
FAIL
(Chrome:PASS
, Safari:PASS
)
- Navigating an iframe via location.href to a javascript: URL must not fire beforeunload: string completion:
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8668168a5448
[wpt PR 36488] - Test that javascript: URL navigation does not fire beforeunload, a=testonly
https://hg.mozilla.org/integration/autoland/rev/63cfa4506647
[wpt PR 36488] - Update wpt metadata, a=testonly
Comment 4•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/8668168a5448
https://hg.mozilla.org/mozilla-central/rev/63cfa4506647
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox108:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•