devtools-protocol 0.0.1200039 → 0.0.1202299
Sign up to get free protection for your applications and to get access to all the features.
- package/json/js_protocol.json +3 -24
- package/package.json +1 -1
- package/pdl/js_protocol.pdl +4 -19
- package/types/protocol.d.ts +3 -23
package/json/js_protocol.json
CHANGED
@@ -2163,7 +2163,7 @@
|
|
2163
2163
|
},
|
2164
2164
|
{
|
2165
2165
|
"id": "SerializationOptions",
|
2166
|
-
"description": "Represents options for serialization. Overrides `generatePreview
|
2166
|
+
"description": "Represents options for serialization. Overrides `generatePreview` and `returnByValue`.",
|
2167
2167
|
"type": "object",
|
2168
2168
|
"properties": [
|
2169
2169
|
{
|
@@ -2323,13 +2323,6 @@
|
|
2323
2323
|
"optional": true,
|
2324
2324
|
"type": "string"
|
2325
2325
|
},
|
2326
|
-
{
|
2327
|
-
"name": "webDriverValue",
|
2328
|
-
"description": "Deprecated. Use `deepSerializedValue` instead. WebDriver BiDi representation of the value.",
|
2329
|
-
"deprecated": true,
|
2330
|
-
"optional": true,
|
2331
|
-
"$ref": "DeepSerializedValue"
|
2332
|
-
},
|
2333
2326
|
{
|
2334
2327
|
"name": "deepSerializedValue",
|
2335
2328
|
"description": "Deep serialized value.",
|
@@ -2998,16 +2991,9 @@
|
|
2998
2991
|
"optional": true,
|
2999
2992
|
"type": "string"
|
3000
2993
|
},
|
3001
|
-
{
|
3002
|
-
"name": "generateWebDriverValue",
|
3003
|
-
"description": "Deprecated. Use `serializationOptions: {serialization:\"deep\"}` instead.\nWhether the result should contain `webDriverValue`, serialized according to\nhttps://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, but\nresulting `objectId` is still provided.",
|
3004
|
-
"deprecated": true,
|
3005
|
-
"optional": true,
|
3006
|
-
"type": "boolean"
|
3007
|
-
},
|
3008
2994
|
{
|
3009
2995
|
"name": "serializationOptions",
|
3010
|
-
"description": "Specifies the result serialization. If provided, overrides\n`generatePreview
|
2996
|
+
"description": "Specifies the result serialization. If provided, overrides\n`generatePreview` and `returnByValue`.",
|
3011
2997
|
"experimental": true,
|
3012
2998
|
"optional": true,
|
3013
2999
|
"$ref": "SerializationOptions"
|
@@ -3180,16 +3166,9 @@
|
|
3180
3166
|
"optional": true,
|
3181
3167
|
"type": "string"
|
3182
3168
|
},
|
3183
|
-
{
|
3184
|
-
"name": "generateWebDriverValue",
|
3185
|
-
"description": "Deprecated. Use `serializationOptions: {serialization:\"deep\"}` instead.\nWhether the result should contain `webDriverValue`, serialized\naccording to\nhttps://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, but\nresulting `objectId` is still provided.",
|
3186
|
-
"deprecated": true,
|
3187
|
-
"optional": true,
|
3188
|
-
"type": "boolean"
|
3189
|
-
},
|
3190
3169
|
{
|
3191
3170
|
"name": "serializationOptions",
|
3192
|
-
"description": "Specifies the result serialization. If provided, overrides\n`generatePreview
|
3171
|
+
"description": "Specifies the result serialization. If provided, overrides\n`generatePreview` and `returnByValue`.",
|
3193
3172
|
"experimental": true,
|
3194
3173
|
"optional": true,
|
3195
3174
|
"$ref": "SerializationOptions"
|
package/package.json
CHANGED
package/pdl/js_protocol.pdl
CHANGED
@@ -1014,8 +1014,7 @@ domain Runtime
|
|
1014
1014
|
# Unique script identifier.
|
1015
1015
|
type ScriptId extends string
|
1016
1016
|
|
1017
|
-
# Represents options for serialization. Overrides `generatePreview
|
1018
|
-
# `generateWebDriverValue`.
|
1017
|
+
# Represents options for serialization. Overrides `generatePreview` and `returnByValue`.
|
1019
1018
|
type SerializationOptions extends object
|
1020
1019
|
properties
|
1021
1020
|
enum serialization
|
@@ -1027,8 +1026,7 @@ domain Runtime
|
|
1027
1026
|
# `returnByValue: true`. Overrides `returnByValue`.
|
1028
1027
|
json
|
1029
1028
|
# Only remote object id is put in the result. Same bahaviour as if no
|
1030
|
-
# `serializationOptions`, `generatePreview
|
1031
|
-
# are provided.
|
1029
|
+
# `serializationOptions`, `generatePreview` nor `returnByValue` are provided.
|
1032
1030
|
idOnly
|
1033
1031
|
|
1034
1032
|
# Deep serialization depth. Default is full depth. Respected only in `deep` serialization mode.
|
@@ -1126,8 +1124,6 @@ domain Runtime
|
|
1126
1124
|
optional UnserializableValue unserializableValue
|
1127
1125
|
# String representation of the object.
|
1128
1126
|
optional string description
|
1129
|
-
# Deprecated. Use `deepSerializedValue` instead. WebDriver BiDi representation of the value.
|
1130
|
-
deprecated optional DeepSerializedValue webDriverValue
|
1131
1127
|
# Deep serialized value.
|
1132
1128
|
experimental optional DeepSerializedValue deepSerializedValue
|
1133
1129
|
# Unique object identifier (for non-primitive values).
|
@@ -1443,13 +1439,8 @@ domain Runtime
|
|
1443
1439
|
# boundaries).
|
1444
1440
|
# This is mutually exclusive with `executionContextId`.
|
1445
1441
|
experimental optional string uniqueContextId
|
1446
|
-
# Deprecated. Use `serializationOptions: {serialization:"deep"}` instead.
|
1447
|
-
# Whether the result should contain `webDriverValue`, serialized according to
|
1448
|
-
# https://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, but
|
1449
|
-
# resulting `objectId` is still provided.
|
1450
|
-
deprecated optional boolean generateWebDriverValue
|
1451
1442
|
# Specifies the result serialization. If provided, overrides
|
1452
|
-
# `generatePreview
|
1443
|
+
# `generatePreview` and `returnByValue`.
|
1453
1444
|
experimental optional SerializationOptions serializationOptions
|
1454
1445
|
|
1455
1446
|
returns
|
@@ -1537,14 +1528,8 @@ domain Runtime
|
|
1537
1528
|
# boundaries).
|
1538
1529
|
# This is mutually exclusive with `contextId`.
|
1539
1530
|
experimental optional string uniqueContextId
|
1540
|
-
# Deprecated. Use `serializationOptions: {serialization:"deep"}` instead.
|
1541
|
-
# Whether the result should contain `webDriverValue`, serialized
|
1542
|
-
# according to
|
1543
|
-
# https://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, but
|
1544
|
-
# resulting `objectId` is still provided.
|
1545
|
-
deprecated optional boolean generateWebDriverValue
|
1546
1531
|
# Specifies the result serialization. If provided, overrides
|
1547
|
-
# `generatePreview
|
1532
|
+
# `generatePreview` and `returnByValue`.
|
1548
1533
|
experimental optional SerializationOptions serializationOptions
|
1549
1534
|
returns
|
1550
1535
|
# Evaluation result.
|
package/types/protocol.d.ts
CHANGED
@@ -1497,8 +1497,7 @@ export namespace Protocol {
|
|
1497
1497
|
}
|
1498
1498
|
|
1499
1499
|
/**
|
1500
|
-
* Represents options for serialization. Overrides `generatePreview
|
1501
|
-
* `generateWebDriverValue`.
|
1500
|
+
* Represents options for serialization. Overrides `generatePreview` and `returnByValue`.
|
1502
1501
|
*/
|
1503
1502
|
export interface SerializationOptions {
|
1504
1503
|
/**
|
@@ -1637,10 +1636,6 @@ export namespace Protocol {
|
|
1637
1636
|
* String representation of the object.
|
1638
1637
|
*/
|
1639
1638
|
description?: string;
|
1640
|
-
/**
|
1641
|
-
* Deprecated. Use `deepSerializedValue` instead. WebDriver BiDi representation of the value.
|
1642
|
-
*/
|
1643
|
-
webDriverValue?: DeepSerializedValue;
|
1644
1639
|
/**
|
1645
1640
|
* Deep serialized value.
|
1646
1641
|
*/
|
@@ -2151,16 +2146,9 @@ export namespace Protocol {
|
|
2151
2146
|
* This is mutually exclusive with `executionContextId`.
|
2152
2147
|
*/
|
2153
2148
|
uniqueContextId?: string;
|
2154
|
-
/**
|
2155
|
-
* Deprecated. Use `serializationOptions: {serialization:"deep"}` instead.
|
2156
|
-
* Whether the result should contain `webDriverValue`, serialized according to
|
2157
|
-
* https://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, but
|
2158
|
-
* resulting `objectId` is still provided.
|
2159
|
-
*/
|
2160
|
-
generateWebDriverValue?: boolean;
|
2161
2149
|
/**
|
2162
2150
|
* Specifies the result serialization. If provided, overrides
|
2163
|
-
* `generatePreview
|
2151
|
+
* `generatePreview` and `returnByValue`.
|
2164
2152
|
*/
|
2165
2153
|
serializationOptions?: SerializationOptions;
|
2166
2154
|
}
|
@@ -2285,17 +2273,9 @@ export namespace Protocol {
|
|
2285
2273
|
* This is mutually exclusive with `contextId`.
|
2286
2274
|
*/
|
2287
2275
|
uniqueContextId?: string;
|
2288
|
-
/**
|
2289
|
-
* Deprecated. Use `serializationOptions: {serialization:"deep"}` instead.
|
2290
|
-
* Whether the result should contain `webDriverValue`, serialized
|
2291
|
-
* according to
|
2292
|
-
* https://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, but
|
2293
|
-
* resulting `objectId` is still provided.
|
2294
|
-
*/
|
2295
|
-
generateWebDriverValue?: boolean;
|
2296
2276
|
/**
|
2297
2277
|
* Specifies the result serialization. If provided, overrides
|
2298
|
-
* `generatePreview
|
2278
|
+
* `generatePreview` and `returnByValue`.
|
2299
2279
|
*/
|
2300
2280
|
serializationOptions?: SerializationOptions;
|
2301
2281
|
}
|