Re: [whatwg/url] Use empty host for file URL's (#260)

annevk commented on this pull request.



> @@ -2066,10 +2068,10 @@ string <var>input</var>, optionally with a <a>base URL</a> <var>base</var>, opti
           <a>Windows drive letter</a>, then:
 
           <ol>
-           <li><p>If <var>url</var>'s <a for=url>host</a> is non-null,
+           <li><p>If <var>url</var>'s <a for=url>host</a> is not the empty string,

Fair, I guess some level of implicit casting is probably okay.

-- 
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/260#discussion_r103080763

Received on Saturday, 25 February 2017 15:15:29 UTC