devtools-protocol 0.0.942138 → 0.0.944179
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.
|
@@ -11184,6 +11184,20 @@
|
|
|
11184
11184
|
"description": "Cookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port.\nAn unspecified port value allows protocol clients to emulate legacy cookie scope for the port.\nThis is a temporary ability and it will be removed in the future.",
|
|
11185
11185
|
"experimental": true,
|
|
11186
11186
|
"type": "integer"
|
|
11187
|
+
},
|
|
11188
|
+
{
|
|
11189
|
+
"name": "partitionKey",
|
|
11190
|
+
"description": "Cookie partition key. The site of the top-level URL the browser was visiting at the start\nof the request to the endpoint that set the cookie.",
|
|
11191
|
+
"experimental": true,
|
|
11192
|
+
"optional": true,
|
|
11193
|
+
"type": "string"
|
|
11194
|
+
},
|
|
11195
|
+
{
|
|
11196
|
+
"name": "partitionKeyOpaque",
|
|
11197
|
+
"description": "True if cookie partition key is opaque.",
|
|
11198
|
+
"experimental": true,
|
|
11199
|
+
"optional": true,
|
|
11200
|
+
"type": "boolean"
|
|
11187
11201
|
}
|
|
11188
11202
|
]
|
|
11189
11203
|
},
|
|
@@ -11367,6 +11381,13 @@
|
|
|
11367
11381
|
"experimental": true,
|
|
11368
11382
|
"optional": true,
|
|
11369
11383
|
"type": "integer"
|
|
11384
|
+
},
|
|
11385
|
+
{
|
|
11386
|
+
"name": "partitionKey",
|
|
11387
|
+
"description": "Cookie partition key. The site of the top-level URL the browser was visiting at the start\nof the request to the endpoint that set the cookie.\nIf not set, the cookie will be set as not partitioned.",
|
|
11388
|
+
"experimental": true,
|
|
11389
|
+
"optional": true,
|
|
11390
|
+
"type": "string"
|
|
11370
11391
|
}
|
|
11371
11392
|
]
|
|
11372
11393
|
},
|
|
@@ -11857,6 +11878,23 @@
|
|
|
11857
11878
|
}
|
|
11858
11879
|
]
|
|
11859
11880
|
},
|
|
11881
|
+
{
|
|
11882
|
+
"id": "ReportingApiEndpoint",
|
|
11883
|
+
"experimental": true,
|
|
11884
|
+
"type": "object",
|
|
11885
|
+
"properties": [
|
|
11886
|
+
{
|
|
11887
|
+
"name": "url",
|
|
11888
|
+
"description": "The URL of the endpoint to which reports may be delivered.",
|
|
11889
|
+
"type": "string"
|
|
11890
|
+
},
|
|
11891
|
+
{
|
|
11892
|
+
"name": "groupName",
|
|
11893
|
+
"description": "Name of the endpoint group.",
|
|
11894
|
+
"type": "string"
|
|
11895
|
+
}
|
|
11896
|
+
]
|
|
11897
|
+
},
|
|
11860
11898
|
{
|
|
11861
11899
|
"id": "LoadNetworkResourcePageResult",
|
|
11862
11900
|
"description": "An object providing the result of a network resource load.",
|
|
@@ -12438,6 +12476,13 @@
|
|
|
12438
12476
|
"experimental": true,
|
|
12439
12477
|
"optional": true,
|
|
12440
12478
|
"type": "integer"
|
|
12479
|
+
},
|
|
12480
|
+
{
|
|
12481
|
+
"name": "partitionKey",
|
|
12482
|
+
"description": "Cookie partition key. The site of the top-level URL the browser was visiting at the start\nof the request to the endpoint that set the cookie.\nIf not set, the cookie will be set as not partitioned.",
|
|
12483
|
+
"experimental": true,
|
|
12484
|
+
"optional": true,
|
|
12485
|
+
"type": "string"
|
|
12441
12486
|
}
|
|
12442
12487
|
],
|
|
12443
12488
|
"returns": [
|
|
@@ -13404,6 +13449,24 @@
|
|
|
13404
13449
|
"$ref": "ReportingApiReport"
|
|
13405
13450
|
}
|
|
13406
13451
|
]
|
|
13452
|
+
},
|
|
13453
|
+
{
|
|
13454
|
+
"name": "reportingApiEndpointsChangedForOrigin",
|
|
13455
|
+
"experimental": true,
|
|
13456
|
+
"parameters": [
|
|
13457
|
+
{
|
|
13458
|
+
"name": "origin",
|
|
13459
|
+
"description": "Origin of the document(s) which configured the endpoints.",
|
|
13460
|
+
"type": "string"
|
|
13461
|
+
},
|
|
13462
|
+
{
|
|
13463
|
+
"name": "endpoints",
|
|
13464
|
+
"type": "array",
|
|
13465
|
+
"items": {
|
|
13466
|
+
"$ref": "ReportingApiEndpoint"
|
|
13467
|
+
}
|
|
13468
|
+
}
|
|
13469
|
+
]
|
|
13407
13470
|
}
|
|
13408
13471
|
]
|
|
13409
13472
|
},
|
|
@@ -19035,6 +19098,15 @@
|
|
|
19035
19098
|
"description": "Proxy bypass list, similar to the one passed to --proxy-bypass-list",
|
|
19036
19099
|
"optional": true,
|
|
19037
19100
|
"type": "string"
|
|
19101
|
+
},
|
|
19102
|
+
{
|
|
19103
|
+
"name": "originsWithUniversalNetworkAccess",
|
|
19104
|
+
"description": "An optional list of origins to grant unlimited cross-origin access to.\nParts of the URL other than those constituting origin are ignored.",
|
|
19105
|
+
"optional": true,
|
|
19106
|
+
"type": "array",
|
|
19107
|
+
"items": {
|
|
19108
|
+
"type": "string"
|
|
19109
|
+
}
|
|
19038
19110
|
}
|
|
19039
19111
|
],
|
|
19040
19112
|
"returns": [
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
|
@@ -5117,6 +5117,11 @@ domain Network
|
|
|
5117
5117
|
# An unspecified port value allows protocol clients to emulate legacy cookie scope for the port.
|
|
5118
5118
|
# This is a temporary ability and it will be removed in the future.
|
|
5119
5119
|
experimental integer sourcePort
|
|
5120
|
+
# Cookie partition key. The site of the top-level URL the browser was visiting at the start
|
|
5121
|
+
# of the request to the endpoint that set the cookie.
|
|
5122
|
+
experimental optional string partitionKey
|
|
5123
|
+
# True if cookie partition key is opaque.
|
|
5124
|
+
experimental optional boolean partitionKeyOpaque
|
|
5120
5125
|
|
|
5121
5126
|
# Types of reasons why a cookie may not be stored from a response.
|
|
5122
5127
|
experimental type SetCookieBlockedReason extends string
|
|
@@ -5275,6 +5280,10 @@ domain Network
|
|
|
5275
5280
|
# An unspecified port value allows protocol clients to emulate legacy cookie scope for the port.
|
|
5276
5281
|
# This is a temporary ability and it will be removed in the future.
|
|
5277
5282
|
experimental optional integer sourcePort
|
|
5283
|
+
# Cookie partition key. The site of the top-level URL the browser was visiting at the start
|
|
5284
|
+
# of the request to the endpoint that set the cookie.
|
|
5285
|
+
# If not set, the cookie will be set as not partitioned.
|
|
5286
|
+
experimental optional string partitionKey
|
|
5278
5287
|
|
|
5279
5288
|
# Authorization challenge for HTTP status code 401 or 407.
|
|
5280
5289
|
experimental type AuthChallenge extends object
|
|
@@ -5645,6 +5654,10 @@ domain Network
|
|
|
5645
5654
|
# An unspecified port value allows protocol clients to emulate legacy cookie scope for the port.
|
|
5646
5655
|
# This is a temporary ability and it will be removed in the future.
|
|
5647
5656
|
experimental optional integer sourcePort
|
|
5657
|
+
# Cookie partition key. The site of the top-level URL the browser was visiting at the start
|
|
5658
|
+
# of the request to the endpoint that set the cookie.
|
|
5659
|
+
# If not set, the cookie will be set as not partitioned.
|
|
5660
|
+
experimental optional string partitionKey
|
|
5648
5661
|
returns
|
|
5649
5662
|
# Always set to true. If an error occurs, the response indicates protocol error.
|
|
5650
5663
|
deprecated boolean success
|
|
@@ -6191,6 +6204,19 @@ domain Network
|
|
|
6191
6204
|
parameters
|
|
6192
6205
|
ReportingApiReport report
|
|
6193
6206
|
|
|
6207
|
+
experimental type ReportingApiEndpoint extends object
|
|
6208
|
+
properties
|
|
6209
|
+
# The URL of the endpoint to which reports may be delivered.
|
|
6210
|
+
string url
|
|
6211
|
+
# Name of the endpoint group.
|
|
6212
|
+
string groupName
|
|
6213
|
+
|
|
6214
|
+
experimental event reportingApiEndpointsChangedForOrigin
|
|
6215
|
+
parameters
|
|
6216
|
+
# Origin of the document(s) which configured the endpoints.
|
|
6217
|
+
string origin
|
|
6218
|
+
array of ReportingApiEndpoint endpoints
|
|
6219
|
+
|
|
6194
6220
|
# An object providing the result of a network resource load.
|
|
6195
6221
|
experimental type LoadNetworkResourcePageResult extends object
|
|
6196
6222
|
properties
|
|
@@ -8903,6 +8929,9 @@ domain Target
|
|
|
8903
8929
|
optional string proxyServer
|
|
8904
8930
|
# Proxy bypass list, similar to the one passed to --proxy-bypass-list
|
|
8905
8931
|
optional string proxyBypassList
|
|
8932
|
+
# An optional list of origins to grant unlimited cross-origin access to.
|
|
8933
|
+
# Parts of the URL other than those constituting origin are ignored.
|
|
8934
|
+
optional array of string originsWithUniversalNetworkAccess
|
|
8906
8935
|
|
|
8907
8936
|
returns
|
|
8908
8937
|
# The id of the context created.
|
|
@@ -384,6 +384,7 @@ export namespace ProtocolMapping {
|
|
|
384
384
|
*/
|
|
385
385
|
'Network.reportingApiReportAdded': [Protocol.Network.ReportingApiReportAddedEvent];
|
|
386
386
|
'Network.reportingApiReportUpdated': [Protocol.Network.ReportingApiReportUpdatedEvent];
|
|
387
|
+
'Network.reportingApiEndpointsChangedForOrigin': [Protocol.Network.ReportingApiEndpointsChangedForOriginEvent];
|
|
387
388
|
/**
|
|
388
389
|
* Fired when the node should be inspected. This happens after call to `setInspectMode` or when
|
|
389
390
|
* user manually inspects an element.
|
|
@@ -2429,6 +2429,8 @@ export namespace ProtocolProxyApi {
|
|
|
2429
2429
|
|
|
2430
2430
|
on(event: 'reportingApiReportUpdated', listener: (params: Protocol.Network.ReportingApiReportUpdatedEvent) => void): void;
|
|
2431
2431
|
|
|
2432
|
+
on(event: 'reportingApiEndpointsChangedForOrigin', listener: (params: Protocol.Network.ReportingApiEndpointsChangedForOriginEvent) => void): void;
|
|
2433
|
+
|
|
2432
2434
|
}
|
|
2433
2435
|
|
|
2434
2436
|
export interface OverlayApi {
|
package/types/protocol.d.ts
CHANGED
|
@@ -9563,6 +9563,15 @@ export namespace Protocol {
|
|
|
9563
9563
|
* This is a temporary ability and it will be removed in the future.
|
|
9564
9564
|
*/
|
|
9565
9565
|
sourcePort: integer;
|
|
9566
|
+
/**
|
|
9567
|
+
* Cookie partition key. The site of the top-level URL the browser was visiting at the start
|
|
9568
|
+
* of the request to the endpoint that set the cookie.
|
|
9569
|
+
*/
|
|
9570
|
+
partitionKey?: string;
|
|
9571
|
+
/**
|
|
9572
|
+
* True if cookie partition key is opaque.
|
|
9573
|
+
*/
|
|
9574
|
+
partitionKeyOpaque?: boolean;
|
|
9566
9575
|
}
|
|
9567
9576
|
|
|
9568
9577
|
/**
|
|
@@ -9669,6 +9678,12 @@ export namespace Protocol {
|
|
|
9669
9678
|
* This is a temporary ability and it will be removed in the future.
|
|
9670
9679
|
*/
|
|
9671
9680
|
sourcePort?: integer;
|
|
9681
|
+
/**
|
|
9682
|
+
* Cookie partition key. The site of the top-level URL the browser was visiting at the start
|
|
9683
|
+
* of the request to the endpoint that set the cookie.
|
|
9684
|
+
* If not set, the cookie will be set as not partitioned.
|
|
9685
|
+
*/
|
|
9686
|
+
partitionKey?: string;
|
|
9672
9687
|
}
|
|
9673
9688
|
|
|
9674
9689
|
export const enum AuthChallengeSource {
|
|
@@ -9953,6 +9968,17 @@ export namespace Protocol {
|
|
|
9953
9968
|
status: ReportStatus;
|
|
9954
9969
|
}
|
|
9955
9970
|
|
|
9971
|
+
export interface ReportingApiEndpoint {
|
|
9972
|
+
/**
|
|
9973
|
+
* The URL of the endpoint to which reports may be delivered.
|
|
9974
|
+
*/
|
|
9975
|
+
url: string;
|
|
9976
|
+
/**
|
|
9977
|
+
* Name of the endpoint group.
|
|
9978
|
+
*/
|
|
9979
|
+
groupName: string;
|
|
9980
|
+
}
|
|
9981
|
+
|
|
9956
9982
|
/**
|
|
9957
9983
|
* An object providing the result of a network resource load.
|
|
9958
9984
|
*/
|
|
@@ -10309,6 +10335,12 @@ export namespace Protocol {
|
|
|
10309
10335
|
* This is a temporary ability and it will be removed in the future.
|
|
10310
10336
|
*/
|
|
10311
10337
|
sourcePort?: integer;
|
|
10338
|
+
/**
|
|
10339
|
+
* Cookie partition key. The site of the top-level URL the browser was visiting at the start
|
|
10340
|
+
* of the request to the endpoint that set the cookie.
|
|
10341
|
+
* If not set, the cookie will be set as not partitioned.
|
|
10342
|
+
*/
|
|
10343
|
+
partitionKey?: string;
|
|
10312
10344
|
}
|
|
10313
10345
|
|
|
10314
10346
|
export interface SetCookieResponse {
|
|
@@ -11075,6 +11107,14 @@ export namespace Protocol {
|
|
|
11075
11107
|
export interface ReportingApiReportUpdatedEvent {
|
|
11076
11108
|
report: ReportingApiReport;
|
|
11077
11109
|
}
|
|
11110
|
+
|
|
11111
|
+
export interface ReportingApiEndpointsChangedForOriginEvent {
|
|
11112
|
+
/**
|
|
11113
|
+
* Origin of the document(s) which configured the endpoints.
|
|
11114
|
+
*/
|
|
11115
|
+
origin: string;
|
|
11116
|
+
endpoints: ReportingApiEndpoint[];
|
|
11117
|
+
}
|
|
11078
11118
|
}
|
|
11079
11119
|
|
|
11080
11120
|
/**
|
|
@@ -14493,6 +14533,11 @@ export namespace Protocol {
|
|
|
14493
14533
|
* Proxy bypass list, similar to the one passed to --proxy-bypass-list
|
|
14494
14534
|
*/
|
|
14495
14535
|
proxyBypassList?: string;
|
|
14536
|
+
/**
|
|
14537
|
+
* An optional list of origins to grant unlimited cross-origin access to.
|
|
14538
|
+
* Parts of the URL other than those constituting origin are ignored.
|
|
14539
|
+
*/
|
|
14540
|
+
originsWithUniversalNetworkAccess?: string[];
|
|
14496
14541
|
}
|
|
14497
14542
|
|
|
14498
14543
|
export interface CreateBrowserContextResponse {
|