[wpt-sync] Sync PR 60420 - Delay NavigationAPI restore callback after execution context resume
Categories
(Core :: DOM: Navigation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox154 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 60420 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/60420
Details from upstream follow.
Yuzu Saijo <yuzus@google.com> wrote:
Delay NavigationAPI restore callback after execution context resume
This CL delays NavigationAPI's restore callback timing, triggered by
bfcache restore, after the execution context resumes.It used to run when the execution context is frozen. JavaScript
execution while frozen is not safe and should be avoided.Bug:520233115
Change-Id: I888ea7f63364b2cb1fcff05d885465d86d506766
Reviewed-on: https://chromium-review.googlesource.com/7901435
WPT-Export-Revision: dae1a27f9b227a582a4cc47c6b7bb738d37cf4b1
| Assignee | ||
Updated•3 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=8696508ecb84be5d184b92dd69606fb226ffde5e
| Assignee | ||
Comment 2•2 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 10 tests and 1 subtests
Status Summary
Firefox
OK : 1
FAIL: 1
Chrome
OK : 1
PASS: 1
Safari
OK : 1
FAIL: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /navigation-api/navigate-event/defer/tentative/defer-after-dispatch.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/defer/tentative/defer-back.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/defer/tentative/defer-cross-origin.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/defer/tentative/defer-restore-callback-abort.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/defer/tentative/defer-same-document.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/defer/tentative/defer-with-multiple-handlers-and-single-reject.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/defer/tentative/defer-with-multiple-handlers.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/defer/tentative/defer-with-single-handler-reject.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/defer/tentative/defer-with-single-handler.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/defer/tentative/restore-after-bfcache.html [wpt.fyi]:
OK[GitHub],SKIP[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,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] (Chrome:OK, Safari:OK)- entries() must contain the forward-history page after navigating back to a bfcached page:
FAIL(Chrome:PASS, Safari:FAIL)
- entries() must contain the forward-history page after navigating back to a bfcached page:
Tests Disabled in Gecko Infrastructure
- /navigation-api/navigate-event/defer/tentative/defer-after-dispatch.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/defer/tentative/defer-back.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/defer/tentative/defer-cross-origin.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/defer/tentative/defer-restore-callback-abort.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/defer/tentative/defer-same-document.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/defer/tentative/defer-with-multiple-handlers-and-single-reject.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/defer/tentative/defer-with-multiple-handlers.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/defer/tentative/defer-with-single-handler-reject.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/defer/tentative/defer-with-single-handler.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/defer/tentative/restore-after-bfcache.html [wpt.fyi]:
OK[GitHub],SKIP[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,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] (Chrome:OK, Safari:OK)
Comment 4•2 months ago
|
||
| bugherder | ||
Description
•