devtools-protocol 0.0.939404 → 0.0.940028

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.
@@ -442,6 +442,40 @@
442
442
  }
443
443
  ]
444
444
  },
445
+ {
446
+ "name": "getAXNodeAndAncestors",
447
+ "description": "Fetches a node and all ancestors up to and including the root.\nRequires `enable()` to have been called previously.",
448
+ "experimental": true,
449
+ "parameters": [
450
+ {
451
+ "name": "nodeId",
452
+ "description": "Identifier of the node to get.",
453
+ "optional": true,
454
+ "$ref": "DOM.NodeId"
455
+ },
456
+ {
457
+ "name": "backendNodeId",
458
+ "description": "Identifier of the backend node to get.",
459
+ "optional": true,
460
+ "$ref": "DOM.BackendNodeId"
461
+ },
462
+ {
463
+ "name": "objectId",
464
+ "description": "JavaScript object id of the node wrapper to get.",
465
+ "optional": true,
466
+ "$ref": "Runtime.RemoteObjectId"
467
+ }
468
+ ],
469
+ "returns": [
470
+ {
471
+ "name": "nodes",
472
+ "type": "array",
473
+ "items": {
474
+ "$ref": "AXNode"
475
+ }
476
+ }
477
+ ]
478
+ },
445
479
  {
446
480
  "name": "getChildAXNodes",
447
481
  "description": "Fetches a particular accessibility node by AXNodeId.\nRequires `enable()` to have been called previously.",
@@ -17819,7 +17853,8 @@
17819
17853
  },
17820
17854
  {
17821
17855
  "name": "securityStateChanged",
17822
- "description": "The security state of the page changed.",
17856
+ "description": "The security state of the page changed. No longer being sent.",
17857
+ "deprecated": true,
17823
17858
  "parameters": [
17824
17859
  {
17825
17860
  "name": "securityState",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.939404",
3
+ "version": "0.0.940028",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -232,6 +232,19 @@ experimental domain Accessibility
232
232
  returns
233
233
  AXNode node
234
234
 
235
+ # Fetches a node and all ancestors up to and including the root.
236
+ # Requires `enable()` to have been called previously.
237
+ experimental command getAXNodeAndAncestors
238
+ parameters
239
+ # Identifier of the node to get.
240
+ optional DOM.NodeId nodeId
241
+ # Identifier of the backend node to get.
242
+ optional DOM.BackendNodeId backendNodeId
243
+ # JavaScript object id of the node wrapper to get.
244
+ optional Runtime.RemoteObjectId objectId
245
+ returns
246
+ array of AXNode nodes
247
+
235
248
  # Fetches a particular accessibility node by AXNodeId.
236
249
  # Requires `enable()` to have been called previously.
237
250
  experimental command getChildAXNodes
@@ -8361,8 +8374,8 @@ domain Security
8361
8374
  # Security state information about the page.
8362
8375
  VisibleSecurityState visibleSecurityState
8363
8376
 
8364
- # The security state of the page changed.
8365
- event securityStateChanged
8377
+ # The security state of the page changed. No longer being sent.
8378
+ deprecated event securityStateChanged
8366
8379
  parameters
8367
8380
  # Security state.
8368
8381
  SecurityState securityState
@@ -517,7 +517,7 @@ export namespace ProtocolMapping {
517
517
  */
518
518
  'Security.visibleSecurityStateChanged': [Protocol.Security.VisibleSecurityStateChangedEvent];
519
519
  /**
520
- * The security state of the page changed.
520
+ * The security state of the page changed. No longer being sent.
521
521
  */
522
522
  'Security.securityStateChanged': [Protocol.Security.SecurityStateChangedEvent];
523
523
  'ServiceWorker.workerErrorReported': [Protocol.ServiceWorker.WorkerErrorReportedEvent];
@@ -1251,6 +1251,14 @@ export namespace ProtocolMapping {
1251
1251
  paramsType: [Protocol.Accessibility.GetRootAXNodeRequest?];
1252
1252
  returnType: Protocol.Accessibility.GetRootAXNodeResponse;
1253
1253
  };
1254
+ /**
1255
+ * Fetches a node and all ancestors up to and including the root.
1256
+ * Requires `enable()` to have been called previously.
1257
+ */
1258
+ 'Accessibility.getAXNodeAndAncestors': {
1259
+ paramsType: [Protocol.Accessibility.GetAXNodeAndAncestorsRequest?];
1260
+ returnType: Protocol.Accessibility.GetAXNodeAndAncestorsResponse;
1261
+ };
1254
1262
  /**
1255
1263
  * Fetches a particular accessibility node by AXNodeId.
1256
1264
  * Requires `enable()` to have been called previously.
@@ -632,6 +632,12 @@ export namespace ProtocolProxyApi {
632
632
  */
633
633
  getRootAXNode(params: Protocol.Accessibility.GetRootAXNodeRequest): Promise<Protocol.Accessibility.GetRootAXNodeResponse>;
634
634
 
635
+ /**
636
+ * Fetches a node and all ancestors up to and including the root.
637
+ * Requires `enable()` to have been called previously.
638
+ */
639
+ getAXNodeAndAncestors(params: Protocol.Accessibility.GetAXNodeAndAncestorsRequest): Promise<Protocol.Accessibility.GetAXNodeAndAncestorsResponse>;
640
+
635
641
  /**
636
642
  * Fetches a particular accessibility node by AXNodeId.
637
643
  * Requires `enable()` to have been called previously.
@@ -3089,7 +3095,7 @@ export namespace ProtocolProxyApi {
3089
3095
  on(event: 'visibleSecurityStateChanged', listener: (params: Protocol.Security.VisibleSecurityStateChangedEvent) => void): void;
3090
3096
 
3091
3097
  /**
3092
- * The security state of the page changed.
3098
+ * The security state of the page changed. No longer being sent.
3093
3099
  */
3094
3100
  on(event: 'securityStateChanged', listener: (params: Protocol.Security.SecurityStateChangedEvent) => void): void;
3095
3101
 
@@ -2709,6 +2709,25 @@ export namespace Protocol {
2709
2709
  node: AXNode;
2710
2710
  }
2711
2711
 
2712
+ export interface GetAXNodeAndAncestorsRequest {
2713
+ /**
2714
+ * Identifier of the node to get.
2715
+ */
2716
+ nodeId?: DOM.NodeId;
2717
+ /**
2718
+ * Identifier of the backend node to get.
2719
+ */
2720
+ backendNodeId?: DOM.BackendNodeId;
2721
+ /**
2722
+ * JavaScript object id of the node wrapper to get.
2723
+ */
2724
+ objectId?: Runtime.RemoteObjectId;
2725
+ }
2726
+
2727
+ export interface GetAXNodeAndAncestorsResponse {
2728
+ nodes: AXNode[];
2729
+ }
2730
+
2712
2731
  export interface GetChildAXNodesRequest {
2713
2732
  id: AXNodeId;
2714
2733
  /**
@@ -13787,7 +13806,7 @@ export namespace Protocol {
13787
13806
  }
13788
13807
 
13789
13808
  /**
13790
- * The security state of the page changed.
13809
+ * The security state of the page changed. No longer being sent.
13791
13810
  */
13792
13811
  export interface SecurityStateChangedEvent {
13793
13812
  /**