[whatwg/url] Empty host file URL fallout? (#272)

>From @domenic in https://github.com/whatwg/url/pull/260#issuecomment-286502916:

> Note that there is no test coverage for the case introduced here: in
>
> ```js
>        if (this.url.host !== "" && this.url.host !== null) {
>          this.parseError = true;
>          this.url.host = "";
>        }
> ```
>
> the condition never evaluates to true so those two lines are never reached. Maybe a coverage gap, maybe a spec bug.

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

Received on Tuesday, 14 March 2017 18:37:10 UTC