Skip to content

Commit

Permalink
registerProtocolHandler(): drop scheme from note
Browse files Browse the repository at this point in the history
If you put a % in a scheme, it effectively turns the input from an absolute URL into a relative URL.

See web-platform-tests/wpt#24886 for context, again.
  • Loading branch information
annevk committed Aug 6, 2020
1 parent 8b2eaf9 commit e15c649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source
Original file line number Diff line number Diff line change
Expand Up @@ -94282,7 +94282,7 @@ interface <dfn>Navigator</dfn> {
<code>DOMException</code>.</p>

<p class="note">This is forcibly the case if the <code data-x="">%s</code> placeholder is in the
scheme, host, or port components of the URL.</p>
host or port of the URL.</p>
</li>

<li><p>If the <span>resulting URL record</span>'s <span data-x="concept-url-scheme">scheme</span>
Expand Down

0 comments on commit e15c649

Please sign in to comment.