devtools-protocol 0.0.808307 → 0.0.809251
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.
- package/changelog.md +7 -0
- package/json/browser_protocol.json +47 -0
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +22 -0
- package/types/protocol-mapping.d.ts +11 -0
- package/types/protocol-proxy-api.d.ts +9 -0
- package/types/protocol.d.ts +31 -0
package/changelog.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
+
## Roll protocol to r808307
|
|
4
|
+
###### _2020-09-18 04:16:16_ | Diff: [9e2e943...01dd54b](https://github.com/ChromeDevTools/devtools-protocol/compare/9e2e943...01dd54b)
|
|
5
|
+
#### `Network`: modified types
|
|
6
|
+
* [`Network.CrossOriginOpenerPolicyStatus`](https://chromedevtools.github.io/devtools-protocol/tot/Network/#type-CrossOriginOpenerPolicyStatus) - The properties's `reportOnlyValue` _added_. The properties's `reportingEndpoint` _added_. The properties's `reportOnlyReportingEndpoint` _added_.
|
|
7
|
+
* [`Network.CrossOriginEmbedderPolicyStatus`](https://chromedevtools.github.io/devtools-protocol/tot/Network/#type-CrossOriginEmbedderPolicyStatus) - The properties's `reportOnlyValue` _added_. The properties's `reportingEndpoint` _added_. The properties's `reportOnlyReportingEndpoint` _added_.
|
|
8
|
+
|
|
9
|
+
|
|
3
10
|
## Roll protocol to r806843
|
|
4
11
|
###### _2020-09-14 19:16:32_ | Diff: [2155b85...9e2e943](https://github.com/ChromeDevTools/devtools-protocol/compare/2155b85...9e2e943)
|
|
5
12
|
#### `Fetch`: modified types
|
|
@@ -387,6 +387,53 @@
|
|
|
387
387
|
}
|
|
388
388
|
}
|
|
389
389
|
]
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"name": "queryAXTree",
|
|
393
|
+
"description": "Query a DOM node's accessibility subtree for accessible name and role.\nThis command computes the name and role for all nodes in the subtree, including those that are\nignored for accessibility, and returns those that mactch the specified name and role. If no DOM\nnode is specified, or the DOM node does not exist, the command returns an error. If neither\n`accessibleName` or `role` is specified, it returns all the accessibility nodes in the subtree.",
|
|
394
|
+
"experimental": true,
|
|
395
|
+
"parameters": [
|
|
396
|
+
{
|
|
397
|
+
"name": "nodeId",
|
|
398
|
+
"description": "Identifier of the node for the root to query.",
|
|
399
|
+
"optional": true,
|
|
400
|
+
"$ref": "DOM.NodeId"
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"name": "backendNodeId",
|
|
404
|
+
"description": "Identifier of the backend node for the root to query.",
|
|
405
|
+
"optional": true,
|
|
406
|
+
"$ref": "DOM.BackendNodeId"
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"name": "objectId",
|
|
410
|
+
"description": "JavaScript object id of the node wrapper for the root to query.",
|
|
411
|
+
"optional": true,
|
|
412
|
+
"$ref": "Runtime.RemoteObjectId"
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"name": "accessibleName",
|
|
416
|
+
"description": "Find nodes with this computed name.",
|
|
417
|
+
"optional": true,
|
|
418
|
+
"type": "string"
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"name": "role",
|
|
422
|
+
"description": "Find nodes with this computed role.",
|
|
423
|
+
"optional": true,
|
|
424
|
+
"type": "string"
|
|
425
|
+
}
|
|
426
|
+
],
|
|
427
|
+
"returns": [
|
|
428
|
+
{
|
|
429
|
+
"name": "nodes",
|
|
430
|
+
"description": "A list of `Accessibility.AXNode` matching the specified attributes,\nincluding nodes that are ignored for accessibility.",
|
|
431
|
+
"type": "array",
|
|
432
|
+
"items": {
|
|
433
|
+
"$ref": "AXNode"
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
]
|
|
390
437
|
}
|
|
391
438
|
]
|
|
392
439
|
},
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
|
@@ -207,6 +207,28 @@ experimental domain Accessibility
|
|
|
207
207
|
returns
|
|
208
208
|
array of AXNode nodes
|
|
209
209
|
|
|
210
|
+
# Query a DOM node's accessibility subtree for accessible name and role.
|
|
211
|
+
# This command computes the name and role for all nodes in the subtree, including those that are
|
|
212
|
+
# ignored for accessibility, and returns those that mactch the specified name and role. If no DOM
|
|
213
|
+
# node is specified, or the DOM node does not exist, the command returns an error. If neither
|
|
214
|
+
# `accessibleName` or `role` is specified, it returns all the accessibility nodes in the subtree.
|
|
215
|
+
experimental command queryAXTree
|
|
216
|
+
parameters
|
|
217
|
+
# Identifier of the node for the root to query.
|
|
218
|
+
optional DOM.NodeId nodeId
|
|
219
|
+
# Identifier of the backend node for the root to query.
|
|
220
|
+
optional DOM.BackendNodeId backendNodeId
|
|
221
|
+
# JavaScript object id of the node wrapper for the root to query.
|
|
222
|
+
optional Runtime.RemoteObjectId objectId
|
|
223
|
+
# Find nodes with this computed name.
|
|
224
|
+
optional string accessibleName
|
|
225
|
+
# Find nodes with this computed role.
|
|
226
|
+
optional string role
|
|
227
|
+
returns
|
|
228
|
+
# A list of `Accessibility.AXNode` matching the specified attributes,
|
|
229
|
+
# including nodes that are ignored for accessibility.
|
|
230
|
+
array of AXNode nodes
|
|
231
|
+
|
|
210
232
|
experimental domain Animation
|
|
211
233
|
depends on Runtime
|
|
212
234
|
depends on DOM
|
|
@@ -1223,6 +1223,17 @@ export namespace ProtocolMapping {
|
|
|
1223
1223
|
paramsType: [];
|
|
1224
1224
|
returnType: Protocol.Accessibility.GetFullAXTreeResponse;
|
|
1225
1225
|
};
|
|
1226
|
+
/**
|
|
1227
|
+
* Query a DOM node's accessibility subtree for accessible name and role.
|
|
1228
|
+
* This command computes the name and role for all nodes in the subtree, including those that are
|
|
1229
|
+
* ignored for accessibility, and returns those that mactch the specified name and role. If no DOM
|
|
1230
|
+
* node is specified, or the DOM node does not exist, the command returns an error. If neither
|
|
1231
|
+
* `accessibleName` or `role` is specified, it returns all the accessibility nodes in the subtree.
|
|
1232
|
+
*/
|
|
1233
|
+
'Accessibility.queryAXTree': {
|
|
1234
|
+
paramsType: [Protocol.Accessibility.QueryAXTreeRequest?];
|
|
1235
|
+
returnType: Protocol.Accessibility.QueryAXTreeResponse;
|
|
1236
|
+
};
|
|
1226
1237
|
/**
|
|
1227
1238
|
* Disables animation domain notifications.
|
|
1228
1239
|
*/
|
|
@@ -661,6 +661,15 @@ export namespace ProtocolProxyApi {
|
|
|
661
661
|
*/
|
|
662
662
|
getFullAXTree(): Promise<Protocol.Accessibility.GetFullAXTreeResponse>;
|
|
663
663
|
|
|
664
|
+
/**
|
|
665
|
+
* Query a DOM node's accessibility subtree for accessible name and role.
|
|
666
|
+
* This command computes the name and role for all nodes in the subtree, including those that are
|
|
667
|
+
* ignored for accessibility, and returns those that mactch the specified name and role. If no DOM
|
|
668
|
+
* node is specified, or the DOM node does not exist, the command returns an error. If neither
|
|
669
|
+
* `accessibleName` or `role` is specified, it returns all the accessibility nodes in the subtree.
|
|
670
|
+
*/
|
|
671
|
+
queryAXTree(params: Protocol.Accessibility.QueryAXTreeRequest): Promise<Protocol.Accessibility.QueryAXTreeResponse>;
|
|
672
|
+
|
|
664
673
|
}
|
|
665
674
|
|
|
666
675
|
export interface AnimationApi {
|
package/types/protocol.d.ts
CHANGED
|
@@ -2670,6 +2670,37 @@ export namespace Protocol {
|
|
|
2670
2670
|
export interface GetFullAXTreeResponse {
|
|
2671
2671
|
nodes: AXNode[];
|
|
2672
2672
|
}
|
|
2673
|
+
|
|
2674
|
+
export interface QueryAXTreeRequest {
|
|
2675
|
+
/**
|
|
2676
|
+
* Identifier of the node for the root to query.
|
|
2677
|
+
*/
|
|
2678
|
+
nodeId?: DOM.NodeId;
|
|
2679
|
+
/**
|
|
2680
|
+
* Identifier of the backend node for the root to query.
|
|
2681
|
+
*/
|
|
2682
|
+
backendNodeId?: DOM.BackendNodeId;
|
|
2683
|
+
/**
|
|
2684
|
+
* JavaScript object id of the node wrapper for the root to query.
|
|
2685
|
+
*/
|
|
2686
|
+
objectId?: Runtime.RemoteObjectId;
|
|
2687
|
+
/**
|
|
2688
|
+
* Find nodes with this computed name.
|
|
2689
|
+
*/
|
|
2690
|
+
accessibleName?: string;
|
|
2691
|
+
/**
|
|
2692
|
+
* Find nodes with this computed role.
|
|
2693
|
+
*/
|
|
2694
|
+
role?: string;
|
|
2695
|
+
}
|
|
2696
|
+
|
|
2697
|
+
export interface QueryAXTreeResponse {
|
|
2698
|
+
/**
|
|
2699
|
+
* A list of `Accessibility.AXNode` matching the specified attributes,
|
|
2700
|
+
* including nodes that are ignored for accessibility.
|
|
2701
|
+
*/
|
|
2702
|
+
nodes: AXNode[];
|
|
2703
|
+
}
|
|
2673
2704
|
}
|
|
2674
2705
|
|
|
2675
2706
|
export namespace Animation {
|