[wpt-sync] Sync PR 35539 - Navigation-rewrite: Test child navigation cancelation
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox106 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Depends on 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 35539 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/35539
Details from upstream follow.
Dominic Farolino <dom@chromium.org> wrote:
Navigation-rewrite: Test child navigation cancelation
This CL adds two navigation cancelation tests:
1.) A parent Document cancels an ongoing navigation in a same-origin
child frame. We assert that no load events are fired in the parent
synchronously
2.) A descendant (grandparent) Document cancels an ongoing navigation
in a cross-origin (grand)child frame. We assert that no load
events are fired in the grandparent synchronously, but that both
the grandparent and parent Documents have their unload events
blocked, even though the grandchild iframe element (which owns the
"subsequent" navigation that its grandparent started) has not
fired its load event in its parent yet.This work is part of the HTML Standard's navigation and session history
rewrite happening in https://github.com/whatwg/html/pull/6315. See https://docs.google.com/document/d/1yxnzjRDVmAR5CC9GcAyY448lBD0u0E98eUEMHDhx1Dw/edit#heading=h.gre3tigel3bw and https://docs.google.com/document/d/1yxnzjRDVmAR5CC9GcAyY448lBD0u0E98eUEMHDhx1Dw/edit#heading=h.o7u949eajh00.See https://crbug.com/XXX for information on why Chrome fails these tests.
Bug: TODO(domfarolino): Before merging, file a bug describing the chrome failures in depth
Change-Id: I4df03a723344a539e676707f32f81e1dd2d474e5Reviewed-on: https://chromium-review.googlesource.com/3840476
WPT-Export-Revision: 640e8e631b1090972fb0496b346a62ff990d7939
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, and Chrome on GitHub CI
Total 2 tests and 1 subtests
Status Summary
Firefox
OK
: 2
FAIL
: 2
Chrome
OK
: 2
FAIL
: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /html/browsers/browsing-the-web/overlapping-navigations-and-traversals/tentative/nav-cancelation-1.html [wpt.fyi]
- parent cancels a pending navigation in a same-origin child:
FAIL
(Chrome:FAIL
)
- parent cancels a pending navigation in a same-origin child:
- /html/browsers/browsing-the-web/overlapping-navigations-and-traversals/tentative/nav-cancelation-2.sub.html [wpt.fyi]
- grandparent cancels a pending navigation in a cross-origin grandchild:
FAIL
(Chrome:FAIL
)
- grandparent cancels a pending navigation in a cross-origin grandchild:
Comment 4•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0282c32725a3
https://hg.mozilla.org/mozilla-central/rev/86a288b60ca8
Description
•