[whatwg/url] Cleanup API for file and non-special URLs (#224)

This:

* Stops the username/password/port APIs from functioning when host is
the empty string.
* Makes the host/hostname APIs work better with file URLs and adjusts
the file host state accordingly.
* Make setting host/hostname to the empty string impossible when they
have a username/password/port.
* Fixes #97.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/url/pull/224

-- Commit Summary --

  * Cleanup API for file and non-special URLs

-- File Changes --

    M url.bs (76)

-- Patch Links --

https://github.com/whatwg/url/pull/224.patch
https://github.com/whatwg/url/pull/224.diff

-- 
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/224

Received on Wednesday, 1 February 2017 13:42:10 UTC