[wpt-sync] Sync PR 54946 - Use Keyboard Lock instead of Web Locks to disable BFCache in tests
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox145 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 54946 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/54946
Details from upstream follow.
Anna Sato <annasato@chromium.org> wrote:
Use Keyboard Lock instead of Web Locks to disable BFCache in tests
This CL switches some BFCache-disabling test helpers to use
navigator.keyboard.lock() instead of navigator.locks.request().With upcoming changes, Web Locks will no longer be a simple
BFCache-blocking feature. The new logic will evict a cached page holding
a lock only when another page requests it.Bug: 443003971
Change-Id: Id9fb00d7b8fef391cb8b5280f22920b59c1d8e59
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6968130
Owners-Override: Fergal Daly \<fergal@google.com>
Reviewed-by: Fergal Daly \<fergal@chromium.org>
Reviewed-by: Mingyu Lei \<leimy@chromium.org>
Commit-Queue: Anna Sato \<annasato@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1517810}
| Assignee | ||
Updated•8 months ago
|
| Assignee | ||
Comment 1•8 months ago
|
||
| Assignee | ||
Comment 2•8 months ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 1 subtests
Status Summary
Firefox
TIMEOUT: 4
Chrome
OK : 2
PASS : 2
Safari
TIMEOUT: 4
Links
Details
New Tests That Don't Pass
- /html/browsers/browsing-the-web/history-traversal/pageswap/pageswap-traverse-navigation-cross-origin-redirect-no-bfcache.https.sub.html [wpt.fyi]:
TIMEOUT(Chrome:OK, Safari:TIMEOUT)- pageswap on traverse navigation from script:
TIMEOUT(Chrome:PASS, Safari:TIMEOUT)
- pageswap on traverse navigation from script:
- /html/browsers/browsing-the-web/history-traversal/pageswap/pageswap-traverse-navigation-no-bfcache.https.html [wpt.fyi]:
TIMEOUT(Chrome:OK, Safari:TIMEOUT)- pageswap on traverse navigation from script:
TIMEOUT(Chrome:PASS, Safari:TIMEOUT)
- pageswap on traverse navigation from script:
Comment 4•8 months ago
|
||
| bugherder | ||
Description
•