Click here to download the Blitz Browser!

WPT

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

Spec: Web Locks API ↗

Runs: Chrome 154.0.8037.0 (wpt@98a70a0c5) | Firefox 157.0a1 (wpt@318cbb466) | Safari 251 preview (wpt@5ce815a83) | Ladybird 1.0-0cc87 (wpt@ae6982b12) | Servo Servo 0.5 (wpt@2ccd2cbf8) | Blitz 4dcc855ce (wpt@a95401e4e)

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

ChromeFirefoxSafariLadybirdServoBlitz
Total10/1010/1010/1010/100/10NOT RUN
SubtestChromeFirefoxSafariLadybirdServoBlitz
Lock request with ifAvailable - lock availablePASSPASSPASSPASSFAIL
Lock request with ifAvailable - lock not availablePASSPASSPASSPASSFAIL
Lock request with ifAvailable - lock not available, callback throwsPASSPASSPASSPASSFAIL
Lock request with ifAvailable - unrelated lock heldPASSPASSPASSPASSFAIL
Shared lock request with ifAvailable - shared lock heldPASSPASSPASSPASSFAIL
Exclusive lock request with ifAvailable - shared lock heldPASSPASSPASSPASSFAIL
Shared lock request with ifAvailable - exclusive lock heldPASSPASSPASSPASSFAIL
Returned Promise rejects if callback throws synchronouslyPASSPASSPASSPASSFAIL
Returned Promise rejects if async callback yields rejected promisePASSPASSPASSPASSFAIL
Locks are available once previous release is processedPASSPASSPASSPASSFAIL