@@ -1578,16 +1578,16 @@ DateRemoteValue = {
1578
1578
1579
1579
MapRemoteValue = {
1580
1580
type: "map",
1581
+ value: MappingRemoteValue,
1581
1582
?handle: Handle,
1582
1583
?internalId: InternalId,
1583
- value: MappingRemoteValue,
1584
1584
}
1585
1585
1586
1586
SetRemoteValue = {
1587
1587
type: "set",
1588
+ value: ListRemoteValue
1588
1589
?handle: Handle,
1589
1590
?internalId: InternalId,
1590
- value: ListRemoteValue
1591
1591
}
1592
1592
1593
1593
WeakMapRemoteValue = {
@@ -1654,9 +1654,9 @@ NodeRemoteValue = {
1654
1654
NodeProperties = {
1655
1655
nodeType: uint,
1656
1656
nodeValue: text,
1657
+ childNodeCount: uint,
1657
1658
?localName: text,
1658
1659
?namespaceURI: text,
1659
- childNodeCount: uint,
1660
1660
?children: [*NodeRemoteValue] ,
1661
1661
?attributes: {*text => text},
1662
1662
?shadowRoot: NodeRemoteValue / null,
@@ -2540,9 +2540,9 @@ BrowsingContextInfoList = [* BrowsingContextInfo]
2540
2540
2541
2541
BrowsingContextInfo = {
2542
2542
context: BrowsingContext,
2543
- ?parent: BrowsingContext / null,
2544
2543
url: text,
2545
2544
children: BrowsingContextInfoList / null
2545
+ ?parent: BrowsingContext / null,
2546
2546
}
2547
2547
2548
2548
</pre>
@@ -4184,10 +4184,10 @@ Note: In case of an arrow function in <code>functionDeclaration</code>, the
4184
4184
4185
4185
ScriptCallFunctionParameters = {
4186
4186
functionDeclaration: text;
4187
+ awaitPromise: bool;
4188
+ target: Target;
4187
4189
?arguments: [ArgumentValue] ;
4188
4190
?this: ArgumentValue;
4189
- ?awaitPromise: bool;
4190
- target: Target;
4191
4191
?resultOwnership: OwnershipModel;
4192
4192
}
4193
4193
@@ -4278,7 +4278,7 @@ The [=remote end steps=] with |command parameters| are:
4278
4278
<code> functionDeclaration</code> field of |command parameters|.
4279
4279
4280
4280
1. Let |await promise| be the value of the <code> awaitPromise</code> field of
4281
- |command parameters|, if present, or <code> true </code> otherwise .
4281
+ |command parameters|.
4282
4282
4283
4283
1. Let |result ownership| be the value of the <code> resultOwnership</code> field of
4284
4284
|command parameters|, if present, or <code> none</code> otherwise.
@@ -4336,8 +4336,8 @@ place of a realm, in which case the realm used is the realm of the browsing
4336
4336
context's active document.
4337
4337
4338
4338
The method returns the value of executing the provided script, unless it returns
4339
- a promise and <code> awaitPromise</code> is true ( which is the default), in which
4340
- case the resolved value of the promise is returned.
4339
+ a promise and <code> awaitPromise</code> is true, in which case the resolved value of
4340
+ the promise is returned.
4341
4341
4342
4342
<dl>
4343
4343
<dt> Command Type</dt>
@@ -4351,7 +4351,7 @@ case the resolved value of the promise is returned.
4351
4351
ScriptEvaluateParameters = {
4352
4352
expression: text;
4353
4353
target: Target;
4354
- ? awaitPromise: bool;
4354
+ awaitPromise: bool;
4355
4355
?resultOwnership: OwnershipModel;
4356
4356
}
4357
4357
</pre>
@@ -4382,7 +4382,7 @@ The [=remote end steps=] with |command parameters| are:
4382
4382
parameters|.
4383
4383
4384
4384
1. Let |await promise| be the value of the <code> awaitPromise</code> field of
4385
- |command parameters|, if present, or <code> true </code> otherwise .
4385
+ |command parameters|.
4386
4386
4387
4387
1. Let |result ownership| be the value of the <code> resultOwnership</code> field of
4388
4388
|command parameters|, if present, or <code> none</code> otherwise.
0 commit comments