devtools-protocol 0.0.940028 → 0.0.943026
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.
|
@@ -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
|
{
|
|
@@ -7471,8 +7500,17 @@
|
|
|
7471
7500
|
"$ref": "UserAgentBrandVersion"
|
|
7472
7501
|
}
|
|
7473
7502
|
},
|
|
7503
|
+
{
|
|
7504
|
+
"name": "fullVersionList",
|
|
7505
|
+
"optional": true,
|
|
7506
|
+
"type": "array",
|
|
7507
|
+
"items": {
|
|
7508
|
+
"$ref": "UserAgentBrandVersion"
|
|
7509
|
+
}
|
|
7510
|
+
},
|
|
7474
7511
|
{
|
|
7475
7512
|
"name": "fullVersion",
|
|
7513
|
+
"deprecated": true,
|
|
7476
7514
|
"optional": true,
|
|
7477
7515
|
"type": "string"
|
|
7478
7516
|
},
|
|
@@ -11146,6 +11184,20 @@
|
|
|
11146
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.",
|
|
11147
11185
|
"experimental": true,
|
|
11148
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"
|
|
11149
11201
|
}
|
|
11150
11202
|
]
|
|
11151
11203
|
},
|
|
@@ -11329,6 +11381,13 @@
|
|
|
11329
11381
|
"experimental": true,
|
|
11330
11382
|
"optional": true,
|
|
11331
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"
|
|
11332
11391
|
}
|
|
11333
11392
|
]
|
|
11334
11393
|
},
|
|
@@ -12400,6 +12459,13 @@
|
|
|
12400
12459
|
"experimental": true,
|
|
12401
12460
|
"optional": true,
|
|
12402
12461
|
"type": "integer"
|
|
12462
|
+
},
|
|
12463
|
+
{
|
|
12464
|
+
"name": "partitionKey",
|
|
12465
|
+
"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.",
|
|
12466
|
+
"experimental": true,
|
|
12467
|
+
"optional": true,
|
|
12468
|
+
"type": "string"
|
|
12403
12469
|
}
|
|
12404
12470
|
],
|
|
12405
12471
|
"returns": [
|
|
@@ -14578,6 +14644,7 @@
|
|
|
14578
14644
|
"ch-ua-model",
|
|
14579
14645
|
"ch-ua-mobile",
|
|
14580
14646
|
"ch-ua-full-version",
|
|
14647
|
+
"ch-ua-full-version-list",
|
|
14581
14648
|
"ch-ua-platform-version",
|
|
14582
14649
|
"ch-ua-reduced",
|
|
14583
14650
|
"ch-viewport-height",
|
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
|
|
@@ -3383,7 +3396,8 @@ domain Emulation
|
|
|
3383
3396
|
experimental type UserAgentMetadata extends object
|
|
3384
3397
|
properties
|
|
3385
3398
|
optional array of UserAgentBrandVersion brands
|
|
3386
|
-
optional
|
|
3399
|
+
optional array of UserAgentBrandVersion fullVersionList
|
|
3400
|
+
deprecated optional string fullVersion
|
|
3387
3401
|
string platform
|
|
3388
3402
|
string platformVersion
|
|
3389
3403
|
string architecture
|
|
@@ -5103,6 +5117,11 @@ domain Network
|
|
|
5103
5117
|
# An unspecified port value allows protocol clients to emulate legacy cookie scope for the port.
|
|
5104
5118
|
# This is a temporary ability and it will be removed in the future.
|
|
5105
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
|
|
5106
5125
|
|
|
5107
5126
|
# Types of reasons why a cookie may not be stored from a response.
|
|
5108
5127
|
experimental type SetCookieBlockedReason extends string
|
|
@@ -5261,6 +5280,10 @@ domain Network
|
|
|
5261
5280
|
# An unspecified port value allows protocol clients to emulate legacy cookie scope for the port.
|
|
5262
5281
|
# This is a temporary ability and it will be removed in the future.
|
|
5263
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
|
|
5264
5287
|
|
|
5265
5288
|
# Authorization challenge for HTTP status code 401 or 407.
|
|
5266
5289
|
experimental type AuthChallenge extends object
|
|
@@ -5631,6 +5654,10 @@ domain Network
|
|
|
5631
5654
|
# An unspecified port value allows protocol clients to emulate legacy cookie scope for the port.
|
|
5632
5655
|
# This is a temporary ability and it will be removed in the future.
|
|
5633
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
|
|
5634
5661
|
returns
|
|
5635
5662
|
# Always set to true. If an error occurs, the response indicates protocol error.
|
|
5636
5663
|
deprecated boolean success
|
|
@@ -6767,6 +6794,7 @@ domain Page
|
|
|
6767
6794
|
ch-ua-model
|
|
6768
6795
|
ch-ua-mobile
|
|
6769
6796
|
ch-ua-full-version
|
|
6797
|
+
ch-ua-full-version-list
|
|
6770
6798
|
ch-ua-platform-version
|
|
6771
6799
|
ch-ua-reduced
|
|
6772
6800
|
ch-viewport-height
|
|
@@ -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
|
*/
|
|
@@ -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 {
|
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 {
|
|
@@ -7098,6 +7119,7 @@ export namespace Protocol {
|
|
|
7098
7119
|
*/
|
|
7099
7120
|
export interface UserAgentMetadata {
|
|
7100
7121
|
brands?: UserAgentBrandVersion[];
|
|
7122
|
+
fullVersionList?: UserAgentBrandVersion[];
|
|
7101
7123
|
fullVersion?: string;
|
|
7102
7124
|
platform: string;
|
|
7103
7125
|
platformVersion: string;
|
|
@@ -9541,6 +9563,15 @@ export namespace Protocol {
|
|
|
9541
9563
|
* This is a temporary ability and it will be removed in the future.
|
|
9542
9564
|
*/
|
|
9543
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;
|
|
9544
9575
|
}
|
|
9545
9576
|
|
|
9546
9577
|
/**
|
|
@@ -9647,6 +9678,12 @@ export namespace Protocol {
|
|
|
9647
9678
|
* This is a temporary ability and it will be removed in the future.
|
|
9648
9679
|
*/
|
|
9649
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;
|
|
9650
9687
|
}
|
|
9651
9688
|
|
|
9652
9689
|
export const enum AuthChallengeSource {
|
|
@@ -10287,6 +10324,12 @@ export namespace Protocol {
|
|
|
10287
10324
|
* This is a temporary ability and it will be removed in the future.
|
|
10288
10325
|
*/
|
|
10289
10326
|
sourcePort?: integer;
|
|
10327
|
+
/**
|
|
10328
|
+
* Cookie partition key. The site of the top-level URL the browser was visiting at the start
|
|
10329
|
+
* of the request to the endpoint that set the cookie.
|
|
10330
|
+
* If not set, the cookie will be set as not partitioned.
|
|
10331
|
+
*/
|
|
10332
|
+
partitionKey?: string;
|
|
10290
10333
|
}
|
|
10291
10334
|
|
|
10292
10335
|
export interface SetCookieResponse {
|
|
@@ -11806,7 +11849,7 @@ export namespace Protocol {
|
|
|
11806
11849
|
* All Permissions Policy features. This enum should match the one defined
|
|
11807
11850
|
* in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
|
|
11808
11851
|
*/
|
|
11809
|
-
export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'camera' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-rtt' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-full-version' | 'ch-ua-platform-version' | 'ch-ua-reduced' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'cross-origin-isolated' | 'direct-sockets' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'storage-access-api' | 'sync-xhr' | 'trust-token-redemption' | 'usb' | 'vertical-scroll' | 'web-share' | 'window-placement' | 'xr-spatial-tracking');
|
|
11852
|
+
export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'camera' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-rtt' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-reduced' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'cross-origin-isolated' | 'direct-sockets' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'storage-access-api' | 'sync-xhr' | 'trust-token-redemption' | 'usb' | 'vertical-scroll' | 'web-share' | 'window-placement' | 'xr-spatial-tracking');
|
|
11810
11853
|
|
|
11811
11854
|
/**
|
|
11812
11855
|
* Reason for a permissions policy feature to be disabled.
|