devtools-protocol 0.0.1137730 → 0.0.1138800
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/json/js_protocol.json
CHANGED
@@ -2162,8 +2162,8 @@
|
|
2162
2162
|
"type": "string"
|
2163
2163
|
},
|
2164
2164
|
{
|
2165
|
-
"id": "
|
2166
|
-
"description": "Represents the value serialiazed by the WebDriver BiDi specification\nhttps://
|
2165
|
+
"id": "DeepSerializedValue",
|
2166
|
+
"description": "Represents the value serialiazed by the WebDriver BiDi specification\nhttps://goo.gle/browser-automation-deepserialization.",
|
2167
2167
|
"type": "object",
|
2168
2168
|
"properties": [
|
2169
2169
|
{
|
@@ -2299,7 +2299,7 @@
|
|
2299
2299
|
"description": "WebDriver BiDi representation of the value.",
|
2300
2300
|
"experimental": true,
|
2301
2301
|
"optional": true,
|
2302
|
-
"$ref": "
|
2302
|
+
"$ref": "DeepSerializedValue"
|
2303
2303
|
},
|
2304
2304
|
{
|
2305
2305
|
"name": "objectId",
|
@@ -2964,7 +2964,7 @@
|
|
2964
2964
|
},
|
2965
2965
|
{
|
2966
2966
|
"name": "generateWebDriverValue",
|
2967
|
-
"description": "Whether the result should contain `webDriverValue`, serialized according to\nhttps://
|
2967
|
+
"description": "Whether the result should contain `webDriverValue`, serialized according to\nhttps://goo.gle/browser-automation-deepserialization. This is mutually\nexclusive with `returnByValue`, but resulting `objectId` is still provided.",
|
2968
2968
|
"experimental": true,
|
2969
2969
|
"optional": true,
|
2970
2970
|
"type": "boolean"
|
@@ -3139,7 +3139,7 @@
|
|
3139
3139
|
},
|
3140
3140
|
{
|
3141
3141
|
"name": "generateWebDriverValue",
|
3142
|
-
"description": "Whether the result should be serialized according to https://
|
3142
|
+
"description": "Whether the result should be serialized according to https://goo.gle/browser-automation-deepserialization.",
|
3143
3143
|
"experimental": true,
|
3144
3144
|
"optional": true,
|
3145
3145
|
"type": "boolean"
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -707,8 +707,6 @@ experimental domain Audits
|
|
707
707
|
# TODO(apaseltiner): Rename this to InvalidRegisterSourceHeader
|
708
708
|
InvalidHeader
|
709
709
|
InvalidRegisterTriggerHeader
|
710
|
-
# TODO(apaseltiner): Remove this issue once DevTools stops referencing it.
|
711
|
-
InvalidEligibleHeader
|
712
710
|
SourceAndTriggerHeaders
|
713
711
|
SourceIgnored
|
714
712
|
TriggerIgnored
|
package/pdl/js_protocol.pdl
CHANGED
@@ -1015,8 +1015,8 @@ domain Runtime
|
|
1015
1015
|
type ScriptId extends string
|
1016
1016
|
|
1017
1017
|
# Represents the value serialiazed by the WebDriver BiDi specification
|
1018
|
-
# https://
|
1019
|
-
type
|
1018
|
+
# https://goo.gle/browser-automation-deepserialization.
|
1019
|
+
type DeepSerializedValue extends object
|
1020
1020
|
properties
|
1021
1021
|
enum type
|
1022
1022
|
undefined
|
@@ -1102,7 +1102,7 @@ domain Runtime
|
|
1102
1102
|
# String representation of the object.
|
1103
1103
|
optional string description
|
1104
1104
|
# WebDriver BiDi representation of the value.
|
1105
|
-
experimental optional
|
1105
|
+
experimental optional DeepSerializedValue webDriverValue
|
1106
1106
|
# Unique object identifier (for non-primitive values).
|
1107
1107
|
optional RemoteObjectId objectId
|
1108
1108
|
# Preview containing abbreviated property values. Specified for `object` type values only.
|
@@ -1416,8 +1416,8 @@ domain Runtime
|
|
1416
1416
|
# This is mutually exclusive with `executionContextId`.
|
1417
1417
|
experimental optional string uniqueContextId
|
1418
1418
|
# Whether the result should contain `webDriverValue`, serialized according to
|
1419
|
-
# https://
|
1420
|
-
# resulting `objectId` is still provided.
|
1419
|
+
# https://goo.gle/browser-automation-deepserialization. This is mutually
|
1420
|
+
# exclusive with `returnByValue`, but resulting `objectId` is still provided.
|
1421
1421
|
experimental optional boolean generateWebDriverValue
|
1422
1422
|
returns
|
1423
1423
|
# Call result.
|
@@ -1504,7 +1504,7 @@ domain Runtime
|
|
1504
1504
|
# boundaries).
|
1505
1505
|
# This is mutually exclusive with `contextId`.
|
1506
1506
|
experimental optional string uniqueContextId
|
1507
|
-
# Whether the result should be serialized according to https://
|
1507
|
+
# Whether the result should be serialized according to https://goo.gle/browser-automation-deepserialization.
|
1508
1508
|
experimental optional boolean generateWebDriverValue
|
1509
1509
|
returns
|
1510
1510
|
# Evaluation result.
|
package/types/protocol.d.ts
CHANGED
@@ -1490,7 +1490,7 @@ export namespace Protocol {
|
|
1490
1490
|
*/
|
1491
1491
|
export type ScriptId = string;
|
1492
1492
|
|
1493
|
-
export const enum
|
1493
|
+
export const enum DeepSerializedValueType {
|
1494
1494
|
Undefined = 'undefined',
|
1495
1495
|
Null = 'null',
|
1496
1496
|
String = 'string',
|
@@ -1518,11 +1518,11 @@ export namespace Protocol {
|
|
1518
1518
|
|
1519
1519
|
/**
|
1520
1520
|
* Represents the value serialiazed by the WebDriver BiDi specification
|
1521
|
-
* https://
|
1521
|
+
* https://goo.gle/browser-automation-deepserialization.
|
1522
1522
|
*/
|
1523
|
-
export interface
|
1523
|
+
export interface DeepSerializedValue {
|
1524
1524
|
/**
|
1525
|
-
* (
|
1525
|
+
* (DeepSerializedValueType enum)
|
1526
1526
|
*/
|
1527
1527
|
type: ('undefined' | 'null' | 'string' | 'number' | 'boolean' | 'bigint' | 'regexp' | 'date' | 'symbol' | 'array' | 'object' | 'function' | 'map' | 'set' | 'weakmap' | 'weakset' | 'error' | 'proxy' | 'promise' | 'typedarray' | 'arraybuffer' | 'node' | 'window');
|
1528
1528
|
value?: any;
|
@@ -1613,7 +1613,7 @@ export namespace Protocol {
|
|
1613
1613
|
/**
|
1614
1614
|
* WebDriver BiDi representation of the value.
|
1615
1615
|
*/
|
1616
|
-
webDriverValue?:
|
1616
|
+
webDriverValue?: DeepSerializedValue;
|
1617
1617
|
/**
|
1618
1618
|
* Unique object identifier (for non-primitive values).
|
1619
1619
|
*/
|
@@ -2121,8 +2121,8 @@ export namespace Protocol {
|
|
2121
2121
|
uniqueContextId?: string;
|
2122
2122
|
/**
|
2123
2123
|
* Whether the result should contain `webDriverValue`, serialized according to
|
2124
|
-
* https://
|
2125
|
-
* resulting `objectId` is still provided.
|
2124
|
+
* https://goo.gle/browser-automation-deepserialization. This is mutually
|
2125
|
+
* exclusive with `returnByValue`, but resulting `objectId` is still provided.
|
2126
2126
|
*/
|
2127
2127
|
generateWebDriverValue?: boolean;
|
2128
2128
|
}
|
@@ -2248,7 +2248,7 @@ export namespace Protocol {
|
|
2248
2248
|
*/
|
2249
2249
|
uniqueContextId?: string;
|
2250
2250
|
/**
|
2251
|
-
* Whether the result should be serialized according to https://
|
2251
|
+
* Whether the result should be serialized according to https://goo.gle/browser-automation-deepserialization.
|
2252
2252
|
*/
|
2253
2253
|
generateWebDriverValue?: boolean;
|
2254
2254
|
}
|
@@ -3416,7 +3416,7 @@ export namespace Protocol {
|
|
3416
3416
|
clientSecurityState?: Network.ClientSecurityState;
|
3417
3417
|
}
|
3418
3418
|
|
3419
|
-
export type AttributionReportingIssueType = ('PermissionPolicyDisabled' | 'UntrustworthyReportingOrigin' | 'InsecureContext' | 'InvalidHeader' | 'InvalidRegisterTriggerHeader' | '
|
3419
|
+
export type AttributionReportingIssueType = ('PermissionPolicyDisabled' | 'UntrustworthyReportingOrigin' | 'InsecureContext' | 'InvalidHeader' | 'InvalidRegisterTriggerHeader' | 'SourceAndTriggerHeaders' | 'SourceIgnored' | 'TriggerIgnored' | 'OsSourceIgnored' | 'OsTriggerIgnored' | 'InvalidRegisterOsSourceHeader' | 'InvalidRegisterOsTriggerHeader' | 'WebAndOsHeaders' | 'NoWebOrOsSupport');
|
3420
3420
|
|
3421
3421
|
/**
|
3422
3422
|
* Details for issues around "Attribution Reporting API" usage.
|