Index: third_party/WebKit/Source/core/inspector/browser_protocol.json |
diff --git a/third_party/WebKit/Source/core/inspector/browser_protocol.json b/third_party/WebKit/Source/core/inspector/browser_protocol.json |
index 20068fb27b640018359b555452b6b0ed3f83f7bb..47baff327208a38b3b880cef5982c25eefb6c784 100644 |
--- a/third_party/WebKit/Source/core/inspector/browser_protocol.json |
+++ b/third_party/WebKit/Source/core/inspector/browser_protocol.json |
@@ -4222,12 +4222,13 @@ |
], |
"commands": [ |
{ |
- "name": "getAXNode", |
+ "name": "getAXNodeForDOMNode", |
dgozman
2016/09/15 17:45:44
getAXNodeChain
aboxhall
2016/09/15 20:30:08
Done.
|
"parameters": [ |
- { "name": "nodeId", "$ref": "DOM.NodeId", "description": "ID of node to get accessibility node for." } |
+ { "name": "nodeId", "$ref": "DOM.NodeId", "description": "ID of node to get accessibility node for." }, |
+ { "name": "fetchAncestors", "type": "boolean", "description": "Whether to also push down a partial tree (parent chain)." } |
], |
"returns": [ |
- { "name": "accessibilityNode", "$ref": "AXNode", "description": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "optional": true } |
+ { "name": "nodes", "type": "array", "items": { "$ref": "AXNode" }, "description": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists, plus ancestors if requested.", "optional": true } |
], |
"description": "Fetches the accessibility node for this DOM node, if it exists.", |
"experimental": true |