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 3448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3459 }, | 3459 }, |
3460 { | 3460 { |
3461 "name": "setScriptSource", | 3461 "name": "setScriptSource", |
3462 "parameters": [ | 3462 "parameters": [ |
3463 { "name": "scriptId", "$ref": "ScriptId", "description": "Id
of the script to edit." }, | 3463 { "name": "scriptId", "$ref": "ScriptId", "description": "Id
of the script to edit." }, |
3464 { "name": "scriptSource", "type": "string", "description": "
New content of the script." }, | 3464 { "name": "scriptSource", "type": "string", "description": "
New content of the script." }, |
3465 { "name": "preview", "type": "boolean", "optional": true, "d
escription": " If true the change will not actually be applied. Preview mode may
be used to get result description without actually modifying the code.", "hidde
n": true } | 3465 { "name": "preview", "type": "boolean", "optional": true, "d
escription": " If true the change will not actually be applied. Preview mode may
be used to get result description without actually modifying the code.", "hidde
n": true } |
3466 ], | 3466 ], |
3467 "returns": [ | 3467 "returns": [ |
3468 { "name": "callFrames", "type": "array", "optional": true, "
items": { "$ref": "CallFrame" }, "description": "New stack trace in case editing
has happened while VM was stopped." }, | 3468 { "name": "callFrames", "type": "array", "optional": true, "
items": { "$ref": "CallFrame" }, "description": "New stack trace in case editing
has happened while VM was stopped." }, |
3469 { "name": "result", "type": "object", "optional": true, "des
cription": "VM-specific description of the changes applied.", "hidden": true }, | 3469 { "name": "stackChanged", "type": "boolean", "optional": tru
e, "description": "Whether current call stack was modified after applying the c
hanges.", "hidden": true }, |
3470 { "name": "asyncStackTrace", "$ref": "StackTrace", "optional
": true, "description": "Async stack trace, if any.", "hidden": true } | 3470 { "name": "asyncStackTrace", "$ref": "StackTrace", "optional
": true, "description": "Async stack trace, if any.", "hidden": true } |
3471 ], | 3471 ], |
3472 "error": { | 3472 "error": { |
3473 "$ref": "SetScriptSourceError" | 3473 "$ref": "SetScriptSourceError" |
3474 }, | 3474 }, |
3475 "description": "Edits JavaScript source live." | 3475 "description": "Edits JavaScript source live." |
3476 }, | 3476 }, |
3477 { | 3477 { |
3478 "name": "restartFrame", | 3478 "name": "restartFrame", |
3479 "parameters": [ | 3479 "parameters": [ |
3480 { "name": "callFrameId", "$ref": "CallFrameId", "description
": "Call frame identifier to evaluate on." } | 3480 { "name": "callFrameId", "$ref": "CallFrameId", "description
": "Call frame identifier to evaluate on." } |
3481 ], | 3481 ], |
3482 "returns": [ | 3482 "returns": [ |
3483 { "name": "callFrames", "type": "array", "items": { "$ref":
"CallFrame" }, "description": "New stack trace." }, | 3483 { "name": "callFrames", "type": "array", "items": { "$ref":
"CallFrame" }, "description": "New stack trace." }, |
3484 { "name": "result", "type": "object", "description": "VM-spe
cific description." }, | |
3485 { "name": "asyncStackTrace", "$ref": "StackTrace", "optional
": true, "description": "Async stack trace, if any." } | 3484 { "name": "asyncStackTrace", "$ref": "StackTrace", "optional
": true, "description": "Async stack trace, if any." } |
3486 ], | 3485 ], |
3487 "hidden": true, | 3486 "hidden": true, |
3488 "description": "Restarts particular call frame from the beginnin
g." | 3487 "description": "Restarts particular call frame from the beginnin
g." |
3489 }, | 3488 }, |
3490 { | 3489 { |
3491 "name": "getScriptSource", | 3490 "name": "getScriptSource", |
3492 "parameters": [ | 3491 "parameters": [ |
3493 { "name": "scriptId", "$ref": "ScriptId", "description": "Id
of the script to get source for." } | 3492 { "name": "scriptId", "$ref": "ScriptId", "description": "Id
of the script to get source for." } |
3494 ], | 3493 ], |
(...skipping 1582 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5077 "description": "The security state of the page changed.", | 5076 "description": "The security state of the page changed.", |
5078 "parameters": [ | 5077 "parameters": [ |
5079 { "name": "securityState", "$ref": "SecurityState", "descrip
tion": "Security state." }, | 5078 { "name": "securityState", "$ref": "SecurityState", "descrip
tion": "Security state." }, |
5080 { "name": "explanations", "type": "array", "items": { "$ref"
: "SecurityStateExplanation" }, "description": "List of explanations for the sec
urity state. If the overall security state is `insecure` or `warning`, at least
one corresponding explanation should be included.", "optional": true } | 5079 { "name": "explanations", "type": "array", "items": { "$ref"
: "SecurityStateExplanation" }, "description": "List of explanations for the sec
urity state. If the overall security state is `insecure` or `warning`, at least
one corresponding explanation should be included.", "optional": true } |
5081 ], | 5080 ], |
5082 "handlers": ["browser"] | 5081 "handlers": ["browser"] |
5083 } | 5082 } |
5084 ] | 5083 ] |
5085 }] | 5084 }] |
5086 } | 5085 } |
OLD | NEW |