Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add algorithms for a couple more methods. #168

Merged
merged 3 commits into from
Apr 15, 2020
Merged

Conversation

mkruisselbrink
Copy link
Contributor

@mkruisselbrink mkruisselbrink commented Apr 9, 2020

Fixes #68


Preview | Diff

Copy link
Collaborator

@pwnall pwnall left a comment

Choose a reason for hiding this comment

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

LGTM w/ comments addressed. Thank you for fleshing out the spec!

index.bs Outdated
1. If |name| contains '/' or any other character used as path separator on the underlying
platform, [=/reject=] |result| with a {{TypeError}} and abort.

Note: This means that '\' is not allowed in names on Windows, but might be allowed on
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we want to call out what happens with : on Mac?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

What happens or what should happen? "" is the only thing we treat separately in our implementation at least. There are going to be a lot more characters that aren't allowed depending on underlying file system, which I tried to clarify in a non-normative note next to my new definition of "valid file name". Not calling out ";" on mac specifically, although perhaps I should?

index.bs Show resolved Hide resolved
index.bs Outdated Show resolved Hide resolved
index.bs Outdated Show resolved Hide resolved
@mkruisselbrink mkruisselbrink merged commit ab36e38 into master Apr 15, 2020
@mkruisselbrink mkruisselbrink deleted the more-algorithms branch April 17, 2020 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The getFileHandle() and getDirectoryHandle method can reject, but how and with what exception
2 participants