Re: [whatwg/url] Make hostname state return failure if a port is given (#604)

Actually, I don't see why this needs to return failure. I think we only return failure at the moment if it's relevant for the caller. Otherwise we just return. (That's also why I thought the `Location` setter would throw.)

-- 
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/604#issuecomment-844163573

Received on Wednesday, 19 May 2021 14:33:19 UTC