Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Side by Side Diff: Source/devtools/protocol.json

Issue 19064004: Support re-reading scope variables in protocol and on backed. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: clean Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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",
yurys 2013/07/16 07:45:05 Why is it called updateCallFrameScopes here and re
Peter.Rybin 2013/07/16 12:02:27 I guess we should discuss naming.
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,
Peter.Rybin 2013/07/14 23:13:16 We may want to make it public, since there is an e
yurys 2013/07/16 07:45:05 Let's keep it hidden for some time to make sure it
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698