devtools-protocol 0.0.1200039 → 0.0.1203060
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/browser_protocol.json +5 -34
- package/json/js_protocol.json +3 -24
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +5 -17
- package/pdl/js_protocol.pdl +4 -19
- package/types/protocol-mapping.d.ts +0 -4
- package/types/protocol-proxy-api.d.ts +0 -5
- package/types/protocol.d.ts +8 -46
@@ -19842,7 +19842,7 @@
|
|
19842
19842
|
"type": "object",
|
19843
19843
|
"properties": [
|
19844
19844
|
{
|
19845
|
-
"name": "
|
19845
|
+
"name": "renderURL",
|
19846
19846
|
"type": "string"
|
19847
19847
|
},
|
19848
19848
|
{
|
@@ -19874,22 +19874,22 @@
|
|
19874
19874
|
"type": "string"
|
19875
19875
|
},
|
19876
19876
|
{
|
19877
|
-
"name": "
|
19877
|
+
"name": "biddingLogicURL",
|
19878
19878
|
"optional": true,
|
19879
19879
|
"type": "string"
|
19880
19880
|
},
|
19881
19881
|
{
|
19882
|
-
"name": "
|
19882
|
+
"name": "biddingWasmHelperURL",
|
19883
19883
|
"optional": true,
|
19884
19884
|
"type": "string"
|
19885
19885
|
},
|
19886
19886
|
{
|
19887
|
-
"name": "
|
19887
|
+
"name": "updateURL",
|
19888
19888
|
"optional": true,
|
19889
19889
|
"type": "string"
|
19890
19890
|
},
|
19891
19891
|
{
|
19892
|
-
"name": "
|
19892
|
+
"name": "trustedBiddingSignalsURL",
|
19893
19893
|
"optional": true,
|
19894
19894
|
"type": "string"
|
19895
19895
|
},
|
@@ -24111,35 +24111,6 @@
|
|
24111
24111
|
}
|
24112
24112
|
]
|
24113
24113
|
},
|
24114
|
-
{
|
24115
|
-
"name": "prerenderAttemptCompleted",
|
24116
|
-
"description": "Fired when a prerender attempt is completed.",
|
24117
|
-
"parameters": [
|
24118
|
-
{
|
24119
|
-
"name": "key",
|
24120
|
-
"$ref": "PreloadingAttemptKey"
|
24121
|
-
},
|
24122
|
-
{
|
24123
|
-
"name": "initiatingFrameId",
|
24124
|
-
"description": "The frame id of the frame initiating prerendering.",
|
24125
|
-
"$ref": "Page.FrameId"
|
24126
|
-
},
|
24127
|
-
{
|
24128
|
-
"name": "prerenderingUrl",
|
24129
|
-
"type": "string"
|
24130
|
-
},
|
24131
|
-
{
|
24132
|
-
"name": "finalStatus",
|
24133
|
-
"$ref": "PrerenderFinalStatus"
|
24134
|
-
},
|
24135
|
-
{
|
24136
|
-
"name": "disallowedApiMethod",
|
24137
|
-
"description": "This is used to give users more information about the name of the API call\nthat is incompatible with prerender and has caused the cancellation of the attempt",
|
24138
|
-
"optional": true,
|
24139
|
-
"type": "string"
|
24140
|
-
}
|
24141
|
-
]
|
24142
|
-
},
|
24143
24114
|
{
|
24144
24115
|
"name": "preloadEnabledStateUpdated",
|
24145
24116
|
"description": "Fired when a preload enabled state is updated.",
|
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/browser_protocol.pdl
CHANGED
@@ -9363,7 +9363,7 @@ experimental domain Storage
|
|
9363
9363
|
# Ad advertising element inside an interest group.
|
9364
9364
|
type InterestGroupAd extends object
|
9365
9365
|
properties
|
9366
|
-
string
|
9366
|
+
string renderURL
|
9367
9367
|
optional string metadata
|
9368
9368
|
|
9369
9369
|
# The full details of an interest group.
|
@@ -9373,10 +9373,10 @@ experimental domain Storage
|
|
9373
9373
|
string name
|
9374
9374
|
Network.TimeSinceEpoch expirationTime
|
9375
9375
|
string joiningOrigin
|
9376
|
-
optional string
|
9377
|
-
optional string
|
9378
|
-
optional string
|
9379
|
-
optional string
|
9376
|
+
optional string biddingLogicURL
|
9377
|
+
optional string biddingWasmHelperURL
|
9378
|
+
optional string updateURL
|
9379
|
+
optional string trustedBiddingSignalsURL
|
9380
9380
|
array of string trustedBiddingSignalsKeys
|
9381
9381
|
optional string userBiddingSignals
|
9382
9382
|
array of InterestGroupAd ads
|
@@ -11385,18 +11385,6 @@ experimental domain Preload
|
|
11385
11385
|
RedirectedPrerenderingUrlHasEffectiveUrl
|
11386
11386
|
ActivationUrlHasEffectiveUrl
|
11387
11387
|
|
11388
|
-
# Fired when a prerender attempt is completed.
|
11389
|
-
event prerenderAttemptCompleted
|
11390
|
-
parameters
|
11391
|
-
PreloadingAttemptKey key
|
11392
|
-
# The frame id of the frame initiating prerendering.
|
11393
|
-
Page.FrameId initiatingFrameId
|
11394
|
-
string prerenderingUrl
|
11395
|
-
PrerenderFinalStatus finalStatus
|
11396
|
-
# This is used to give users more information about the name of the API call
|
11397
|
-
# that is incompatible with prerender and has caused the cancellation of the attempt
|
11398
|
-
optional string disallowedApiMethod
|
11399
|
-
|
11400
11388
|
# Fired when a preload enabled state is updated.
|
11401
11389
|
event preloadEnabledStateUpdated
|
11402
11390
|
parameters
|
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.
|
@@ -726,10 +726,6 @@ export namespace ProtocolMapping {
|
|
726
726
|
*/
|
727
727
|
'Preload.ruleSetUpdated': [Protocol.Preload.RuleSetUpdatedEvent];
|
728
728
|
'Preload.ruleSetRemoved': [Protocol.Preload.RuleSetRemovedEvent];
|
729
|
-
/**
|
730
|
-
* Fired when a prerender attempt is completed.
|
731
|
-
*/
|
732
|
-
'Preload.prerenderAttemptCompleted': [Protocol.Preload.PrerenderAttemptCompletedEvent];
|
733
729
|
/**
|
734
730
|
* Fired when a preload enabled state is updated.
|
735
731
|
*/
|
@@ -4055,11 +4055,6 @@ export namespace ProtocolProxyApi {
|
|
4055
4055
|
|
4056
4056
|
on(event: 'ruleSetRemoved', listener: (params: Protocol.Preload.RuleSetRemovedEvent) => void): void;
|
4057
4057
|
|
4058
|
-
/**
|
4059
|
-
* Fired when a prerender attempt is completed.
|
4060
|
-
*/
|
4061
|
-
on(event: 'prerenderAttemptCompleted', listener: (params: Protocol.Preload.PrerenderAttemptCompletedEvent) => void): void;
|
4062
|
-
|
4063
4058
|
/**
|
4064
4059
|
* Fired when a preload enabled state is updated.
|
4065
4060
|
*/
|
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
|
}
|
@@ -15043,7 +15023,7 @@ export namespace Protocol {
|
|
15043
15023
|
* Ad advertising element inside an interest group.
|
15044
15024
|
*/
|
15045
15025
|
export interface InterestGroupAd {
|
15046
|
-
|
15026
|
+
renderURL: string;
|
15047
15027
|
metadata?: string;
|
15048
15028
|
}
|
15049
15029
|
|
@@ -15055,10 +15035,10 @@ export namespace Protocol {
|
|
15055
15035
|
name: string;
|
15056
15036
|
expirationTime: Network.TimeSinceEpoch;
|
15057
15037
|
joiningOrigin: string;
|
15058
|
-
|
15059
|
-
|
15060
|
-
|
15061
|
-
|
15038
|
+
biddingLogicURL?: string;
|
15039
|
+
biddingWasmHelperURL?: string;
|
15040
|
+
updateURL?: string;
|
15041
|
+
trustedBiddingSignalsURL?: string;
|
15062
15042
|
trustedBiddingSignalsKeys: string[];
|
15063
15043
|
userBiddingSignals?: string;
|
15064
15044
|
ads: InterestGroupAd[];
|
@@ -17566,24 +17546,6 @@ export namespace Protocol {
|
|
17566
17546
|
id: RuleSetId;
|
17567
17547
|
}
|
17568
17548
|
|
17569
|
-
/**
|
17570
|
-
* Fired when a prerender attempt is completed.
|
17571
|
-
*/
|
17572
|
-
export interface PrerenderAttemptCompletedEvent {
|
17573
|
-
key: PreloadingAttemptKey;
|
17574
|
-
/**
|
17575
|
-
* The frame id of the frame initiating prerendering.
|
17576
|
-
*/
|
17577
|
-
initiatingFrameId: Page.FrameId;
|
17578
|
-
prerenderingUrl: string;
|
17579
|
-
finalStatus: PrerenderFinalStatus;
|
17580
|
-
/**
|
17581
|
-
* This is used to give users more information about the name of the API call
|
17582
|
-
* that is incompatible with prerender and has caused the cancellation of the attempt
|
17583
|
-
*/
|
17584
|
-
disallowedApiMethod?: string;
|
17585
|
-
}
|
17586
|
-
|
17587
17549
|
/**
|
17588
17550
|
* Fired when a preload enabled state is updated.
|
17589
17551
|
*/
|