devtools-protocol 0.0.938546 → 0.0.939404

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.
@@ -308,6 +308,12 @@
308
308
  "$ref": "AXProperty"
309
309
  }
310
310
  },
311
+ {
312
+ "name": "parentId",
313
+ "description": "ID for this node's parent.",
314
+ "optional": true,
315
+ "$ref": "AXNodeId"
316
+ },
311
317
  {
312
318
  "name": "childIds",
313
319
  "description": "IDs for each of this node's child nodes.",
@@ -322,6 +328,12 @@
322
328
  "description": "The backend ID for the associated DOM node, if any.",
323
329
  "optional": true,
324
330
  "$ref": "DOM.BackendNodeId"
331
+ },
332
+ {
333
+ "name": "frameId",
334
+ "description": "The frame ID for the frame associated with this nodes document.",
335
+ "optional": true,
336
+ "$ref": "Page.FrameId"
325
337
  }
326
338
  ]
327
339
  }
@@ -411,6 +423,25 @@
411
423
  }
412
424
  ]
413
425
  },
426
+ {
427
+ "name": "getRootAXNode",
428
+ "description": "Fetches the root node.\nRequires `enable()` to have been called previously.",
429
+ "experimental": true,
430
+ "parameters": [
431
+ {
432
+ "name": "frameId",
433
+ "description": "The frame in whose document the node resides.\nIf omitted, the root frame is used.",
434
+ "optional": true,
435
+ "$ref": "Page.FrameId"
436
+ }
437
+ ],
438
+ "returns": [
439
+ {
440
+ "name": "node",
441
+ "$ref": "AXNode"
442
+ }
443
+ ]
444
+ },
414
445
  {
415
446
  "name": "getChildAXNodes",
416
447
  "description": "Fetches a particular accessibility node by AXNodeId.\nRequires `enable()` to have been called previously.",
@@ -14536,6 +14567,7 @@
14536
14567
  "hid",
14537
14568
  "idle-detection",
14538
14569
  "interest-cohort",
14570
+ "join-ad-interest-group",
14539
14571
  "keyboard-map",
14540
14572
  "magnetometer",
14541
14573
  "microphone",
@@ -14544,6 +14576,7 @@
14544
14576
  "payment",
14545
14577
  "picture-in-picture",
14546
14578
  "publickey-credentials-get",
14579
+ "run-ad-auction",
14547
14580
  "screen-wake-lock",
14548
14581
  "serial",
14549
14582
  "shared-autofill",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.938546",
3
+ "version": "0.0.939404",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -176,10 +176,14 @@ experimental domain Accessibility
176
176
  optional AXValue value
177
177
  # All other properties
178
178
  optional array of AXProperty properties
179
+ # ID for this node's parent.
180
+ optional AXNodeId parentId
179
181
  # IDs for each of this node's child nodes.
180
182
  optional array of AXNodeId childIds
181
183
  # The backend ID for the associated DOM node, if any.
182
184
  optional DOM.BackendNodeId backendDOMNodeId
185
+ # The frame ID for the frame associated with this nodes document.
186
+ optional Page.FrameId frameId
183
187
 
184
188
  # Disables the accessibility domain.
185
189
  command disable
@@ -218,6 +222,16 @@ experimental domain Accessibility
218
222
  returns
219
223
  array of AXNode nodes
220
224
 
225
+ # Fetches the root node.
226
+ # Requires `enable()` to have been called previously.
227
+ experimental command getRootAXNode
228
+ parameters
229
+ # The frame in whose document the node resides.
230
+ # If omitted, the root frame is used.
231
+ optional Page.FrameId frameId
232
+ returns
233
+ AXNode node
234
+
221
235
  # Fetches a particular accessibility node by AXNodeId.
222
236
  # Requires `enable()` to have been called previously.
223
237
  experimental command getChildAXNodes
@@ -6763,6 +6777,7 @@ domain Page
6763
6777
  hid
6764
6778
  idle-detection
6765
6779
  interest-cohort
6780
+ join-ad-interest-group
6766
6781
  keyboard-map
6767
6782
  magnetometer
6768
6783
  microphone
@@ -6771,6 +6786,7 @@ domain Page
6771
6786
  payment
6772
6787
  picture-in-picture
6773
6788
  publickey-credentials-get
6789
+ run-ad-auction
6774
6790
  screen-wake-lock
6775
6791
  serial
6776
6792
  shared-autofill
@@ -1243,6 +1243,14 @@ export namespace ProtocolMapping {
1243
1243
  paramsType: [Protocol.Accessibility.GetFullAXTreeRequest?];
1244
1244
  returnType: Protocol.Accessibility.GetFullAXTreeResponse;
1245
1245
  };
1246
+ /**
1247
+ * Fetches the root node.
1248
+ * Requires `enable()` to have been called previously.
1249
+ */
1250
+ 'Accessibility.getRootAXNode': {
1251
+ paramsType: [Protocol.Accessibility.GetRootAXNodeRequest?];
1252
+ returnType: Protocol.Accessibility.GetRootAXNodeResponse;
1253
+ };
1246
1254
  /**
1247
1255
  * Fetches a particular accessibility node by AXNodeId.
1248
1256
  * Requires `enable()` to have been called previously.
@@ -626,6 +626,12 @@ export namespace ProtocolProxyApi {
626
626
  */
627
627
  getFullAXTree(params: Protocol.Accessibility.GetFullAXTreeRequest): Promise<Protocol.Accessibility.GetFullAXTreeResponse>;
628
628
 
629
+ /**
630
+ * Fetches the root node.
631
+ * Requires `enable()` to have been called previously.
632
+ */
633
+ getRootAXNode(params: Protocol.Accessibility.GetRootAXNodeRequest): Promise<Protocol.Accessibility.GetRootAXNodeResponse>;
634
+
629
635
  /**
630
636
  * Fetches a particular accessibility node by AXNodeId.
631
637
  * Requires `enable()` to have been called previously.
@@ -2631,6 +2631,10 @@ export namespace Protocol {
2631
2631
  * All other properties
2632
2632
  */
2633
2633
  properties?: AXProperty[];
2634
+ /**
2635
+ * ID for this node's parent.
2636
+ */
2637
+ parentId?: AXNodeId;
2634
2638
  /**
2635
2639
  * IDs for each of this node's child nodes.
2636
2640
  */
@@ -2639,6 +2643,10 @@ export namespace Protocol {
2639
2643
  * The backend ID for the associated DOM node, if any.
2640
2644
  */
2641
2645
  backendDOMNodeId?: DOM.BackendNodeId;
2646
+ /**
2647
+ * The frame ID for the frame associated with this nodes document.
2648
+ */
2649
+ frameId?: Page.FrameId;
2642
2650
  }
2643
2651
 
2644
2652
  export interface GetPartialAXTreeRequest {
@@ -2689,6 +2697,18 @@ export namespace Protocol {
2689
2697
  nodes: AXNode[];
2690
2698
  }
2691
2699
 
2700
+ export interface GetRootAXNodeRequest {
2701
+ /**
2702
+ * The frame in whose document the node resides.
2703
+ * If omitted, the root frame is used.
2704
+ */
2705
+ frameId?: Page.FrameId;
2706
+ }
2707
+
2708
+ export interface GetRootAXNodeResponse {
2709
+ node: AXNode;
2710
+ }
2711
+
2692
2712
  export interface GetChildAXNodesRequest {
2693
2713
  id: AXNodeId;
2694
2714
  /**
@@ -11767,7 +11787,7 @@ export namespace Protocol {
11767
11787
  * All Permissions Policy features. This enum should match the one defined
11768
11788
  * in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
11769
11789
  */
11770
- 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' | 'keyboard-map' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'publickey-credentials-get' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'storage-access-api' | 'sync-xhr' | 'trust-token-redemption' | 'usb' | 'vertical-scroll' | 'web-share' | 'window-placement' | 'xr-spatial-tracking');
11790
+ 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');
11771
11791
 
11772
11792
  /**
11773
11793
  * Reason for a permissions policy feature to be disabled.