| 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 a48376b6f90c01ad732fcfa484ab578667783a46..36d2f0ed397ecfe47f3c49af7cf4ac35c786847f 100644
|
| --- a/third_party/WebKit/Source/core/inspector/browser_protocol.json
|
| +++ b/third_party/WebKit/Source/core/inspector/browser_protocol.json
|
| @@ -2160,10 +2160,14 @@
|
| },
|
| {
|
| "name": "getDocument",
|
| + "parameters": [
|
| + { "name": "depth", "type": "integer", "optional": true, "description": "The maximum depth at which children should be retrieved, defaults to 1. Use -1 for the entire subtree or provide an integer larger than 0.", "experimental": true },
|
| + { "name": "traverseFrames", "type": "boolean", "optional": true, "description": "Whether or not iframes should be traversed when returning the subtree (default is false).", "experimental": true }
|
| + ],
|
| "returns": [
|
| { "name": "root", "$ref": "Node", "description": "Resulting node." }
|
| ],
|
| - "description": "Returns the root DOM node to the caller."
|
| + "description": "Returns the root DOM node (and optionally the subtree) to the caller."
|
| },
|
| {
|
| "name": "collectClassNamesFromSubtree",
|
| @@ -2180,7 +2184,8 @@
|
| "name": "requestChildNodes",
|
| "parameters": [
|
| { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to get children for." },
|
| - { "name": "depth", "type": "integer", "optional": true, "description": "The maximum depth at which children should be retrieved, defaults to 1. Use -1 for the entire subtree or provide an integer larger than 0.", "experimental": true }
|
| + { "name": "depth", "type": "integer", "optional": true, "description": "The maximum depth at which children should be retrieved, defaults to 1. Use -1 for the entire subtree or provide an integer larger than 0.", "experimental": true },
|
| + { "name": "traverseFrames", "type": "boolean", "optional": true, "description": "Whether or not iframes should be traversed when returning the sub-tree (default is false).", "experimental": true }
|
| ],
|
| "description": "Requests that children of the node with given id are returned to the caller in form of <code>setChildNodes</code> events where not only immediate children are retrieved, but all children down to the specified depth."
|
| },
|
|
|