| 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 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 "name": "removeScriptToEvaluateOnLoad", | 249 "name": "removeScriptToEvaluateOnLoad", |
| 250 "parameters": [ | 250 "parameters": [ |
| 251 { "name": "identifier", "$ref": "ScriptIdentifier" } | 251 { "name": "identifier", "$ref": "ScriptIdentifier" } |
| 252 ], | 252 ], |
| 253 "hidden": true | 253 "hidden": true |
| 254 }, | 254 }, |
| 255 { | 255 { |
| 256 "name": "reload", | 256 "name": "reload", |
| 257 "parameters": [ | 257 "parameters": [ |
| 258 { "name": "ignoreCache", "type": "boolean", "optional": true
, "description": "If true, browser cache is ignored (as if the user pressed Shif
t+refresh)." }, | 258 { "name": "ignoreCache", "type": "boolean", "optional": true
, "description": "If true, browser cache is ignored (as if the user pressed Shif
t+refresh)." }, |
| 259 { "name": "scriptToEvaluateOnLoad", "type": "string", "optio
nal": true, "description": "If set, the script will be injected into all frames
of the inspected page after reload." }, | 259 { "name": "scriptToEvaluateOnLoad", "type": "string", "optio
nal": true, "description": "If set, the script will be injected into all frames
of the inspected page after reload." } |
| 260 { "name": "scriptPreprocessor", "type": "string", "optional"
: true, "description": "Script body that should evaluate to function that will p
reprocess all the scripts before their compilation.", "hidden": true } | |
| 261 ], | 260 ], |
| 262 "description": "Reloads given page optionally ignoring the cache
.", | 261 "description": "Reloads given page optionally ignoring the cache
.", |
| 263 "handlers": ["browser", "renderer"] | 262 "handlers": ["browser", "renderer"] |
| 264 }, | 263 }, |
| 265 { | 264 { |
| 266 "name": "navigate", | 265 "name": "navigate", |
| 267 "parameters": [ | 266 "parameters": [ |
| 268 { "name": "url", "type": "string", "description": "URL to na
vigate the page to." } | 267 { "name": "url", "type": "string", "description": "URL to na
vigate the page to." } |
| 269 ], | 268 ], |
| 270 "returns": [ | 269 "returns": [ |
| (...skipping 4092 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4363 { | 4362 { |
| 4364 "name": "dataAvailable", | 4363 "name": "dataAvailable", |
| 4365 "parameters": [ | 4364 "parameters": [ |
| 4366 {"name": "value", "type": "array", "items": { "$ref": "Power
Event" }, "description": "List of power events." } | 4365 {"name": "value", "type": "array", "items": { "$ref": "Power
Event" }, "description": "List of power events." } |
| 4367 ], | 4366 ], |
| 4368 "handlers": ["browser", "frontend"] | 4367 "handlers": ["browser", "frontend"] |
| 4369 } | 4368 } |
| 4370 ] | 4369 ] |
| 4371 }] | 4370 }] |
| 4372 } | 4371 } |
| OLD | NEW |