OLD | NEW |
1 { | 1 { |
2 "version": { "major": "1", "minor": "0" }, | 2 "version": { "major": "1", "minor": "0" }, |
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 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
446 "description": "Capture page screenshot.", | 446 "description": "Capture page screenshot.", |
447 "returns": [ | 447 "returns": [ |
448 { "name": "data", "type": "string", "description": "Base64-e
ncoded image data (PNG)." } | 448 { "name": "data", "type": "string", "description": "Base64-e
ncoded image data (PNG)." } |
449 ] | 449 ] |
450 }, | 450 }, |
451 { | 451 { |
452 "name": "handleJavaScriptDialog", | 452 "name": "handleJavaScriptDialog", |
453 "description": "Accepts or dismisses a JavaScript initiated dial
og (alert, confirm, prompt, or onbeforeunload).", | 453 "description": "Accepts or dismisses a JavaScript initiated dial
og (alert, confirm, prompt, or onbeforeunload).", |
454 "parameters": [ | 454 "parameters": [ |
455 { "name": "accept", "type": "boolean", "description": "Wheth
er to accept or dismiss the dialog." }, | 455 { "name": "accept", "type": "boolean", "description": "Wheth
er to accept or dismiss the dialog." }, |
456 { "name": "promptText", "type": "string", "optional": "true"
, "description": "The text to enter into the dialog prompt before accepting. Use
d only if this is a prompt dialog." } | 456 { "name": "promptText", "type": "string", "optional": true,
"description": "The text to enter into the dialog prompt before accepting. Used
only if this is a prompt dialog." } |
457 ], | 457 ], |
458 "hidden": true | 458 "hidden": true |
459 } | 459 } |
460 ], | 460 ], |
461 "events": [ | 461 "events": [ |
462 { | 462 { |
463 "name": "domContentEventFired", | 463 "name": "domContentEventFired", |
464 "parameters": [ | 464 "parameters": [ |
465 { "name": "timestamp", "type": "number" } | 465 { "name": "timestamp", "type": "number" } |
466 ] | 466 ] |
(...skipping 3252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3719 ] | 3719 ] |
3720 } | 3720 } |
3721 ], | 3721 ], |
3722 "events": [ | 3722 "events": [ |
3723 { | 3723 { |
3724 "name": "layerTreeDidChange" | 3724 "name": "layerTreeDidChange" |
3725 } | 3725 } |
3726 ] | 3726 ] |
3727 }] | 3727 }] |
3728 } | 3728 } |
OLD | NEW |