OLD | NEW |
1 { | 1 { |
2 "version": { "major": "1", "minor": "2" }, | 2 "version": { "major": "1", "minor": "2" }, |
3 "domains": [{ | 3 "domains": [{ |
4 "domain": "Inspector", | 4 "domain": "Inspector", |
5 "experimental": true, | 5 "experimental": true, |
6 "types": [], | 6 "types": [], |
7 "commands": [ | 7 "commands": [ |
8 { | 8 { |
9 "name": "enable", | 9 "name": "enable", |
10 "description": "Enables inspector domain notifications.", | 10 "description": "Enables inspector domain notifications.", |
(...skipping 2027 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2038 { "name": "contentDocument", "$ref": "Node", "optional": tru
e, "description": "Content document for frame owner elements." }, | 2038 { "name": "contentDocument", "$ref": "Node", "optional": tru
e, "description": "Content document for frame owner elements." }, |
2039 { "name": "shadowRoots", "type": "array", "optional": true,
"items": { "$ref": "Node" }, "description": "Shadow root list for given element
host.", "experimental": true }, | 2039 { "name": "shadowRoots", "type": "array", "optional": true,
"items": { "$ref": "Node" }, "description": "Shadow root list for given element
host.", "experimental": true }, |
2040 { "name": "templateContent", "$ref": "Node", "optional": tru
e, "description": "Content document fragment for template elements.", "experimen
tal": true }, | 2040 { "name": "templateContent", "$ref": "Node", "optional": tru
e, "description": "Content document fragment for template elements.", "experimen
tal": true }, |
2041 { "name": "pseudoElements", "type": "array", "items": { "$re
f": "Node" }, "optional": true, "description": "Pseudo elements associated with
this node.", "experimental": true }, | 2041 { "name": "pseudoElements", "type": "array", "items": { "$re
f": "Node" }, "optional": true, "description": "Pseudo elements associated with
this node.", "experimental": true }, |
2042 { "name": "importedDocument", "$ref": "Node", "optional": tr
ue, "description": "Import document for the HTMLImport links." }, | 2042 { "name": "importedDocument", "$ref": "Node", "optional": tr
ue, "description": "Import document for the HTMLImport links." }, |
2043 { "name": "distributedNodes", "type": "array", "items": { "$
ref": "BackendNode" }, "optional": true, "description": "Distributed nodes for g
iven insertion point.", "experimental": true } | 2043 { "name": "distributedNodes", "type": "array", "items": { "$
ref": "BackendNode" }, "optional": true, "description": "Distributed nodes for g
iven insertion point.", "experimental": true } |
2044 ], | 2044 ], |
2045 "description": "DOM interaction is implemented in terms of mirro
r objects that represent the actual DOM nodes. DOMNode is a base node mirror typ
e." | 2045 "description": "DOM interaction is implemented in terms of mirro
r objects that represent the actual DOM nodes. DOMNode is a base node mirror typ
e." |
2046 }, | 2046 }, |
2047 { | 2047 { |
| 2048 "id": "InlineTextBox", |
| 2049 "type": "object", |
| 2050 "properties": [ |
| 2051 { "name": "boundingBox", "$ref": "Rect", "description": "The
absolute position bounding box." }, |
| 2052 { "name": "text", "type": "string", "description": "Post lay
out inline text snippet." } |
| 2053 ], |
| 2054 "description": "Details of post layout rendered text positions."
, |
| 2055 "experimental": true |
| 2056 }, |
| 2057 { |
| 2058 "id": "RenderTreeNode", |
| 2059 "type": "object", |
| 2060 "properties": [ |
| 2061 { "name": "backendNodeId", "$ref": "BackendNodeId", "descrip
tion": "The BackendNodeId of the related DOM node." }, |
| 2062 { "name": "boundingBox", "$ref": "Rect", "description": "The
absolute position bounding box." }, |
| 2063 { "name": "layoutText", "type": "string", "optional": true,
"description": "Contents of the LayoutText if any" }, |
| 2064 { "name": "inlineTextNodes", "type": "array", "optional": tr
ue, "items": { "$ref": "InlineTextBox" }, "description": "The post layout inline
text nodes, if any." } |
| 2065 ], |
| 2066 "description": "Details of an element in the DOM tree with a Lay
outObject.", |
| 2067 "experimental": true |
| 2068 }, |
| 2069 { |
2048 "id": "RGBA", | 2070 "id": "RGBA", |
2049 "type": "object", | 2071 "type": "object", |
2050 "properties": [ | 2072 "properties": [ |
2051 { "name": "r", "type": "integer", "description": "The red co
mponent, in the [0-255] range." }, | 2073 { "name": "r", "type": "integer", "description": "The red co
mponent, in the [0-255] range." }, |
2052 { "name": "g", "type": "integer", "description": "The green
component, in the [0-255] range." }, | 2074 { "name": "g", "type": "integer", "description": "The green
component, in the [0-255] range." }, |
2053 { "name": "b", "type": "integer", "description": "The blue c
omponent, in the [0-255] range." }, | 2075 { "name": "b", "type": "integer", "description": "The blue c
omponent, in the [0-255] range." }, |
2054 { "name": "a", "type": "number", "optional": true, "descript
ion": "The alpha component, in the [0-1] range (default: 1)." } | 2076 { "name": "a", "type": "number", "optional": true, "descript
ion": "The alpha component, in the [0-1] range (default: 1)." } |
2055 ], | 2077 ], |
2056 "description": "A structure holding an RGBA color." | 2078 "description": "A structure holding an RGBA color." |
2057 }, | 2079 }, |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2143 "description": "Disables DOM agent for the given page." | 2165 "description": "Disables DOM agent for the given page." |
2144 }, | 2166 }, |
2145 { | 2167 { |
2146 "name": "getDocument", | 2168 "name": "getDocument", |
2147 "returns": [ | 2169 "returns": [ |
2148 { "name": "root", "$ref": "Node", "description": "Resulting
node." } | 2170 { "name": "root", "$ref": "Node", "description": "Resulting
node." } |
2149 ], | 2171 ], |
2150 "description": "Returns the root DOM node to the caller." | 2172 "description": "Returns the root DOM node to the caller." |
2151 }, | 2173 }, |
2152 { | 2174 { |
| 2175 "name": "getRenderTreeNodes", |
| 2176 "returns": [ |
| 2177 { "name": "renderTreeNodes", "type": "array", "items": { "$r
ef": "RenderTreeNode" } } |
| 2178 ], |
| 2179 "description": "Returns the RenderTree to the caller.", |
| 2180 "experimental": true |
| 2181 }, |
| 2182 { |
2153 "name": "collectClassNamesFromSubtree", | 2183 "name": "collectClassNamesFromSubtree", |
2154 "parameters": [ | 2184 "parameters": [ |
2155 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node to collect class names." } | 2185 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node to collect class names." } |
2156 ], | 2186 ], |
2157 "returns": [ | 2187 "returns": [ |
2158 {"name": "classNames", "type": "array", "items": { "type": "
string" }, "description": "Class name list." } | 2188 {"name": "classNames", "type": "array", "items": { "type": "
string" }, "description": "Class name list." } |
2159 ], | 2189 ], |
2160 "description": "Collects class names for the node with given id
and all of it's child nodes.", | 2190 "description": "Collects class names for the node with given id
and all of it's child nodes.", |
2161 "experimental": true | 2191 "experimental": true |
2162 }, | 2192 }, |
(...skipping 2339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4502 "description": "Informs that port was successfully bound and got
a specified connection id.", | 4532 "description": "Informs that port was successfully bound and got
a specified connection id.", |
4503 "parameters": [ | 4533 "parameters": [ |
4504 {"name": "port", "type": "integer", "description": "Port num
ber that was successfully bound." }, | 4534 {"name": "port", "type": "integer", "description": "Port num
ber that was successfully bound." }, |
4505 {"name": "connectionId", "type": "string", "description": "C
onnection id to be used." } | 4535 {"name": "connectionId", "type": "string", "description": "C
onnection id to be used." } |
4506 ], | 4536 ], |
4507 "handlers": ["browser"] | 4537 "handlers": ["browser"] |
4508 } | 4538 } |
4509 ] | 4539 ] |
4510 }] | 4540 }] |
4511 } | 4541 } |
OLD | NEW |