devtools-protocol 0.0.940865 → 0.0.943687
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 +101 -0
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +41 -0
- package/types/protocol-mapping.d.ts +10 -0
- package/types/protocol-proxy-api.d.ts +13 -0
- package/types/protocol.d.ts +65 -0
|
@@ -549,6 +549,35 @@
|
|
|
549
549
|
}
|
|
550
550
|
]
|
|
551
551
|
}
|
|
552
|
+
],
|
|
553
|
+
"events": [
|
|
554
|
+
{
|
|
555
|
+
"name": "loadComplete",
|
|
556
|
+
"description": "The loadComplete event mirrors the load complete event sent by the browser to assistive\ntechnology when the web page has finished loading.",
|
|
557
|
+
"experimental": true,
|
|
558
|
+
"parameters": [
|
|
559
|
+
{
|
|
560
|
+
"name": "root",
|
|
561
|
+
"description": "New document root node.",
|
|
562
|
+
"$ref": "AXNode"
|
|
563
|
+
}
|
|
564
|
+
]
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
"name": "nodesUpdated",
|
|
568
|
+
"description": "The nodesUpdated event is sent every time a previously requested node has changed the in tree.",
|
|
569
|
+
"experimental": true,
|
|
570
|
+
"parameters": [
|
|
571
|
+
{
|
|
572
|
+
"name": "nodes",
|
|
573
|
+
"description": "Updated node data.",
|
|
574
|
+
"type": "array",
|
|
575
|
+
"items": {
|
|
576
|
+
"$ref": "AXNode"
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
]
|
|
580
|
+
}
|
|
552
581
|
]
|
|
553
582
|
},
|
|
554
583
|
{
|
|
@@ -11155,6 +11184,20 @@
|
|
|
11155
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.",
|
|
11156
11185
|
"experimental": true,
|
|
11157
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"
|
|
11158
11201
|
}
|
|
11159
11202
|
]
|
|
11160
11203
|
},
|
|
@@ -11338,6 +11381,13 @@
|
|
|
11338
11381
|
"experimental": true,
|
|
11339
11382
|
"optional": true,
|
|
11340
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"
|
|
11341
11391
|
}
|
|
11342
11392
|
]
|
|
11343
11393
|
},
|
|
@@ -11828,6 +11878,23 @@
|
|
|
11828
11878
|
}
|
|
11829
11879
|
]
|
|
11830
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
|
+
},
|
|
11831
11898
|
{
|
|
11832
11899
|
"id": "LoadNetworkResourcePageResult",
|
|
11833
11900
|
"description": "An object providing the result of a network resource load.",
|
|
@@ -12409,6 +12476,13 @@
|
|
|
12409
12476
|
"experimental": true,
|
|
12410
12477
|
"optional": true,
|
|
12411
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"
|
|
12412
12486
|
}
|
|
12413
12487
|
],
|
|
12414
12488
|
"returns": [
|
|
@@ -13375,6 +13449,24 @@
|
|
|
13375
13449
|
"$ref": "ReportingApiReport"
|
|
13376
13450
|
}
|
|
13377
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
|
+
]
|
|
13378
13470
|
}
|
|
13379
13471
|
]
|
|
13380
13472
|
},
|
|
@@ -19006,6 +19098,15 @@
|
|
|
19006
19098
|
"description": "Proxy bypass list, similar to the one passed to --proxy-bypass-list",
|
|
19007
19099
|
"optional": true,
|
|
19008
19100
|
"type": "string"
|
|
19101
|
+
},
|
|
19102
|
+
{
|
|
19103
|
+
"name": "originsWithUniversalNetworkAccess",
|
|
19104
|
+
"description": "An optional list of origins to grant unlimited cross-origin access to.",
|
|
19105
|
+
"optional": true,
|
|
19106
|
+
"type": "array",
|
|
19107
|
+
"items": {
|
|
19108
|
+
"type": "string"
|
|
19109
|
+
}
|
|
19009
19110
|
}
|
|
19010
19111
|
],
|
|
19011
19112
|
"returns": [
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
|
@@ -278,6 +278,19 @@ experimental domain Accessibility
|
|
|
278
278
|
# including nodes that are ignored for accessibility.
|
|
279
279
|
array of AXNode nodes
|
|
280
280
|
|
|
281
|
+
# The loadComplete event mirrors the load complete event sent by the browser to assistive
|
|
282
|
+
# technology when the web page has finished loading.
|
|
283
|
+
experimental event loadComplete
|
|
284
|
+
parameters
|
|
285
|
+
# New document root node.
|
|
286
|
+
AXNode root
|
|
287
|
+
|
|
288
|
+
# The nodesUpdated event is sent every time a previously requested node has changed the in tree.
|
|
289
|
+
experimental event nodesUpdated
|
|
290
|
+
parameters
|
|
291
|
+
# Updated node data.
|
|
292
|
+
array of AXNode nodes
|
|
293
|
+
|
|
281
294
|
experimental domain Animation
|
|
282
295
|
depends on Runtime
|
|
283
296
|
depends on DOM
|
|
@@ -5104,6 +5117,11 @@ domain Network
|
|
|
5104
5117
|
# An unspecified port value allows protocol clients to emulate legacy cookie scope for the port.
|
|
5105
5118
|
# This is a temporary ability and it will be removed in the future.
|
|
5106
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
|
|
5107
5125
|
|
|
5108
5126
|
# Types of reasons why a cookie may not be stored from a response.
|
|
5109
5127
|
experimental type SetCookieBlockedReason extends string
|
|
@@ -5262,6 +5280,10 @@ domain Network
|
|
|
5262
5280
|
# An unspecified port value allows protocol clients to emulate legacy cookie scope for the port.
|
|
5263
5281
|
# This is a temporary ability and it will be removed in the future.
|
|
5264
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
|
|
5265
5287
|
|
|
5266
5288
|
# Authorization challenge for HTTP status code 401 or 407.
|
|
5267
5289
|
experimental type AuthChallenge extends object
|
|
@@ -5632,6 +5654,10 @@ domain Network
|
|
|
5632
5654
|
# An unspecified port value allows protocol clients to emulate legacy cookie scope for the port.
|
|
5633
5655
|
# This is a temporary ability and it will be removed in the future.
|
|
5634
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
|
|
5635
5661
|
returns
|
|
5636
5662
|
# Always set to true. If an error occurs, the response indicates protocol error.
|
|
5637
5663
|
deprecated boolean success
|
|
@@ -6178,6 +6204,19 @@ domain Network
|
|
|
6178
6204
|
parameters
|
|
6179
6205
|
ReportingApiReport report
|
|
6180
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
|
+
|
|
6181
6220
|
# An object providing the result of a network resource load.
|
|
6182
6221
|
experimental type LoadNetworkResourcePageResult extends object
|
|
6183
6222
|
properties
|
|
@@ -8890,6 +8929,8 @@ domain Target
|
|
|
8890
8929
|
optional string proxyServer
|
|
8891
8930
|
# Proxy bypass list, similar to the one passed to --proxy-bypass-list
|
|
8892
8931
|
optional string proxyBypassList
|
|
8932
|
+
# An optional list of origins to grant unlimited cross-origin access to.
|
|
8933
|
+
optional array of string originsWithUniversalNetworkAccess
|
|
8893
8934
|
|
|
8894
8935
|
returns
|
|
8895
8936
|
# The id of the context created.
|
|
@@ -92,6 +92,15 @@ export namespace ProtocolMapping {
|
|
|
92
92
|
* call).
|
|
93
93
|
*/
|
|
94
94
|
'Runtime.inspectRequested': [Protocol.Runtime.InspectRequestedEvent];
|
|
95
|
+
/**
|
|
96
|
+
* The loadComplete event mirrors the load complete event sent by the browser to assistive
|
|
97
|
+
* technology when the web page has finished loading.
|
|
98
|
+
*/
|
|
99
|
+
'Accessibility.loadComplete': [Protocol.Accessibility.LoadCompleteEvent];
|
|
100
|
+
/**
|
|
101
|
+
* The nodesUpdated event is sent every time a previously requested node has changed the in tree.
|
|
102
|
+
*/
|
|
103
|
+
'Accessibility.nodesUpdated': [Protocol.Accessibility.NodesUpdatedEvent];
|
|
95
104
|
/**
|
|
96
105
|
* Event for when an animation has been cancelled.
|
|
97
106
|
*/
|
|
@@ -375,6 +384,7 @@ export namespace ProtocolMapping {
|
|
|
375
384
|
*/
|
|
376
385
|
'Network.reportingApiReportAdded': [Protocol.Network.ReportingApiReportAddedEvent];
|
|
377
386
|
'Network.reportingApiReportUpdated': [Protocol.Network.ReportingApiReportUpdatedEvent];
|
|
387
|
+
'Network.reportingApiEndpointsChangedForOrigin': [Protocol.Network.ReportingApiEndpointsChangedForOriginEvent];
|
|
378
388
|
/**
|
|
379
389
|
* Fired when the node should be inspected. This happens after call to `setInspectMode` or when
|
|
380
390
|
* user manually inspects an element.
|
|
@@ -653,6 +653,17 @@ export namespace ProtocolProxyApi {
|
|
|
653
653
|
*/
|
|
654
654
|
queryAXTree(params: Protocol.Accessibility.QueryAXTreeRequest): Promise<Protocol.Accessibility.QueryAXTreeResponse>;
|
|
655
655
|
|
|
656
|
+
/**
|
|
657
|
+
* The loadComplete event mirrors the load complete event sent by the browser to assistive
|
|
658
|
+
* technology when the web page has finished loading.
|
|
659
|
+
*/
|
|
660
|
+
on(event: 'loadComplete', listener: (params: Protocol.Accessibility.LoadCompleteEvent) => void): void;
|
|
661
|
+
|
|
662
|
+
/**
|
|
663
|
+
* The nodesUpdated event is sent every time a previously requested node has changed the in tree.
|
|
664
|
+
*/
|
|
665
|
+
on(event: 'nodesUpdated', listener: (params: Protocol.Accessibility.NodesUpdatedEvent) => void): void;
|
|
666
|
+
|
|
656
667
|
}
|
|
657
668
|
|
|
658
669
|
export interface AnimationApi {
|
|
@@ -2418,6 +2429,8 @@ export namespace ProtocolProxyApi {
|
|
|
2418
2429
|
|
|
2419
2430
|
on(event: 'reportingApiReportUpdated', listener: (params: Protocol.Network.ReportingApiReportUpdatedEvent) => void): void;
|
|
2420
2431
|
|
|
2432
|
+
on(event: 'reportingApiEndpointsChangedForOrigin', listener: (params: Protocol.Network.ReportingApiEndpointsChangedForOriginEvent) => void): void;
|
|
2433
|
+
|
|
2421
2434
|
}
|
|
2422
2435
|
|
|
2423
2436
|
export interface OverlayApi {
|
package/types/protocol.d.ts
CHANGED
|
@@ -2771,6 +2771,27 @@ export namespace Protocol {
|
|
|
2771
2771
|
*/
|
|
2772
2772
|
nodes: AXNode[];
|
|
2773
2773
|
}
|
|
2774
|
+
|
|
2775
|
+
/**
|
|
2776
|
+
* The loadComplete event mirrors the load complete event sent by the browser to assistive
|
|
2777
|
+
* technology when the web page has finished loading.
|
|
2778
|
+
*/
|
|
2779
|
+
export interface LoadCompleteEvent {
|
|
2780
|
+
/**
|
|
2781
|
+
* New document root node.
|
|
2782
|
+
*/
|
|
2783
|
+
root: AXNode;
|
|
2784
|
+
}
|
|
2785
|
+
|
|
2786
|
+
/**
|
|
2787
|
+
* The nodesUpdated event is sent every time a previously requested node has changed the in tree.
|
|
2788
|
+
*/
|
|
2789
|
+
export interface NodesUpdatedEvent {
|
|
2790
|
+
/**
|
|
2791
|
+
* Updated node data.
|
|
2792
|
+
*/
|
|
2793
|
+
nodes: AXNode[];
|
|
2794
|
+
}
|
|
2774
2795
|
}
|
|
2775
2796
|
|
|
2776
2797
|
export namespace Animation {
|
|
@@ -9542,6 +9563,15 @@ export namespace Protocol {
|
|
|
9542
9563
|
* This is a temporary ability and it will be removed in the future.
|
|
9543
9564
|
*/
|
|
9544
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;
|
|
9545
9575
|
}
|
|
9546
9576
|
|
|
9547
9577
|
/**
|
|
@@ -9648,6 +9678,12 @@ export namespace Protocol {
|
|
|
9648
9678
|
* This is a temporary ability and it will be removed in the future.
|
|
9649
9679
|
*/
|
|
9650
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;
|
|
9651
9687
|
}
|
|
9652
9688
|
|
|
9653
9689
|
export const enum AuthChallengeSource {
|
|
@@ -9932,6 +9968,17 @@ export namespace Protocol {
|
|
|
9932
9968
|
status: ReportStatus;
|
|
9933
9969
|
}
|
|
9934
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
|
+
|
|
9935
9982
|
/**
|
|
9936
9983
|
* An object providing the result of a network resource load.
|
|
9937
9984
|
*/
|
|
@@ -10288,6 +10335,12 @@ export namespace Protocol {
|
|
|
10288
10335
|
* This is a temporary ability and it will be removed in the future.
|
|
10289
10336
|
*/
|
|
10290
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;
|
|
10291
10344
|
}
|
|
10292
10345
|
|
|
10293
10346
|
export interface SetCookieResponse {
|
|
@@ -11054,6 +11107,14 @@ export namespace Protocol {
|
|
|
11054
11107
|
export interface ReportingApiReportUpdatedEvent {
|
|
11055
11108
|
report: ReportingApiReport;
|
|
11056
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
|
+
}
|
|
11057
11118
|
}
|
|
11058
11119
|
|
|
11059
11120
|
/**
|
|
@@ -14472,6 +14533,10 @@ export namespace Protocol {
|
|
|
14472
14533
|
* Proxy bypass list, similar to the one passed to --proxy-bypass-list
|
|
14473
14534
|
*/
|
|
14474
14535
|
proxyBypassList?: string;
|
|
14536
|
+
/**
|
|
14537
|
+
* An optional list of origins to grant unlimited cross-origin access to.
|
|
14538
|
+
*/
|
|
14539
|
+
originsWithUniversalNetworkAccess?: string[];
|
|
14475
14540
|
}
|
|
14476
14541
|
|
|
14477
14542
|
export interface CreateBrowserContextResponse {
|