[wpt-sync] Sync PR 50112 - FS: Recursive RemoveEntry for non-existent handle throws NotFoundError.
Categories
(Core :: DOM: File, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox136 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 50112 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/50112
Details from upstream follow.
Xiaohan Zhao <xiaohanzhao@microsoft.com> wrote:
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/5990675
WPT-Export-Revision: 8d453aeb8b06fcc9ed962cf6e9c83635ce504209
Assignee | ||
Updated•1 month ago
|
Assignee | ||
Comment 1•1 month ago
|
||
Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, and Chrome on GitHub CI
Total 2 tests and 13 subtests
Status Summary
Firefox
OK
: 2
PASS
: 24
FAIL
: 2
Chrome
OK
: 2
PASS
: 24
FAIL
: 2
Links
Details
New Tests That Don't Pass
- /fs/FileSystemDirectoryHandle-removeEntry.https.any.html [wpt.fyi]
- removeEntry() with a path separator should fail.:
FAIL
(Chrome:PASS
)
- removeEntry() with a path separator should fail.:
- /fs/FileSystemDirectoryHandle-removeEntry.https.any.worker.html [wpt.fyi]
- removeEntry() with a path separator should fail.:
FAIL
(Chrome:PASS
)
- removeEntry() with a path separator should fail.:
Comment 4•1 month ago
|
||
bugherder |
Description
•