File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -8298,16 +8298,20 @@ The [=remote end steps=] given |session| and |command parameters| are:
8298
8298
1. Let |arguments| be the <code> arguments</code> field of |command
8299
8299
parameters| if present, or an empty [=/list=] otherwise.
8300
8300
8301
- 1. Let the |contexts| be the value of the <code> contexts </code> field of |command parameters| if it is present or null if it isn’t .
8301
+ 1. Let |contexts| be null.
8302
8302
8303
- 1. If | contexts| is not null :
8303
+ 1. If the <code> contexts</code> field of |command parameters| is present :
8304
8304
8305
- 1. For each |context id| of |contexts|:
8305
+ 1. Set |contexts| to an empty [=/set=] .
8306
+
8307
+ 1. For each |context id| of |command parameters|["<code>contexts</code>"]
8306
8308
8307
8309
1. Let |context| be the result of [=trying=] to [=get a browsing context=] with |context id|.
8308
8310
8309
8311
1. If |context| is not a [=top-level browsing context=] , return [=error=] with [=error code=] [=invalid argument=] .
8310
8312
8313
+ 1. Append |context| to |contexts|.
8314
+
8311
8315
1. Let |sandbox| be the value of the "<code> sandbox</code> " field in |command
8312
8316
parameters|, if present, or null otherwise.
8313
8317
You can’t perform that action at this time.
0 commit comments