devtools-protocol 0.0.1338866 → 0.0.1339468

Sign up to get free protection for your applications and to get access to all the features.
@@ -5870,6 +5870,24 @@
5870
5870
  }
5871
5871
  ]
5872
5872
  },
5873
+ {
5874
+ "id": "DetachedElementInfo",
5875
+ "description": "A structure to hold the top-level node of a detached tree and an array of its retained descendants.",
5876
+ "type": "object",
5877
+ "properties": [
5878
+ {
5879
+ "name": "treeNode",
5880
+ "$ref": "Node"
5881
+ },
5882
+ {
5883
+ "name": "retainedNodeIds",
5884
+ "type": "array",
5885
+ "items": {
5886
+ "$ref": "NodeId"
5887
+ }
5888
+ }
5889
+ ]
5890
+ },
5873
5891
  {
5874
5892
  "id": "RGBA",
5875
5893
  "description": "A structure holding an RGBA color.",
@@ -6958,6 +6976,21 @@
6958
6976
  }
6959
6977
  ]
6960
6978
  },
6979
+ {
6980
+ "name": "getDetachedDomNodes",
6981
+ "description": "Returns list of detached nodes",
6982
+ "experimental": true,
6983
+ "returns": [
6984
+ {
6985
+ "name": "detachedNodes",
6986
+ "description": "The list of detached nodes",
6987
+ "type": "array",
6988
+ "items": {
6989
+ "$ref": "DetachedElementInfo"
6990
+ }
6991
+ }
6992
+ ]
6993
+ },
6961
6994
  {
6962
6995
  "name": "setInspectedNode",
6963
6996
  "description": "Enables console to refer to the node with given id via $x (see Command Line API for more details\n$x functions).",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1338866",
3
+ "version": "0.0.1339468",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -2780,6 +2780,12 @@ domain DOM
2780
2780
  optional CompatibilityMode compatibilityMode
2781
2781
  optional BackendNode assignedSlot
2782
2782
 
2783
+ # A structure to hold the top-level node of a detached tree and an array of its retained descendants.
2784
+ type DetachedElementInfo extends object
2785
+ properties
2786
+ Node treeNode
2787
+ array of NodeId retainedNodeIds
2788
+
2783
2789
  # A structure holding an RGBA color.
2784
2790
  type RGBA extends object
2785
2791
  properties
@@ -3290,6 +3296,12 @@ domain DOM
3290
3296
  returns
3291
3297
  string path
3292
3298
 
3299
+ # Returns list of detached nodes
3300
+ experimental command getDetachedDomNodes
3301
+ returns
3302
+ # The list of detached nodes
3303
+ array of DetachedElementInfo detachedNodes
3304
+
3293
3305
  # Enables console to refer to the node with given id via $x (see Command Line API for more details
3294
3306
  # $x functions).
3295
3307
  experimental command setInspectedNode
@@ -2337,6 +2337,13 @@ export namespace ProtocolMapping {
2337
2337
  paramsType: [Protocol.DOM.GetFileInfoRequest];
2338
2338
  returnType: Protocol.DOM.GetFileInfoResponse;
2339
2339
  };
2340
+ /**
2341
+ * Returns list of detached nodes
2342
+ */
2343
+ 'DOM.getDetachedDomNodes': {
2344
+ paramsType: [];
2345
+ returnType: Protocol.DOM.GetDetachedDomNodesResponse;
2346
+ };
2340
2347
  /**
2341
2348
  * Enables console to refer to the node with given id via $x (see Command Line API for more details
2342
2349
  * $x functions).
@@ -1505,6 +1505,11 @@ export namespace ProtocolProxyApi {
1505
1505
  */
1506
1506
  getFileInfo(params: Protocol.DOM.GetFileInfoRequest): Promise<Protocol.DOM.GetFileInfoResponse>;
1507
1507
 
1508
+ /**
1509
+ * Returns list of detached nodes
1510
+ */
1511
+ getDetachedDomNodes(): Promise<Protocol.DOM.GetDetachedDomNodesResponse>;
1512
+
1508
1513
  /**
1509
1514
  * Enables console to refer to the node with given id via $x (see Command Line API for more details
1510
1515
  * $x functions).
@@ -1587,6 +1587,11 @@ export namespace ProtocolTestsProxyApi {
1587
1587
  */
1588
1588
  getFileInfo(params: Protocol.DOM.GetFileInfoRequest): Promise<{id: number, result: Protocol.DOM.GetFileInfoResponse, sessionId: string}>;
1589
1589
 
1590
+ /**
1591
+ * Returns list of detached nodes
1592
+ */
1593
+ getDetachedDomNodes(): Promise<{id: number, result: Protocol.DOM.GetDetachedDomNodesResponse, sessionId: string}>;
1594
+
1590
1595
  /**
1591
1596
  * Enables console to refer to the node with given id via $x (see Command Line API for more details
1592
1597
  * $x functions).
@@ -6133,6 +6133,14 @@ export namespace Protocol {
6133
6133
  assignedSlot?: BackendNode;
6134
6134
  }
6135
6135
 
6136
+ /**
6137
+ * A structure to hold the top-level node of a detached tree and an array of its retained descendants.
6138
+ */
6139
+ export interface DetachedElementInfo {
6140
+ treeNode: Node;
6141
+ retainedNodeIds: NodeId[];
6142
+ }
6143
+
6136
6144
  /**
6137
6145
  * A structure holding an RGBA color.
6138
6146
  */
@@ -6877,6 +6885,13 @@ export namespace Protocol {
6877
6885
  path: string;
6878
6886
  }
6879
6887
 
6888
+ export interface GetDetachedDomNodesResponse {
6889
+ /**
6890
+ * The list of detached nodes
6891
+ */
6892
+ detachedNodes: DetachedElementInfo[];
6893
+ }
6894
+
6880
6895
  export interface SetInspectedNodeRequest {
6881
6896
  /**
6882
6897
  * DOM node id to be accessible by means of $x command line API.