Skip to content

Commit 74a7ef4

Browse files
committed
Fix bikeshed warnings
1 parent 4660b95 commit 74a7ef4

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

index.bs

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2237,6 +2237,8 @@ ignore>command parameters</var> are:
22372237

22382238
1. Return [=success=] with data |body|
22392239

2240+
</div>
2241+
22402242
#### The session.new Command #### {#command-session-new}
22412243

22422244
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:
23172319

23182320
1. Return [=success=] with data |body|.
23192321

2322+
</div>
2323+
23202324
#### The session.subscribe Command #### {#command-session-subscribe}
23212325

23222326
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|
27652769
with |context id|.
27662770

27672771
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=].
27692773

27702774
1. Let |document| be |context|'s [=active document=].
27712775

@@ -3559,7 +3563,7 @@ The [=remote end event trigger=] is the <dfn export>WebDriver BiDi user prompt
35593563
closed</dfn> steps given |window|, |accepted| and optional |user text|
35603564
(default: null).
35613565

3562-
1. Let |context| be |window|'s [=browsing context=].
3566+
1. Let |context| be |window|'s [=/browsing context=].
35633567

35643568
1. Let |context id| be the [=browsing context id=] for |context|.
35653569

@@ -3604,7 +3608,7 @@ closed</dfn> steps given |window|, |accepted| and optional |user text|
36043608
The [=remote end event trigger=] is the <dfn export>WebDriver BiDi user prompt
36053609
opened</dfn> steps given |window|, |type| and |message|.
36063610

3607-
1. Let |context| be |window|'s [=browsing context=].
3611+
1. Let |context| be |window|'s [=/browsing context=].
36083612

36093613
1. Let |context id| be the [=browsing context id=] for |context|.
36103614

@@ -4031,7 +4035,7 @@ script related event occured.
40314035
<div algorithm>
40324036
To <dfn>get the source</dfn> given |source realm|:
40334037

4034-
1. Let |realm| be the |realm id| for |source realm|.
4038+
1. Let |realm| be the [=realm id=] for |source realm|.
40354039

40364040
1. Let |environment settings| be the [=environment settings object=] whose
40374041
[=realm execution context=]'s Realm component is |source realm|.
@@ -4040,7 +4044,7 @@ To <dfn>get the source</dfn> given |source realm|:
40404044

40414045
1. Let |document| be environment settings’ <a>associated <code>Document</code></a>.
40424046

4043-
1. Let |browsing context| be document’s [=browsing context=].
4047+
1. Let |browsing context| be |document|’s [=Document/browsing context=].
40444048

40454049
1. Let |context id| be the [=browsing context id=] for |browsing context|.
40464050

@@ -4049,7 +4053,7 @@ To <dfn>get the source</dfn> given |source realm|:
40494053
1. Let |source| be a [=map=] matching the
40504054
<code>Source</code> production with the <code>realm</code>
40514055
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.
40534057

40544058
1. Return |source|.
40554059

@@ -4290,8 +4294,7 @@ The [=remote end steps=] with |command parameters| are:
42904294
1. If |function body evaluation status|.\[[Type]] is <code>throw</code>:
42914295

42924296
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|.
42954298

42964299
1. Return a new map matching the <code>ScriptEvaluateResultException</code>
42974300
production, with the <code>exceptionDetails</code> field set to
@@ -4319,7 +4322,7 @@ The [=remote end steps=] with |command parameters| are:
43194322
1. If |evaluation status|.\[[Type]] is <code>throw</code>:
43204323

43214324
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|.
43234326

43244327
1. Return a new map matching the <code>ScriptEvaluateResultException</code>
43254328
production, with the <code>exceptionDetails</code> field set to
@@ -4328,9 +4331,8 @@ The [=remote end steps=] with |command parameters| are:
43284331
1. Assert: |evaluation status|.\[[Type]] is <code>normal</code>.
43294332

43304333
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|.
43344336

43354337
1. Return a new map matching the <code>ScriptEvaluateResultSuccess</code>
43364338
production, with the <code>realm</code> field set to |realm id|,
@@ -4416,7 +4418,7 @@ The [=remote end steps=] with |command parameters| are:
44164418
1. If |evaluation status|.\[[Type]] is <code>throw</code>:
44174419

44184420
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|.
44204422

44214423
1. Return a new map matching the <code>ScriptEvaluateResultException</code>
44224424
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:
44254427
1. Assert: |evaluation status|.\[[Type]] is <code>normal</code>.
44264428

44274429
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|.
44314432

44324433
1. Return a new map matching the <code>ScriptEvaluateResultSuccess</code>
44334434
production, with the with the <code>realm</code> field set to |realm id|, and

0 commit comments

Comments
 (0)