- 
                Notifications
    
You must be signed in to change notification settings  - Fork 155
 
Open
Description
What is the issue with the URL Standard?
https://url.spec.whatwg.org/#ends-in-a-number-checker
This can only be true if the input is the empty string. However, the empty string is never fed to the "ends in a number checker":
- https://url.spec.whatwg.org/#ref-for-ends-in-a-number-checker call site only feeds it the result of "domain to ASCII"
 - https://url.spec.whatwg.org/#concept-domain-to-ascii asserts that the result is not the empty string before returning.
 
Transforming this branch into an assert might be good. Or, if we want to keep the "ends in a number checker" generic, maybe a note explaining this would be good.
(Found while working on jsdom/whatwg-url#268)
Metadata
Metadata
Assignees
Labels
No labels