- From: Anne van Kesteren <notifications@github.com>
- Date: Wed, 22 Mar 2017 09:22:36 -0700
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 22 March 2017 16:23:37 UTC
annevk commented on this pull request. > @@ -2113,6 +2121,12 @@ string <var>input</var>, optionally with a <a>base URL</a> <var>base</var>, opti <li><p>Set <var>buffer</var> to the empty string. + <li><p>If <var>url</var>'s <a for=url>scheme</a> is "<code>file</code>" and <a>c</a> is + <a>EOF code point</a>, "<code>?</code>", or "<code>#</code>", then while <var>url</var>'s + <a for=url>path</a>'s <a for=list>size</a> is not 1 and <var>url</var>'s + <a for=url>path</a>[0] is the empty string, <a>validation error</a>, <a for=list>remove</a> Yeah, that's what I figured. Should maybe assert for length being 0 to make sure we have coverage. We should probably also clarify in the Infra Standard that [] indexing only works for actual entries (or make it work like JavaScript somehow, but not sure that's better). -- 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/278#discussion_r107461281
Received on Wednesday, 22 March 2017 16:23:37 UTC