Skip to content

Commit 52b0238

Browse files
whimbooAutomatedTester
authored andcommitted
"Switch To Frame" has to raise "invalid argument" error for out of bounds frame id number values (#1389)
1 parent a56962c commit 52b0238

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3357,7 +3357,7 @@ <h3><dfn>Switch To Frame</dfn></h3>
33573357
<dd>
33583358
<ol>
33593359
<li><p>If <var>id</var> is less than 0 or greater than 2<sup>16</sup> – 1,
3360-
return <a>error</a> with <a>error code</a> <a>no such frame</a>.
3360+
return <a>error</a> with <a>error code</a> <a>invalid argument</a>.
33613361

33623362
<li><p>Let <var>window</var> be the <a>associated window</a>
33633363
of the <a>current browsing context</a>’s <a>active document</a>.

0 commit comments

Comments
 (0)