Re: [whatwg/url] file: URL with a port number through the host setter (#97)

The other question is what the setter should do. Should we fail on ":" or just end tokenizing there (as hostname does). And setting `host` and `hostname` should probably do the same thing.

If we special case file URLs in `host` and `hostname` they'd end up failing on ":", but it seems Chrome just ends tokenizing there, which is somewhat different behavior.

-- 
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/issues/97#issuecomment-269774822

Received on Friday, 30 December 2016 14:03:34 UTC