Skip to content

Commit 78d3c9b

Browse files
authored
Fix perform and release actions for valid browsing context check and handle alert step (#1877)
1 parent 9cb696c commit 78d3c9b

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

index.html

+8-7
Original file line numberDiff line numberDiff line change
@@ -10270,6 +10270,12 @@ <h3><dfn>Perform Actions</dfn></h3>
1027010270
variables</var> and <var>parameters</var> are:
1027110271

1027210272
<ol class="algorithm">
10273+
<li><p>If <var>session</var>&apos;s <a>current browsing context</a>
10274+
is <a>no longer open</a>, return <a>error</a> with <a>error code</a>
10275+
<a>no such window</a>.
10276+
10277+
<li><p><a>Try</a> to <a>handle any user prompts</a> with <var>session</var>.
10278+
1027310279
<li><p>Let <var>input state</var> be the result of <a>get the input
1027410280
state</a> with <var>session</var>
1027510281
and <var>session</var>&apos;s <a>current top-level browsing
@@ -10284,13 +10290,6 @@ <h3><dfn>Perform Actions</dfn></h3>
1028410290
to <a>extract an action sequence</a> with <var>input state</var>,
1028510291
<var>parameters</var>, and <var>actions options</var>.
1028610292

10287-
<li><p>If <var>session</var>&apos;s <a>current browsing context</a>
10288-
is <a>no longer open</a>, return <a>error</a> with <a>error
10289-
code</a> <a>no such window</a>.
10290-
10291-
<li><p><a>Try</a> to <a>handle any user prompts</a>
10292-
with <var>session</var>.
10293-
1029410293
<li><p><a>Dispatch actions</a> with <var>input state</var>,
1029510294
<var>actions by tick</var>, <a>current browsing context</a>,
1029610295
and <var>actions options</var>. If this results in an <a>error</a>
@@ -10331,6 +10330,8 @@ <h3><dfn>Release Actions</dfn></h3>
1033110330
is <a>no longer open</a>, return <a>error</a> with <a>error
1033210331
code</a> <a>no such window</a>.
1033310332

10333+
<li><p><a>Try</a> to <a>handle any user prompts</a> with <var>session</var>.
10334+
1033410335
<li><p>Let <var>input state</var> be the result of <a>get the input state</a>
1033510336
with <a>session</a> and <a>current top-level browsing context</a>.
1033610337

0 commit comments

Comments
 (0)