Skip to content

Commit

Permalink
Make window.open() throw for URL parser failures
Browse files Browse the repository at this point in the history
  • Loading branch information
annevk committed May 4, 2017
1 parent eb31d93 commit ea52bf4
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions source
Expand Up @@ -78744,18 +78744,8 @@ callback <dfn>FrameRequestCallback</dfn> = void (<span>DOMHighResTimeStamp</span

<p>Otherwise, <span data-x="parse a url">parse</span> <var>url</var> relative to <var>entry
settings</var>, and let <var>resource</var> be the <span>resulting URL record</span>, if any. If
the <span>parse a URL</span> algorithm failed, then run one of the following two steps
instead:</p>

<ul>

<li><p>Let <var>resource</var> be a resource representing an inline error page.</p></li>

<li><p>If <var>new</var> is false, jump to the step labeled <i>end</i>, otherwise, let
<var>resource</var> be the <span>URL</span> "<code>about:blank</code>".</p></li>

</ul>

the <span>parse a URL</span> algorithm failed, then throw a
<span>"<code>SyntaxError</code>"</span> <code>DOMException</code>.</p>
</li>

<li>
Expand Down

0 comments on commit ea52bf4

Please sign in to comment.