devtools-protocol 0.0.939969 → 0.0.942138

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
  },
@@ -14578,6 +14616,7 @@
14578
14616
  "ch-ua-model",
14579
14617
  "ch-ua-mobile",
14580
14618
  "ch-ua-full-version",
14619
+ "ch-ua-full-version-list",
14581
14620
  "ch-ua-platform-version",
14582
14621
  "ch-ua-reduced",
14583
14622
  "ch-viewport-height",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.939969",
3
+ "version": "0.0.942138",
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
@@ -6767,6 +6781,7 @@ domain Page
6767
6781
  ch-ua-model
6768
6782
  ch-ua-mobile
6769
6783
  ch-ua-full-version
6784
+ ch-ua-full-version-list
6770
6785
  ch-ua-platform-version
6771
6786
  ch-ua-reduced
6772
6787
  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 {
@@ -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;
@@ -11806,7 +11828,7 @@ export namespace Protocol {
11806
11828
  * All Permissions Policy features. This enum should match the one defined
11807
11829
  * in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
11808
11830
  */
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');
11831
+ 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
11832
 
11811
11833
  /**
11812
11834
  * Reason for a permissions policy feature to be disabled.