Skip to content

Commit

Permalink
A file URL cannot have credentials
Browse files Browse the repository at this point in the history
Remove “dead code” found through
web-platform-tests/wpt#3018. (Note that the
API username/password setters are also no-ops for file URLs.)
  • Loading branch information
annevk committed Feb 16, 2017
1 parent 6463c12 commit 9b2eb10
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions url.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1971,9 +1971,6 @@ string <var>input</var>, optionally with a <a>base URL</a> <var>base</var>, opti
<p>Otherwise, if <var>buffer</var> is the empty string, then:

<ol>
<li><p>If <var>state override</var> is given and <var>url</var>
<a>includes credentials</a>, <a>validation error</a>, return.

<li><p>Set <var>url</var>'s <a for=url>host</a> to the empty string.

<li><p>If <var>state override</var> is given, then return.
Expand Down

0 comments on commit 9b2eb10

Please sign in to comment.