[wpt-sync] Sync PR 64293 - [bfcache] Reland WPT test for WebLocks grant to a worker in BFCache
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 64293 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64293
Details from upstream follow.
Eriko Kurimoto <elkurin@chromium.org> wrote:
[bfcache] Reland WPT test for WebLocks grant to a worker in BFCache
https://crrev.com/c/7894097 added a WPT test verifying that a WebLock
granted to a dedicated worker in BFCache has its callback deferred
until the page is restored from BFCache, and was later reverted in
https://crrev.com/c/8274931 due to an Android WebView regression.Now that https://crrev.com/c/8526329 routes TaskType::kWebLocks to the
pausable task queue on frames and workers, reland the WPT test to
provide end-to-end BFCache coverage for dedicated workers.Bug: 511277457
Change-Id: I5112774570000000000000000000000000000001Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8667767
Commit-Queue: Eriko Kurimoto \<elkurin@chromium.org>
Reviewed-by: Ming-Ying Chung \<mych@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1728843}
| Assignee | ||
Updated•19 days ago
|
| Assignee | ||
Updated•13 days ago
|
| Assignee | ||
Updated•10 days ago
|
| Assignee | ||
Comment 1•10 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=116310
| Assignee | ||
Comment 2•9 days ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 23 tests and 1 subtests
Status Summary
Firefox
OK : 1[GitHub] 21[Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-opt] 22[Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-64-25h2-debug] 23[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]
PASS : 18[Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-opt] 19[Gecko-windows11-32-25h2-debug, Gecko-windows11-64-25h2-debug] 20[Gecko-linux2404-64-opt] 21[Gecko-linux2404-64-debug] 22[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]
FAIL : 2
PRECONDITION_FAILED: 1[GitHub] 12[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] 13[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]
TIMEOUT : 2
Chrome
OK : 1
PASS : 1
Safari
OK : 1
PASS : 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
- /html/browsers/browsing-the-web/back-forward-cache/weblocks-worker.https.window.html [wpt.fyi]
- WebLocks grant to worker in BFCache is deferred:
PRECONDITION_FAILED
- WebLocks grant to worker in BFCache is deferred:
New Tests That Don't Pass
- /html/browsers/browsing-the-web/back-forward-cache/eligibility/broadcast-channel.html [wpt.fyi]:
OK[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],SKIP[Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],TIMEOUT[Gecko-linux2404-64-opt]- Eligibility (BroadcastChannel closed in the pagehide event):
PASS[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],TIMEOUT[Gecko-linux2404-64-opt]
- Eligibility (BroadcastChannel closed in the pagehide event):
- /html/browsers/browsing-the-web/back-forward-cache/broadcastchannel/dedicatedworker.tentative.window.html [wpt.fyi]:
OK[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-64-25h2-debug],SKIP[Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt] - /html/browsers/browsing-the-web/back-forward-cache/eligibility/inflight-fetch-1.html [wpt.fyi]
- Eligibility (in-flight fetch): Header received before BFCache and body received when in BFCache:
PRECONDITION_FAILED - Eligibility (in-flight fetch): Header received before BFCache and body received after BFCache:
PRECONDITION_FAILED
- Eligibility (in-flight fetch): Header received before BFCache and body received when in BFCache:
- /html/browsers/browsing-the-web/back-forward-cache/eligibility/inflight-fetch-2.html [wpt.fyi]
- Eligibility (in-flight fetch): Header and body received when in BFCache:
PRECONDITION_FAILED - Eligibility (in-flight fetch): Header received when in BFCache and body received after BFCache:
PRECONDITION_FAILED - Eligibility (in-flight fetch): Header and body received after BFCache:
PRECONDITION_FAILED
- Eligibility (in-flight fetch): Header and body received when in BFCache:
- /html/browsers/browsing-the-web/back-forward-cache/eligibility/inflight-fetch-cors.html [wpt.fyi]
- Eligibility (in-flight fetch): CORS succeeded when in BFCache:
PRECONDITION_FAILED - Eligibility (in-flight fetch): CORS failed when in BFCache:
PRECONDITION_FAILED
- Eligibility (in-flight fetch): CORS succeeded when in BFCache:
- /html/browsers/browsing-the-web/back-forward-cache/eligibility/inflight-fetch-redirects.html [wpt.fyi]
- Eligibility (in-flight fetch): Redirect header received when in BFCache:
PRECONDITION_FAILED - Eligibility (in-flight fetch): Redirect header received when in BFCache w/ CSP passing:
PRECONDITION_FAILED - Eligibility (in-flight fetch): Cross-origin redirect header received when in BFCache:
PRECONDITION_FAILED - Eligibility (in-flight fetch): Cross-origin redirect header received when in BFCache w/ CSP failing:
PRECONDITION_FAILED
- Eligibility (in-flight fetch): Redirect header received when in BFCache:
- /html/browsers/browsing-the-web/back-forward-cache/events.html [wpt.fyi]
- unload:
PASS[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],PRECONDITION_FAILED[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]
- unload:
- /html/browsers/browsing-the-web/back-forward-cache/focus.html [wpt.fyi]
- Focus should be kept when page gets into and out of BFCache:
FAIL
- Focus should be kept when page gets into and out of BFCache:
- /html/browsers/browsing-the-web/back-forward-cache/pushstate.https.html [wpt.fyi]
- back navigation to pushState()d page (not in BFCache):
FAIL
- back navigation to pushState()d page (not in BFCache):
- /html/browsers/browsing-the-web/back-forward-cache/weblocks-worker.https.window.html [wpt.fyi]
- WebLocks grant to worker in BFCache is deferred:
PRECONDITION_FAILED(Chrome:PASS, Safari:PASS)
- WebLocks grant to worker in BFCache is deferred:
Tests Disabled in Gecko Infrastructure
- /html/browsers/browsing-the-web/back-forward-cache/eligibility/broadcast-channel.html [wpt.fyi]:
OK[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],SKIP[Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],TIMEOUT[Gecko-linux2404-64-opt] - /html/browsers/browsing-the-web/back-forward-cache/broadcastchannel/dedicatedworker.tentative.window.html [wpt.fyi]:
OK[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-64-25h2-debug],SKIP[Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt]
Comment 4•4 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/362bcde6a99d
https://hg.mozilla.org/mozilla-central/rev/8e8e32ebcdd3
Description
•