blob: 5afe5f1acee983d458e3f49ee3c49f0ef9303489 [file] [log] [blame]
PASS navigator.locks.request requires a name and a callback
FAIL mode must be "shared" or "exclusive" promise_test: Unhandled rejection with value: object "NotSupportedError: The operation is not supported."
PASS The 'steal' and 'ifAvailable' options are mutually exclusive
PASS The 'steal' option must be used with exclusive locks
PASS The 'signal' and 'steal' options are mutually exclusive
PASS The 'signal' and 'ifAvailable' options are mutually exclusive
PASS callback must be a function
FAIL navigator.locks.request's returned promise resolves after lock is released promise_test: Unhandled rejection with value: object "NotSupportedError: The operation is not supported."
FAIL Returned Promise rejects if callback throws synchronously promise_rejects_exactly: result should reject function "function () { throw e }" threw object "NotSupportedError: The operation is not supported." but we expected it to throw object "[object Object]"
FAIL Returned Promise rejects if callback throws asynchronously promise_rejects_exactly: result should reject function "function () { throw e }" threw object "NotSupportedError: The operation is not supported." but we expected it to throw object "[object Object]"