Click here to download the Blitz Browser!

WPT

wpt / web-locks / ifAvailable.https.any.serviceworker.html

Spec: Web Locks API ↗

Runs: Chrome 155.0.8039.0 (wpt@6ec9fd59f, 2026-09-03) | Firefox 157.0a1 (wpt@6ec9fd59f, 2026-09-03) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-795e1 (wpt@7e3d005d7, 2026-09-03) | Servo Servo 0.6 (wpt@09159dcb3, 2026-09-02) | Blitz 188486089 (wpt@a95401e4e, 2026-09-02)

View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi

ChromeFirefoxSafariLadybirdServoBlitz
Total10/1010/1010/100/100/10NOT RUN
SubtestChromeFirefoxSafariLadybirdServoBlitz
Lock request with ifAvailable - lock availablePASSPASSPASS
Lock request with ifAvailable - lock not availablePASSPASSPASS
Lock request with ifAvailable - lock not available, callback throwsPASSPASSPASS
Lock request with ifAvailable - unrelated lock heldPASSPASSPASS
Shared lock request with ifAvailable - shared lock heldPASSPASSPASS
Exclusive lock request with ifAvailable - shared lock heldPASSPASSPASS
Shared lock request with ifAvailable - exclusive lock heldPASSPASSPASS
Returned Promise rejects if callback throws synchronouslyPASSPASSPASS
Returned Promise rejects if async callback yields rejected promisePASSPASSPASS
Locks are available once previous release is processedPASSPASSPASS