Chromium Code Reviews| 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 ee61904d0623f42ee37aed7cbec0ef15cc83a6b2..608bf091f7f4ba76dc2c92224748edfc8e10e6c8 100644 |
| --- a/third_party/WebKit/Source/core/inspector/browser_protocol.json |
| +++ b/third_party/WebKit/Source/core/inspector/browser_protocol.json |
| @@ -2145,6 +2145,17 @@ |
| "description": "Returns the root DOM node (and optionally the subtree) to the caller." |
| }, |
| { |
| + "name": "getFlatDocument", |
|
pfeldman
2017/01/17 18:34:58
getFlattenedDocument
alex clarke (OOO till 29th)
2017/01/18 16:31:08
Done.
|
| + "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": "pierce", "type": "boolean", "optional": true, "description": "Whether or not iframes and shadow roots should be traversed when returning the subtree (default is false).", "experimental": true } |
| + ], |
| + "returns": [ |
| + { "name": "nodes", "type": "array", "items": { "$ref": "Node" }, "description": "Resulting node." } |
| + ], |
| + "description": "Returns the root DOM node (and optionally the subtree) to the caller." |
| + }, |
| + { |
| "name": "collectClassNamesFromSubtree", |
| "parameters": [ |
| { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to collect class names." } |