| 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 3004 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3015 "name": "setVariableValue", | 3015 "name": "setVariableValue", |
| 3016 "parameters": [ | 3016 "parameters": [ |
| 3017 { "name": "scopeNumber", "type": "integer", "description": "
0-based number of scope as was listed in scope chain. Only 'local', 'closure' an
d 'catch' scope types are allowed. Other scopes could be manipulated manually."
}, | 3017 { "name": "scopeNumber", "type": "integer", "description": "
0-based number of scope as was listed in scope chain. Only 'local', 'closure' an
d 'catch' scope types are allowed. Other scopes could be manipulated manually."
}, |
| 3018 { "name": "variableName", "type": "string", "description": "
Variable name." }, | 3018 { "name": "variableName", "type": "string", "description": "
Variable name." }, |
| 3019 { "name": "newValue", "$ref": "Runtime.CallArgument", "descr
iption": "New variable value." }, | 3019 { "name": "newValue", "$ref": "Runtime.CallArgument", "descr
iption": "New variable value." }, |
| 3020 { "name": "callFrameId", "$ref": "CallFrameId", "optional":
true, "description": "Id of callframe that holds variable." }, | 3020 { "name": "callFrameId", "$ref": "CallFrameId", "optional":
true, "description": "Id of callframe that holds variable." }, |
| 3021 { "name": "functionObjectId", "$ref": "Runtime.RemoteObjectI
d", "optional": true, "description": "Object id of closure (function) that holds
variable." } | 3021 { "name": "functionObjectId", "$ref": "Runtime.RemoteObjectI
d", "optional": true, "description": "Object id of closure (function) that holds
variable." } |
| 3022 ], | 3022 ], |
| 3023 "hidden": true, | 3023 "hidden": true, |
| 3024 "description": "Changes value of variable in a callframe or a cl
osure. Either callframe or function must be specified. Object-based scopes are n
ot supported and must be mutated manually." | 3024 "description": "Changes value of variable in a callframe or a cl
osure. Either callframe or function must be specified. Object-based scopes are n
ot supported and must be mutated manually." |
| 3025 }, |
| 3026 { |
| 3027 "name": "updateCallFrameScopes", |
| 3028 "parameters": [ |
| 3029 { "name": "callFrameId", "$ref": "CallFrameId", "description
": "Call frame id that scopes must be re-read of." } |
| 3030 ], |
| 3031 "returns": [ |
| 3032 { "name": "scopeChain", "type": "array", "items": { "$ref":
"Scope" }, "description": "Scope chain for this call frame." } |
| 3033 ], |
| 3034 "hidden": true, |
| 3035 "description": "Gets a fresh copy of variable scopes of a call f
rame currently on stack." |
| 3025 } | 3036 } |
| 3026 ], | 3037 ], |
| 3027 "events": [ | 3038 "events": [ |
| 3028 { | 3039 { |
| 3029 "name": "globalObjectCleared", | 3040 "name": "globalObjectCleared", |
| 3030 "description": "Called when global has been cleared and debugger
client should reset its state. Happens upon navigation or reload." | 3041 "description": "Called when global has been cleared and debugger
client should reset its state. Happens upon navigation or reload." |
| 3031 }, | 3042 }, |
| 3032 { | 3043 { |
| 3033 "name": "scriptParsed", | 3044 "name": "scriptParsed", |
| 3034 "parameters": [ | 3045 "parameters": [ |
| (...skipping 738 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3773 ] | 3784 ] |
| 3774 } | 3785 } |
| 3775 ], | 3786 ], |
| 3776 "events": [ | 3787 "events": [ |
| 3777 { | 3788 { |
| 3778 "name": "layerTreeDidChange" | 3789 "name": "layerTreeDidChange" |
| 3779 } | 3790 } |
| 3780 ] | 3791 ] |
| 3781 }] | 3792 }] |
| 3782 } | 3793 } |
| OLD | NEW |