WPT
wpt / web-locks / acquire.https.any.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-8f0a1 (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
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 11/11 | 11/11 | 11/11 | 11/11 | 0/11 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| navigator.locks.request requires a name and a callback | PASS | PASS | PASS | PASS | FAIL | — |
| mode must be "shared" or "exclusive" | PASS | PASS | PASS | PASS | FAIL | — |
| The 'steal' and 'ifAvailable' options are mutually exclusive | PASS | PASS | PASS | PASS | FAIL | — |
| The 'steal' option must be used with exclusive locks | PASS | PASS | PASS | PASS | FAIL | — |
| The 'signal' and 'steal' options are mutually exclusive | PASS | PASS | PASS | PASS | FAIL | — |
| The 'signal' and 'ifAvailable' options are mutually exclusive | PASS | PASS | PASS | PASS | FAIL | — |
| callback must be a function | PASS | PASS | PASS | PASS | FAIL | — |
| navigator.locks.request's returned promise resolves after lock is released | PASS | PASS | PASS | PASS | FAIL | — |
| Returned Promise rejects if callback throws synchronously | PASS | PASS | PASS | PASS | FAIL | — |
| Returned Promise rejects if callback throws asynchronously | PASS | PASS | PASS | PASS | FAIL | — |
| If callback throws a thenable, its then() should not be invoked | PASS | PASS | PASS | PASS | FAIL | — |