Skip to content

Commit

Permalink
Treat undefined as no arguments for document.all(undefined)
Browse files Browse the repository at this point in the history
  • Loading branch information
foolip committed Jan 24, 2018
1 parent 0d097af commit ffb5c6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -7478,8 +7478,8 @@ interface <dfn>HTMLAllCollection</dfn> {
<h6 id="HTMLAllCollection-call">[[Call]] ( <var>thisArgument</var>, <var>argumentsList</var> )</h6>

<ol>
<li><p>If <var>argumentsList</var>'s <span data-x="list size">size</span> is zero, return
null.</p></li>
<li><p>If <var>argumentsList</var>'s <span data-x="list size">size</span> is zero, or if
<var>argumentsList</var>[0] is undefined, return null.</p></li>

<li><p>Let <var>nameOrIndex</var> be the result of <span
data-x="concept-idl-convert">converting</span> <var>argumentsList</var>[0] to a <code
Expand Down

0 comments on commit ffb5c6e

Please sign in to comment.