[wpt-sync] Sync PR 50538 - Navigation API: window.stop() after-transition traversal should actually block the traversal
Categories
(Core :: DOM: Navigation, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox137 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 50538 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/50538
Details from upstream follow.
Nate Chapin <japhet@chromium.org> wrote:
Navigation API: window.stop() after-transition traversal should actually block the traversal
If a traversal is intercepted by the navigate event, and the
intercept() sets { commit: 'after-transition' } (which defers
commit), and the navigation is aborted via window.stop() or the UI
stop button before the traversal is committed, the browser session
history and the navigation API view of the session history will get
out of sync (the browser will have its offset as though the
traversal committed, but the commit didn't happen and the navigation
API does not update its current position).Fixed: 394772469
Change-Id: I2ab67c7d6b5f0116dde98c5196e0ff0822a2c15e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6227767
Reviewed-by: Domenic Denicola \<domenic@chromium.org>
Reviewed-by: Charlie Reis \<creis@chromium.org>
Commit-Queue: Nate Chapin \<japhet@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1416923}
Assignee | ||
Updated•2 months ago
|
Assignee | ||
Comment 1•2 months ago
|
||
Assignee | ||
Comment 2•2 months ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 1 subtests
Status Summary
Firefox
OK
: 1
FAIL
: 1
Chrome
CRASH
: 1
Safari
OK
: 1
FAIL
: 1
Links
Details
New Tests That Don't Pass
- /navigation-api/commit-behavior/after-transition-traversal-window-stop-before-commit.html [wpt.fyi]
- { commit: 'after-transition' } traverse with window.stop() before commit:
FAIL
(Safari:FAIL
)
- { commit: 'after-transition' } traverse with window.stop() before commit:
Description
•