devtools-protocol 0.0.940865 → 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
|
{
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
|
@@ -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
|
|
@@ -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 {
|
package/types/protocol.d.ts
CHANGED
|
@@ -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 {
|