Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1806016 [wpt PR 37535] - Web Locks: If aborted due to an AbortSig…
…nal, use signal's reason, a=testonly Automatic update from web-platform-tests Web Locks: If aborted due to an AbortSignal, use signal's reason Updated in the spec a year ago[1], if the AbortSignal has a reason, use that as the rejection, rather than a stock AbortError w/ hardcoded message. The WPTs didn't cover verifying the reason for an already-aborted signal, so add coverage for those cases too. [1] w3c/web-locks#86 Bug: 1279877 Change-Id: I9838805b10dbb3dae0371abe41faf922344a43f3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4112925 Reviewed-by: Ayu Ishii <ayui@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Joshua Bell <jsbell@chromium.org> Cr-Commit-Position: refs/heads/main@{#1084556} -- wpt-commits: 9ce4a6482a088da3d74f895d8ad15c5ce0c25d28 wpt-pr: 37535
- Loading branch information