Files
tubestation/testing/web-platform/tests/fs
Xiaohan Zhao fda38f19d5 Bug 1941946 [wpt PR 50112] - FS: Recursive RemoveEntry for non-existent handle throws NotFoundError., a=testonly
Automatic update from web-platform-tests
FS: Recursive RemoveEntry for non-existent handle throws NotFoundError.

This change ensures that FileSystemDirectoryHandle.removeEntry throws a
'NotFoundError' DOMException when attempting to remove a non-existent
entry with recursive set to true. Previously, it returned undefined
instead of throwing the expected DOMException.

Bug: 362301049
Change-Id: I17873135fade0f25068fcbca53ed9faf0a363ee3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5990675
Reviewed-by: François Degros <fdegros@chromium.org>
Reviewed-by: Marijn Kruisselbrink <mek@chromium.org>
Commit-Queue: Xiaohan Zhao <xiaohanzhao@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1407002}

--

wpt-commits: fc0e6aa41f753df6c8a0e1be112ecdd96be0d9f6
wpt-pr: 50112
2025-01-20 08:36:28 +00:00
..

This directory contains tests for the File System specification.