Click here to download the Blitz Browser!

WPT

wpt / web-locks / acquire.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
Total11/1111/1111/1111/110/11NOT RUN
SubtestChromeFirefoxSafariLadybirdServoBlitz
navigator.locks.request requires a name and a callbackPASSPASSPASSPASSFAIL
mode must be "shared" or "exclusive"PASSPASSPASSPASSFAIL
The 'steal' and 'ifAvailable' options are mutually exclusivePASSPASSPASSPASSFAIL
The 'steal' option must be used with exclusive locksPASSPASSPASSPASSFAIL
The 'signal' and 'steal' options are mutually exclusivePASSPASSPASSPASSFAIL
The 'signal' and 'ifAvailable' options are mutually exclusivePASSPASSPASSPASSFAIL
callback must be a functionPASSPASSPASSPASSFAIL
navigator.locks.request's returned promise resolves after lock is releasedPASSPASSPASSPASSFAIL
Returned Promise rejects if callback throws synchronouslyPASSPASSPASSPASSFAIL
Returned Promise rejects if callback throws asynchronouslyPASSPASSPASSPASSFAIL
If callback throws a thenable, its then() should not be invokedPASSPASSPASSPASSFAIL