@@ -2237,6 +2237,8 @@ ignore>command parameters</var> are:
2237
2237
2238
2238
1. Return [=success=] with data |body|
2239
2239
2240
+ </div>
2241
+
2240
2242
#### The session.new Command #### {#command-session-new}
2241
2243
2242
2244
The <dfn export for=commands>session.new</dfn> command allows creating a new
@@ -2317,6 +2319,8 @@ The [=remote end steps=] given |session| and |command parameters| are:
2317
2319
2318
2320
1. Return [=success=] with data |body|.
2319
2321
2322
+ </div>
2323
+
2320
2324
#### The session.subscribe Command #### {#command-session-subscribe}
2321
2325
2322
2326
The <dfn export for=commands>session.subscribe</dfn> command enables certain events
@@ -2765,7 +2769,7 @@ The [=remote end steps=] with <var ignore>session</var> and |command parameters|
2765
2769
with |context id|.
2766
2770
2767
2771
1. If the implementation is unable to capture a screenshot of |context| for any
2768
- reason then return [=error=] with [=code=] [=unsupported operation=] .
2772
+ reason then return [=error=] with [=error code=] [=unsupported operation=] .
2769
2773
2770
2774
1. Let |document| be |context|'s [=active document=] .
2771
2775
@@ -3559,7 +3563,7 @@ The [=remote end event trigger=] is the <dfn export>WebDriver BiDi user prompt
3559
3563
closed</dfn> steps given |window|, |accepted| and optional |user text|
3560
3564
(default: null).
3561
3565
3562
- 1. Let |context| be |window|'s [=browsing context=] .
3566
+ 1. Let |context| be |window|'s [=/ browsing context=] .
3563
3567
3564
3568
1. Let |context id| be the [=browsing context id=] for |context|.
3565
3569
@@ -3604,7 +3608,7 @@ closed</dfn> steps given |window|, |accepted| and optional |user text|
3604
3608
The [=remote end event trigger=] is the <dfn export>WebDriver BiDi user prompt
3605
3609
opened</dfn> steps given |window|, |type| and |message|.
3606
3610
3607
- 1. Let |context| be |window|'s [=browsing context=] .
3611
+ 1. Let |context| be |window|'s [=/ browsing context=] .
3608
3612
3609
3613
1. Let |context id| be the [=browsing context id=] for |context|.
3610
3614
@@ -4031,7 +4035,7 @@ script related event occured.
4031
4035
<div algorithm>
4032
4036
To <dfn>get the source</dfn> given |source realm|:
4033
4037
4034
- 1. Let |realm| be the | realm id| for |source realm|.
4038
+ 1. Let |realm| be the [= realm id=] for |source realm|.
4035
4039
4036
4040
1. Let |environment settings| be the [=environment settings object=] whose
4037
4041
[=realm execution context=] 's Realm component is |source realm|.
@@ -4040,7 +4044,7 @@ To <dfn>get the source</dfn> given |source realm|:
4040
4044
4041
4045
1. Let |document| be environment settings’ <a>associated <code>Document</code></a> .
4042
4046
4043
- 1. Let |browsing context| be document’s [=browsing context=] .
4047
+ 1. Let |browsing context| be | document| ’s [=Document/ browsing context=] .
4044
4048
4045
4049
1. Let |context id| be the [=browsing context id=] for |browsing context|.
4046
4050
@@ -4049,7 +4053,7 @@ To <dfn>get the source</dfn> given |source realm|:
4049
4053
1. Let |source| be a [=map=] matching the
4050
4054
<code> Source</code> production with the <code> realm</code>
4051
4055
field set to |realm|, and the <code> context</code> field set
4052
- to |context| if |context| is not null, or unset otherwise.
4056
+ to |context id | if |browsing context| is not null, or unset otherwise.
4053
4057
4054
4058
1. Return |source|.
4055
4059
@@ -4290,8 +4294,7 @@ The [=remote end steps=] with |command parameters| are:
4290
4294
1. If |function body evaluation status|.\[[Type]] is <code> throw</code> :
4291
4295
4292
4296
1. Let |exception details| be the result of [=get exception details=] given
4293
- |realm|, |function body evaluation status| as |record| and |result ownership|
4294
- as |ownership type|.
4297
+ |realm|, |function body evaluation status| and |result ownership|.
4295
4298
4296
4299
1. Return a new map matching the <code> ScriptEvaluateResultException</code>
4297
4300
production, with the <code> exceptionDetails</code> field set to
@@ -4319,7 +4322,7 @@ The [=remote end steps=] with |command parameters| are:
4319
4322
1. If |evaluation status|.\[[Type]] is <code> throw</code> :
4320
4323
4321
4324
1. Let |exception details| be the result of [=get exception details=] given
4322
- |realm|, |evaluation status| and |result ownership| as |ownership type| .
4325
+ |realm|, |evaluation status| and |result ownership|.
4323
4326
4324
4327
1. Return a new map matching the <code> ScriptEvaluateResultException</code>
4325
4328
production, with the <code> exceptionDetails</code> field set to
@@ -4328,9 +4331,8 @@ The [=remote end steps=] with |command parameters| are:
4328
4331
1. Assert: |evaluation status|.\[[Type]] is <code> normal</code> .
4329
4332
4330
4333
1. Let |result| be the result of [=serialize as a remote value=] given
4331
- |evaluation status|.\[[Value]] , <code> 1</code> as |max depth|, |result ownership|
4332
- as |ownership type|, <code> new map</code> as |serialization internal map| and
4333
- |realm|.
4334
+ |evaluation status|.\[[Value]] , <code> 1</code> as |max depth|, |result
4335
+ ownership|, <code> new map</code> as |serialization internal map| and |realm|.
4334
4336
4335
4337
1. Return a new map matching the <code> ScriptEvaluateResultSuccess</code>
4336
4338
production, with the <code> realm</code> field set to |realm id|,
@@ -4416,7 +4418,7 @@ The [=remote end steps=] with |command parameters| are:
4416
4418
1. If |evaluation status|.\[[Type]] is <code> throw</code> :
4417
4419
4418
4420
1. Let |exception details| be the result of [=get exception details=] given
4419
- |realm|, |evaluation status| and |result ownership| as |ownership type| .
4421
+ |realm|, |evaluation status| and |result ownership|.
4420
4422
4421
4423
1. Return a new map matching the <code> ScriptEvaluateResultException</code>
4422
4424
production, with the <code> realm</code> field set to |realm id|, and the
@@ -4425,9 +4427,8 @@ The [=remote end steps=] with |command parameters| are:
4425
4427
1. Assert: |evaluation status|.\[[Type]] is <code> normal</code> .
4426
4428
4427
4429
1. Let |result| be the result of [=serialize as a remote value=] given
4428
- |evaluation status|.\[[Value]] , <code> 1</code> as |max depth|, |result ownership|
4429
- as |ownership type|, <code> new map</code> as |serialization internal map| and
4430
- |realm|.
4430
+ |evaluation status|.\[[Value]] , <code> 1</code> as |max depth|, |result
4431
+ ownership|, <code> new map</code> as |serialization internal map| and |realm|.
4431
4432
4432
4433
1. Return a new map matching the <code> ScriptEvaluateResultSuccess</code>
4433
4434
production, with the with the <code> realm</code> field set to |realm id|, and
0 commit comments