| 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 2293375a186e79bd676d26d088c588366fe8500f..4a32912892d2b8831550b346b06068ae2275eff8 100644
|
| --- a/third_party/WebKit/Source/core/inspector/browser_protocol.json
|
| +++ b/third_party/WebKit/Source/core/inspector/browser_protocol.json
|
| @@ -4327,28 +4327,31 @@
|
| "type": "object",
|
| "properties": [
|
| { "name": "nodeId", "$ref": "AXNodeId", "description": "Unique identifier for this node." },
|
| +
|
| { "name": "ignored", "type": "boolean", "description": "Whether this node is ignored for accessibility" },
|
| { "name": "ignoredReasons", "type": "array", "items": { "$ref": "AXProperty" }, "description": "Collection of reasons why this node is hidden.", "optional": true },
|
| { "name": "role", "$ref": "AXValue", "description": "This <code>Node</code>'s role, whether explicit or implicit.", "optional": true},
|
| { "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 ancestors, siblings and children if requested." }
|
| ],
|
| - "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
|
| }
|
| ]
|
|
|