-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move("") rejects with a TypeError, while move(dir, "") succeeds (by ignoring the second arg). Make this consistent by always rejecting if there's an invalid name, as specified in https://wicg.github.io/file-system-access/#valid-file-name See whatwg/fs#10 (comment) Bug: 1327741 Change-Id: Ifd8457df05aad7f75007ff5eece6237a09098a94 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3877252 Reviewed-by: Ayu Ishii <ayui@chromium.org> Commit-Queue: Austin Sullivan <asully@chromium.org> Reviewed-by: Emily Stark <estark@chromium.org> Cr-Commit-Position: refs/heads/main@{#1059125}
- Loading branch information
1 parent
2ee2935
commit 27c816e
Showing
1 changed file
with
4 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters