Commit fc0e6aa
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 <[email protected]>
Reviewed-by: Marijn Kruisselbrink <[email protected]>
Commit-Queue: Xiaohan Zhao <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1407002}1 parent e25c879 commit fc0e6aa
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
0 commit comments