Skip to content

Conversation

@chromium-wpt-export-bot
Copy link
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Sep 9, 2022

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 <[email protected]>
Commit-Queue: Austin Sullivan <[email protected]>
Reviewed-by: Emily Stark <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1059125}

Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Chromium project.

@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-3877252 branch 2 times, most recently from 5567f09 to b8c24dc Compare October 13, 2022 16:45
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 <[email protected]>
Commit-Queue: Austin Sullivan <[email protected]>
Reviewed-by: Emily Stark <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1059125}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants