Open Bug 2012037 Opened 20 hours ago Updated 20 hours ago

[wpt-sync] Sync PR 57271 - [WebLocks] Update BFCache WPTs to verify eviction on lock contention

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(Not tracked)

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 57271 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/57271
Details from upstream follow.

Anna Sato <annasato@chromium.org> wrote:

[WebLocks] Update BFCache WPTs to verify eviction on lock contention

This CL adds WPTs to verify if pages are evicted from BFCache when a
held Web Lock is contended, covering main thread, worker, nested worker,
and shared worker contexts.

Change-Id: Icb5f69659627451ebe0c1e7b54d7de082ae19115
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7248286
Reviewed-by: Fergal Daly \<fergal@chromium.org>
Commit-Queue: Anna Sato \<annasato@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1572735}

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 13 tests and 2 subtests

Status Summary

Firefox

OK : 12[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-linux2404-64-debug, Gecko-windows11-32-24h2-debug, Gecko-windows11-64-24h2-debug] 13[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-opt, Gecko-windows11-32-24h2-opt, Gecko-windows11-64-24h2-opt, GitHub]
PASS : 16[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-linux2404-64-debug, Gecko-windows11-32-24h2-debug, Gecko-windows11-64-24h2-debug] 18[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-opt, Gecko-windows11-32-24h2-opt, Gecko-windows11-64-24h2-opt, GitHub]
PRECONDITION_FAILED: 7

Chrome

OK : 12
PASS : 13
PRECONDITION_FAILED: 8
TIMEOUT : 2
NOTRUN : 3

Safari

OK : 10
PASS : 15
FAIL : 7
TIMEOUT : 6

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /web-locks/bfcache/held.tentative.https.html [wpt.fyi]
    • A held lock on the main thread should not prevent bfcache: PRECONDITION_FAILED (Chrome: PRECONDITION_FAILED, Safari: PASS)
    • A held lock on a worker should not prevent bfcache: PRECONDITION_FAILED (Chrome: PRECONDITION_FAILED, Safari: PASS)
    • A held lock on a nested worker should not prevent bfcache: PRECONDITION_FAILED (Chrome: PRECONDITION_FAILED, Safari: PASS)
    • A held lock on a shared worker should not prevent bfcache: PRECONDITION_FAILED (Chrome: PRECONDITION_FAILED, Safari: PASS)
  • /web-locks/bfcache/release-across-thread.tentative.https.html [wpt.fyi]
    • A held lock on main thread should not prevent bfcache even after worker releases locks: PRECONDITION_FAILED (Chrome: PRECONDITION_FAILED, Safari: PASS)
    • A held lock on worker should not prevent bfcache even after main thread releases locks: PRECONDITION_FAILED (Chrome: PRECONDITION_FAILED, Safari: PASS)
    • A held lock on shared worker should not prevent bfcache even after main thread releases locks: PRECONDITION_FAILED (Chrome: PRECONDITION_FAILED, Safari: PASS)
  • /web-locks/bfcache/sharedworker-multiple.tentative.https.html [wpt.fyi]: OK [Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-opt, Gecko-windows11-32-24h2-opt, Gecko-windows11-64-24h2-opt, GitHub], SKIP [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-linux2404-64-debug, Gecko-windows11-32-24h2-debug, Gecko-windows11-64-24h2-debug] (Chrome: OK, Safari: OK)

Tests Disabled in Gecko Infrastructure

  • /web-locks/bfcache/sharedworker-multiple.tentative.https.html [wpt.fyi]: OK [Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-opt, Gecko-windows11-32-24h2-opt, Gecko-windows11-64-24h2-opt, GitHub], SKIP [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-linux2404-64-debug, Gecko-windows11-32-24h2-debug, Gecko-windows11-64-24h2-debug] (Chrome: OK, Safari: OK)
You need to log in before you can comment on or make changes to this bug.