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

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

Issue 1786243002: [DevTools] Move restartFrame and setCallFrameVariableValue to V8DebuggerAgent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dgozman-patch
Patch Set: Created 4 years, 9 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": "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 3685 matching lines...) Expand 10 before | Expand all | Expand 10 after
3696 { "name": "exceptionDetails", "$ref": "Runtime.ExceptionDeta ils", "optional": true, "hidden": true, "description": "Exception details."} 3696 { "name": "exceptionDetails", "$ref": "Runtime.ExceptionDeta ils", "optional": true, "hidden": true, "description": "Exception details."}
3697 ], 3697 ],
3698 "description": "Evaluates expression on a given call frame." 3698 "description": "Evaluates expression on a given call frame."
3699 }, 3699 },
3700 { 3700 {
3701 "name": "setVariableValue", 3701 "name": "setVariableValue",
3702 "parameters": [ 3702 "parameters": [
3703 { "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." }, 3703 { "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." },
3704 { "name": "variableName", "type": "string", "description": " Variable name." }, 3704 { "name": "variableName", "type": "string", "description": " Variable name." },
3705 { "name": "newValue", "$ref": "Runtime.CallArgument", "descr iption": "New variable value." }, 3705 { "name": "newValue", "$ref": "Runtime.CallArgument", "descr iption": "New variable value." },
3706 { "name": "callFrameId", "$ref": "CallFrameId", "optional": true, "description": "Id of callframe that holds variable." }, 3706 { "name": "callFrameId", "$ref": "CallFrameId", "description ": "Id of callframe that holds variable." }
3707 { "name": "functionObjectId", "$ref": "Runtime.RemoteObjectI d", "optional": true, "description": "Object id of closure (function) that holds variable." }
3708 ], 3707 ],
3709 "hidden": true, 3708 "hidden": true,
3710 "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." 3709 "description": "Changes value of variable in a callframe. Object -based scopes are not supported and must be mutated manually."
3711 }, 3710 },
3712 { 3711 {
3713 "name": "getBacktrace", 3712 "name": "getBacktrace",
3714 "returns": [ 3713 "returns": [
3715 { "name": "callFrames", "type": "array", "items": { "$ref": "CallFrame" }, "description": "Call stack the virtual machine stopped on." }, 3714 { "name": "callFrames", "type": "array", "items": { "$ref": "CallFrame" }, "description": "Call stack the virtual machine stopped on." },
3716 { "name": "asyncStackTrace", "$ref": "Runtime.StackTrace", " optional": true, "description": "Async stack trace, if any." } 3715 { "name": "asyncStackTrace", "$ref": "Runtime.StackTrace", " optional": true, "description": "Async stack trace, if any." }
3717 ], 3716 ],
3718 "hidden": true, 3717 "hidden": true,
3719 "description": "Returns call stack including variables changed s ince VM was paused. VM must be paused." 3718 "description": "Returns call stack including variables changed s ince VM was paused. VM must be paused."
3720 }, 3719 },
(...skipping 1434 matching lines...) Expand 10 before | Expand all | Expand 10 after
5155 ], 5154 ],
5156 "returns": [ 5155 "returns": [
5157 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } 5156 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true }
5158 ], 5157 ],
5159 "description": "Fetches the accessibility node for this DOM node , if it exists.", 5158 "description": "Fetches the accessibility node for this DOM node , if it exists.",
5160 "hidden": true 5159 "hidden": true
5161 } 5160 }
5162 ] 5161 ]
5163 }] 5162 }]
5164 } 5163 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698