devtools-protocol 0.0.940363 → 0.0.943452

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
  },
@@ -11819,6 +11878,23 @@
11819
11878
  }
11820
11879
  ]
11821
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
+ },
11822
11898
  {
11823
11899
  "id": "LoadNetworkResourcePageResult",
11824
11900
  "description": "An object providing the result of a network resource load.",
@@ -12400,6 +12476,13 @@
12400
12476
  "experimental": true,
12401
12477
  "optional": true,
12402
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"
12403
12486
  }
12404
12487
  ],
12405
12488
  "returns": [
@@ -13366,6 +13449,24 @@
13366
13449
  "$ref": "ReportingApiReport"
13367
13450
  }
13368
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
+ ]
13369
13470
  }
13370
13471
  ]
13371
13472
  },
@@ -14578,6 +14679,7 @@
14578
14679
  "ch-ua-model",
14579
14680
  "ch-ua-mobile",
14580
14681
  "ch-ua-full-version",
14682
+ "ch-ua-full-version-list",
14581
14683
  "ch-ua-platform-version",
14582
14684
  "ch-ua-reduced",
14583
14685
  "ch-viewport-height",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.940363",
3
+ "version": "0.0.943452",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -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 string fullVersion
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
@@ -6177,6 +6204,19 @@ domain Network
6177
6204
  parameters
6178
6205
  ReportingApiReport report
6179
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
+
6180
6220
  # An object providing the result of a network resource load.
6181
6221
  experimental type LoadNetworkResourcePageResult extends object
6182
6222
  properties
@@ -6767,6 +6807,7 @@ domain Page
6767
6807
  ch-ua-model
6768
6808
  ch-ua-mobile
6769
6809
  ch-ua-full-version
6810
+ ch-ua-full-version-list
6770
6811
  ch-ua-platform-version
6771
6812
  ch-ua-reduced
6772
6813
  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
  */
@@ -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 {
@@ -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 {
@@ -9931,6 +9968,17 @@ export namespace Protocol {
9931
9968
  status: ReportStatus;
9932
9969
  }
9933
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
+
9934
9982
  /**
9935
9983
  * An object providing the result of a network resource load.
9936
9984
  */
@@ -10287,6 +10335,12 @@ export namespace Protocol {
10287
10335
  * This is a temporary ability and it will be removed in the future.
10288
10336
  */
10289
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;
10290
10344
  }
10291
10345
 
10292
10346
  export interface SetCookieResponse {
@@ -11053,6 +11107,14 @@ export namespace Protocol {
11053
11107
  export interface ReportingApiReportUpdatedEvent {
11054
11108
  report: ReportingApiReport;
11055
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
+ }
11056
11118
  }
11057
11119
 
11058
11120
  /**
@@ -11806,7 +11868,7 @@ export namespace Protocol {
11806
11868
  * All Permissions Policy features. This enum should match the one defined
11807
11869
  * in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
11808
11870
  */
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');
11871
+ 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
11872
 
11811
11873
  /**
11812
11874
  * Reason for a permissions policy feature to be disabled.