
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}