@@ -10270,6 +10270,12 @@ <h3><dfn>Perform Actions</dfn></h3>
10270
10270
variables</ var > and < var > parameters</ var > are:
10271
10271
10272
10272
< ol class ="algorithm ">
10273
+ < li > < p > If < var > session</ var > '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
+
10273
10279
< li > < p > Let < var > input state</ var > be the result of < a > get the input
10274
10280
state</ a > with < var > session</ var >
10275
10281
and < var > session</ var > 's < a > current top-level browsing
@@ -10284,13 +10290,6 @@ <h3><dfn>Perform Actions</dfn></h3>
10284
10290
to < a > extract an action sequence</ a > with < var > input state</ var > ,
10285
10291
< var > parameters</ var > , and < var > actions options</ var > .
10286
10292
10287
- < li > < p > If < var > session</ var > '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
-
10294
10293
< li > < p > < a > Dispatch actions</ a > with < var > input state</ var > ,
10295
10294
< var > actions by tick</ var > , < a > current browsing context</ a > ,
10296
10295
and < var > actions options</ var > . If this results in an < a > error</ a >
@@ -10331,6 +10330,8 @@ <h3><dfn>Release Actions</dfn></h3>
10331
10330
is < a > no longer open</ a > , return < a > error</ a > with < a > error
10332
10331
code</ a > < a > no such window</ a > .
10333
10332
10333
+ < li > < p > < a > Try</ a > to < a > handle any user prompts</ a > with < var > session</ var > .
10334
+
10334
10335
< li > < p > Let < var > input state</ var > be the result of < a > get the input state</ a >
10335
10336
with < a > session</ a > and < a > current top-level browsing context</ a > .
10336
10337
0 commit comments