OLD | NEW |
1 { | 1 { |
2 "version": { "major": "1", "minor": "1" }, | 2 "version": { "major": "1", "minor": "1" }, |
3 "domains": [{ | 3 "domains": [{ |
4 "domain": "Inspector", | 4 "domain": "Inspector", |
5 "hidden": true, | 5 "hidden": 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 2135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2146 { "name": "contentDocument", "$ref": "Node", "optional": tru
e, "description": "Content document for frame owner elements." }, | 2146 { "name": "contentDocument", "$ref": "Node", "optional": tru
e, "description": "Content document for frame owner elements." }, |
2147 { "name": "shadowRoots", "type": "array", "optional": true,
"items": { "$ref": "Node" }, "description": "Shadow root list for given element
host.", "hidden": true }, | 2147 { "name": "shadowRoots", "type": "array", "optional": true,
"items": { "$ref": "Node" }, "description": "Shadow root list for given element
host.", "hidden": true }, |
2148 { "name": "templateContent", "$ref": "Node", "optional": tru
e, "description": "Content document fragment for template elements.", "hidden":
true }, | 2148 { "name": "templateContent", "$ref": "Node", "optional": tru
e, "description": "Content document fragment for template elements.", "hidden":
true }, |
2149 { "name": "pseudoElements", "type": "array", "items": { "$re
f": "Node" }, "optional": true, "description": "Pseudo elements associated with
this node.", "hidden": true }, | 2149 { "name": "pseudoElements", "type": "array", "items": { "$re
f": "Node" }, "optional": true, "description": "Pseudo elements associated with
this node.", "hidden": true }, |
2150 { "name": "importedDocument", "$ref": "Node", "optional": tr
ue, "description": "Import document for the HTMLImport links." }, | 2150 { "name": "importedDocument", "$ref": "Node", "optional": tr
ue, "description": "Import document for the HTMLImport links." }, |
2151 { "name": "distributedNodes", "type": "array", "items": { "$
ref": "BackendNode" }, "optional": true, "description": "Distributed nodes for g
iven insertion point.", "hidden": true } | 2151 { "name": "distributedNodes", "type": "array", "items": { "$
ref": "BackendNode" }, "optional": true, "description": "Distributed nodes for g
iven insertion point.", "hidden": true } |
2152 ], | 2152 ], |
2153 "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." | 2153 "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." |
2154 }, | 2154 }, |
2155 { | 2155 { |
2156 "id": "EventListener", | |
2157 "type": "object", | |
2158 "hidden": true, | |
2159 "properties": [ | |
2160 { "name": "type", "type": "string", "description": "<code>Ev
entListener</code>'s type." }, | |
2161 { "name": "useCapture", "type": "boolean", "description": "<
code>EventListener</code>'s useCapture." }, | |
2162 { "name": "isAttribute", "type": "boolean", "description": "
<code>EventListener</code>'s isAttribute." }, | |
2163 { "name": "nodeId", "$ref": "NodeId", "description": "Target
<code>DOMNode</code> id." }, | |
2164 { "name": "location", "$ref": "Debugger.Location", "descript
ion": "Handler code location." }, | |
2165 { "name": "handler", "$ref": "Runtime.RemoteObject", "option
al": true, "description": "Event handler function value." } | |
2166 ], | |
2167 "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." | |
2168 }, | |
2169 { | |
2170 "id": "RGBA", | 2156 "id": "RGBA", |
2171 "type": "object", | 2157 "type": "object", |
2172 "properties": [ | 2158 "properties": [ |
2173 { "name": "r", "type": "integer", "description": "The red co
mponent, in the [0-255] range." }, | 2159 { "name": "r", "type": "integer", "description": "The red co
mponent, in the [0-255] range." }, |
2174 { "name": "g", "type": "integer", "description": "The green
component, in the [0-255] range." }, | 2160 { "name": "g", "type": "integer", "description": "The green
component, in the [0-255] range." }, |
2175 { "name": "b", "type": "integer", "description": "The blue c
omponent, in the [0-255] range." }, | 2161 { "name": "b", "type": "integer", "description": "The blue c
omponent, in the [0-255] range." }, |
2176 { "name": "a", "type": "number", "optional": true, "descript
ion": "The alpha component, in the [0-1] range (default: 1)." } | 2162 { "name": "a", "type": "number", "optional": true, "descript
ion": "The alpha component, in the [0-1] range (default: 1)." } |
2177 ], | 2163 ], |
2178 "description": "A structure holding an RGBA color." | 2164 "description": "A structure holding an RGBA color." |
2179 }, | 2165 }, |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2334 }, | 2320 }, |
2335 { | 2321 { |
2336 "name": "removeAttribute", | 2322 "name": "removeAttribute", |
2337 "parameters": [ | 2323 "parameters": [ |
2338 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the element to remove attribute from." }, | 2324 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the element to remove attribute from." }, |
2339 { "name": "name", "type": "string", "description": "Name of
the attribute to remove." } | 2325 { "name": "name", "type": "string", "description": "Name of
the attribute to remove." } |
2340 ], | 2326 ], |
2341 "description": "Removes attribute with given name from an elemen
t with given id." | 2327 "description": "Removes attribute with given name from an elemen
t with given id." |
2342 }, | 2328 }, |
2343 { | 2329 { |
2344 "name": "getEventListenersForNode", | |
2345 "parameters": [ | |
2346 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node to get listeners for." }, | |
2347 { "name": "objectGroup", "type": "string", "optional": true,
"description": "Symbolic group name for handler value. Handler value is not ret
urned without this parameter specified." } | |
2348 ], | |
2349 "returns": [ | |
2350 { "name": "listeners", "type": "array", "items": { "$ref": "
EventListener" }, "description": "Array of relevant listeners." } | |
2351 ], | |
2352 "description": "Returns event listeners relevant to the node.", | |
2353 "hidden": true | |
2354 }, | |
2355 { | |
2356 "name": "getOuterHTML", | 2330 "name": "getOuterHTML", |
2357 "parameters": [ | 2331 "parameters": [ |
2358 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node to get markup for." } | 2332 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node to get markup for." } |
2359 ], | 2333 ], |
2360 "returns": [ | 2334 "returns": [ |
2361 { "name": "outerHTML", "type": "string", "description": "Out
er HTML markup." } | 2335 { "name": "outerHTML", "type": "string", "description": "Out
er HTML markup." } |
2362 ], | 2336 ], |
2363 "description": "Returns node's HTML markup." | 2337 "description": "Returns node's HTML markup." |
2364 }, | 2338 }, |
2365 { | 2339 { |
(...skipping 2610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4976 ], | 4950 ], |
4977 "returns": [ | 4951 "returns": [ |
4978 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio
n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o
ptional": true } | 4952 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio
n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o
ptional": true } |
4979 ], | 4953 ], |
4980 "description": "Fetches the accessibility node for this DOM node
, if it exists.", | 4954 "description": "Fetches the accessibility node for this DOM node
, if it exists.", |
4981 "hidden": true | 4955 "hidden": true |
4982 } | 4956 } |
4983 ] | 4957 ] |
4984 }] | 4958 }] |
4985 } | 4959 } |
OLD | NEW |