| 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 2276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2287 "name": "getAttributes", | 2287 "name": "getAttributes", |
| 2288 "parameters": [ | 2288 "parameters": [ |
| 2289 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node to retrieve attibutes for." } | 2289 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node to retrieve attibutes for." } |
| 2290 ], | 2290 ], |
| 2291 "returns": [ | 2291 "returns": [ |
| 2292 { "name": "attributes", "type": "array", "items": { "type":
"string" }, "description": "An interleaved array of node attribute names and val
ues." } | 2292 { "name": "attributes", "type": "array", "items": { "type":
"string" }, "description": "An interleaved array of node attribute names and val
ues." } |
| 2293 ], | 2293 ], |
| 2294 "description": "Returns attributes for the specified node." | 2294 "description": "Returns attributes for the specified node." |
| 2295 }, | 2295 }, |
| 2296 { | 2296 { |
| 2297 "name": "copyTo", |
| 2298 "parameters": [ |
| 2299 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node to copy." }, |
| 2300 { "name": "targetNodeId", "$ref": "NodeId", "description": "
Id of the element to drop the copy into." }, |
| 2301 { "name": "insertBeforeNodeId", "$ref": "NodeId", "optional"
: true, "description": "Drop the copy before this node (if absent, the copy beco
mes the last child of <code>targetNodeId</code>)." } |
| 2302 ], |
| 2303 "returns": [ |
| 2304 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node clone." } |
| 2305 ], |
| 2306 "description": "Creates a deep copy of the specified node and pl
aces it into the target container before the given anchor.", |
| 2307 "hidden": true |
| 2308 }, |
| 2309 { |
| 2297 "name": "moveTo", | 2310 "name": "moveTo", |
| 2298 "parameters": [ | 2311 "parameters": [ |
| 2299 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node to drop." }, | 2312 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node to move." }, |
| 2300 { "name": "targetNodeId", "$ref": "NodeId", "description": "
Id of the element to drop into." }, | 2313 { "name": "targetNodeId", "$ref": "NodeId", "description": "
Id of the element to drop the moved node into." }, |
| 2301 { "name": "insertBeforeNodeId", "$ref": "NodeId", "optional"
: true, "description": "Drop node before given one." } | 2314 { "name": "insertBeforeNodeId", "$ref": "NodeId", "optional"
: true, "description": "Drop node before this one (if absent, the moved node bec
omes the last child of <code>targetNodeId</code>)." } |
| 2302 ], | 2315 ], |
| 2303 "returns": [ | 2316 "returns": [ |
| 2304 { "name": "nodeId", "$ref": "NodeId", "description": "New id
of the moved node." } | 2317 { "name": "nodeId", "$ref": "NodeId", "description": "New id
of the moved node." } |
| 2305 ], | 2318 ], |
| 2306 "description": "Moves node into the new container, places it bef
ore the given anchor." | 2319 "description": "Moves node into the new container, places it bef
ore the given anchor." |
| 2307 }, | 2320 }, |
| 2308 { | 2321 { |
| 2309 "name": "undo", | 2322 "name": "undo", |
| 2310 "description": "Undoes the last performed action.", | 2323 "description": "Undoes the last performed action.", |
| 2311 "hidden": true | 2324 "hidden": true |
| (...skipping 1960 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4272 { | 4285 { |
| 4273 "name": "dataAvailable", | 4286 "name": "dataAvailable", |
| 4274 "parameters": [ | 4287 "parameters": [ |
| 4275 {"name": "value", "type": "array", "items": { "$ref": "Power
Event" }, "description": "List of power events." } | 4288 {"name": "value", "type": "array", "items": { "$ref": "Power
Event" }, "description": "List of power events." } |
| 4276 ], | 4289 ], |
| 4277 "handlers": ["browser", "frontend"] | 4290 "handlers": ["browser", "frontend"] |
| 4278 } | 4291 } |
| 4279 ] | 4292 ] |
| 4280 }] | 4293 }] |
| 4281 } | 4294 } |
| OLD | NEW |