Bug 1770024 [wpt PR 34115] - FSA: Reject with NoModificationAllowedError if AccessHan...
commit377b7c8e05be7192353e3bc2df8b264cbee3971a
authorAustin Sullivan <asully@chromium.org>
Mon, 23 May 2022 10:02:07 +0000 (23 10:02 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Tue, 24 May 2022 10:13:39 +0000 (24 10:13 +0000)
tree6582b0f9fcf68e24df2a1498b78bb446739919f0
parent528d960faf36525ac0f183acb9b5437aae69f589
Bug 1770024 [wpt PR 34115] - FSA: Reject with NoModificationAllowedError if AccessHandle is locked, a=testonly

Automatic update from web-platform-tests
FSA: Reject with NoModificationAllowedError if AccessHandle is locked

Spec PR: https://github.com/whatwg/fs/pull/21
Comment: https://github.com/whatwg/fs/pull/21/files#r876204287

Updates the implementation to match the spec and to match other cases
where we reject a promise because of a locked file.

Bug: N/A
Change-Id: I201fa40a866ecace62c6fe77ad70cffce57c2553
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3653903
Reviewed-by: Marijn Kruisselbrink <mek@chromium.org>
Auto-Submit: Austin Sullivan <asully@chromium.org>
Commit-Queue: Marijn Kruisselbrink <mek@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1005103}

--

wpt-commits: cc1e80e5a204d08eeba36a2bd29f206f3d7f8948
wpt-pr: 34115
testing/web-platform/tests/fs/FileSystemFileHandle-sync-access-handle-writable-lock.https.tentative.worker.js