| 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 0e8e4d9ee34430b6f0f4c75fc9e66956f691d284..daae2028e9f2efbc9be4f5f39ba3aa1c2c1374ba 100644
|
| --- a/third_party/WebKit/Source/core/inspector/browser_protocol.json
|
| +++ b/third_party/WebKit/Source/core/inspector/browser_protocol.json
|
| @@ -4359,22 +4359,24 @@
|
| { "name": "name", "$ref": "AXValue", "description": "The accessible name for this <code>Node</code>.", "optional": true },
|
| { "name": "description", "$ref": "AXValue", "description": "The accessible description for this <code>Node</code>.", "optional": true },
|
| { "name": "value", "$ref": "AXValue", "description": "The value for this <code>Node</code>.", "optional": true },
|
| - { "name": "properties", "type": "array", "items": { "$ref": "AXProperty" }, "description": "All other properties", "optional": true }
|
| + { "name": "properties", "type": "array", "items": { "$ref": "AXProperty" }, "description": "All other properties", "optional": true },
|
| + { "name": "parentId", "$ref": "AXNodeId", "description": "The ID of this node's parent node.", "optional": true },
|
| + { "name": "childIds", "type": "array", "items": { "$ref": "AXNodeId" }, "description": "IDs for each of this node's child nodes.", "optional": true },
|
| + { "name": "domNodeId", "$ref": "DOM.BackendNodeId", "description": "The backend ID for the associated DOM node, if any.", "optional": true }
|
| ],
|
| "description": "A node in the accessibility tree."
|
| }
|
| ],
|
| "commands": [
|
| {
|
| - "name": "getAXNodeChain",
|
| + "name": "getPartialAXTree",
|
| "parameters": [
|
| - { "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)." }
|
| + { "name": "nodeId", "$ref": "DOM.NodeId", "description": "ID of node to get the partial accessibility tree for." }
|
| ],
|
| "returns": [
|
| - { "name": "nodes", "type": "array", "items": { "$ref": "AXNode" }, "description": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists, plus ancestors if requested." }
|
| + { "name": "nodes", "type": "array", "items": { "$ref": "AXNode" }, "description": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists, plus its ancestors, siblings and children, if any." }
|
| ],
|
| - "description": "Fetches the accessibility node for this DOM node, if it exists.",
|
| + "description": "Fetches the accessibility node and partial accessibility tree for this DOM node, if it exists.",
|
| "experimental": true
|
| }
|
| ]
|
|
|