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

File state => Otherwise is written really confusingly #69

Closed
Sebmaster opened this issue Aug 30, 2015 · 2 comments
Closed

File state => Otherwise is written really confusingly #69

Sebmaster opened this issue Aug 30, 2015 · 2 comments

Comments

@Sebmaster
Copy link

https://url.spec.whatwg.org/#file-state => Otherwise => step 1

From what I gathered: we have 3 conditions, they are all ORed, so:
Making one case "remaining consists of one code point" and another case "remaining’s second code point is not one of "/", "", "?", and "#"" is unnecessary. The latter will never be true without the former also being true, so we don't have to check for it explicitly, which leads me to believe that something about these conditions is wrong.

@annevk
Copy link
Member

annevk commented Aug 30, 2015

How can we check for the second code point if there's not at least two code points?

@Sebmaster
Copy link
Author

Oh wait I think I constantly misread the first part. I was always under the impression that it was at least 1 codepoint. We're good then 😕

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants