devtools-protocol 0.0.1338258 → 0.0.1339468
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.
@@ -5603,6 +5603,8 @@
|
|
5603
5603
|
"first-line-inherited",
|
5604
5604
|
"scroll-marker",
|
5605
5605
|
"scroll-marker-group",
|
5606
|
+
"scroll-next-button",
|
5607
|
+
"scroll-prev-button",
|
5606
5608
|
"scrollbar",
|
5607
5609
|
"scrollbar-thumb",
|
5608
5610
|
"scrollbar-button",
|
@@ -5868,6 +5870,24 @@
|
|
5868
5870
|
}
|
5869
5871
|
]
|
5870
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
|
+
},
|
5871
5891
|
{
|
5872
5892
|
"id": "RGBA",
|
5873
5893
|
"description": "A structure holding an RGBA color.",
|
@@ -6956,6 +6976,21 @@
|
|
6956
6976
|
}
|
6957
6977
|
]
|
6958
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
|
+
},
|
6959
6994
|
{
|
6960
6995
|
"name": "setInspectedNode",
|
6961
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
package/pdl/browser_protocol.pdl
CHANGED
@@ -2660,6 +2660,8 @@ domain DOM
|
|
2660
2660
|
first-line-inherited
|
2661
2661
|
scroll-marker
|
2662
2662
|
scroll-marker-group
|
2663
|
+
scroll-next-button
|
2664
|
+
scroll-prev-button
|
2663
2665
|
scrollbar
|
2664
2666
|
scrollbar-thumb
|
2665
2667
|
scrollbar-button
|
@@ -2778,6 +2780,12 @@ domain DOM
|
|
2778
2780
|
optional CompatibilityMode compatibilityMode
|
2779
2781
|
optional BackendNode assignedSlot
|
2780
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
|
+
|
2781
2789
|
# A structure holding an RGBA color.
|
2782
2790
|
type RGBA extends object
|
2783
2791
|
properties
|
@@ -3288,6 +3296,12 @@ domain DOM
|
|
3288
3296
|
returns
|
3289
3297
|
string path
|
3290
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
|
+
|
3291
3305
|
# Enables console to refer to the node with given id via $x (see Command Line API for more details
|
3292
3306
|
# $x functions).
|
3293
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).
|
package/types/protocol.d.ts
CHANGED
@@ -5976,7 +5976,7 @@ export namespace Protocol {
|
|
5976
5976
|
/**
|
5977
5977
|
* Pseudo element type.
|
5978
5978
|
*/
|
5979
|
-
export type PseudoType = ('first-line' | 'first-letter' | 'before' | 'after' | 'marker' | 'backdrop' | 'selection' | 'search-text' | 'target-text' | 'spelling-error' | 'grammar-error' | 'highlight' | 'first-line-inherited' | 'scroll-marker' | 'scroll-marker-group' | 'scrollbar' | 'scrollbar-thumb' | 'scrollbar-button' | 'scrollbar-track' | 'scrollbar-track-piece' | 'scrollbar-corner' | 'resizer' | 'input-list-button' | 'view-transition' | 'view-transition-group' | 'view-transition-image-pair' | 'view-transition-old' | 'view-transition-new');
|
5979
|
+
export type PseudoType = ('first-line' | 'first-letter' | 'before' | 'after' | 'marker' | 'backdrop' | 'selection' | 'search-text' | 'target-text' | 'spelling-error' | 'grammar-error' | 'highlight' | 'first-line-inherited' | 'scroll-marker' | 'scroll-marker-group' | 'scroll-next-button' | 'scroll-prev-button' | 'scrollbar' | 'scrollbar-thumb' | 'scrollbar-button' | 'scrollbar-track' | 'scrollbar-track-piece' | 'scrollbar-corner' | 'resizer' | 'input-list-button' | 'view-transition' | 'view-transition-group' | 'view-transition-image-pair' | 'view-transition-old' | 'view-transition-new');
|
5980
5980
|
|
5981
5981
|
/**
|
5982
5982
|
* Shadow root type.
|
@@ -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.
|