Re: [whatwg/url] Named validation errors (#502)

I think the `missing-credentials` error is incorrect. That error occurs if there is an `@` but no host. `https://@test.com` should not cause the parser to fail, but `https://username:password@` should (and does, in the Live URL viewer in Safari 13).

Perhaps it should be replaced by something like 'unexpected credentials without host' (similar to 'unexpected port without host')?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/pull/502#issuecomment-683319137

Received on Saturday, 29 August 2020 17:26:00 UTC