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

Side by Side Diff: src/inspector/js_protocol.json

Issue 2687013003: Revert of [debugger] expose side-effect free evaluate to inspector. (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « src/inspector/java-script-call-frame.cc ('k') | src/inspector/v8-debugger-agent-impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "version": { "major": "1", "minor": "2" }, 2 "version": { "major": "1", "minor": "2" },
3 "domains": [ 3 "domains": [
4 { 4 {
5 "domain": "Schema", 5 "domain": "Schema",
6 "description": "Provides information about the protocol schema.", 6 "description": "Provides information about the protocol schema.",
7 "types": [ 7 "types": [
8 { 8 {
9 "id": "Domain", 9 "id": "Domain",
10 "type": "object", 10 "type": "object",
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after
628 }, 628 },
629 { 629 {
630 "name": "evaluateOnCallFrame", 630 "name": "evaluateOnCallFrame",
631 "parameters": [ 631 "parameters": [
632 { "name": "callFrameId", "$ref": "CallFrameId", "description ": "Call frame identifier to evaluate on." }, 632 { "name": "callFrameId", "$ref": "CallFrameId", "description ": "Call frame identifier to evaluate on." },
633 { "name": "expression", "type": "string", "description": "Ex pression to evaluate." }, 633 { "name": "expression", "type": "string", "description": "Ex pression to evaluate." },
634 { "name": "objectGroup", "type": "string", "optional": true, "description": "String object group name to put result into (allows rapid relea sing resulting object handles using <code>releaseObjectGroup</code>)." }, 634 { "name": "objectGroup", "type": "string", "optional": true, "description": "String object group name to put result into (allows rapid relea sing resulting object handles using <code>releaseObjectGroup</code>)." },
635 { "name": "includeCommandLineAPI", "type": "boolean", "optio nal": true, "description": "Specifies whether command line API should be availab le to the evaluated expression, defaults to false." }, 635 { "name": "includeCommandLineAPI", "type": "boolean", "optio nal": true, "description": "Specifies whether command line API should be availab le to the evaluated expression, defaults to false." },
636 { "name": "silent", "type": "boolean", "optional": true, "de scription": "In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides <code>setPauseOnException</code> state." }, 636 { "name": "silent", "type": "boolean", "optional": true, "de scription": "In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides <code>setPauseOnException</code> state." },
637 { "name": "returnByValue", "type": "boolean", "optional": tr ue, "description": "Whether the result is expected to be a JSON object that shou ld be sent by value." }, 637 { "name": "returnByValue", "type": "boolean", "optional": tr ue, "description": "Whether the result is expected to be a JSON object that shou ld be sent by value." },
638 { "name": "generatePreview", "type": "boolean", "optional": true, "experimental": true, "description": "Whether preview should be generated for the result." }, 638 { "name": "generatePreview", "type": "boolean", "optional": true, "experimental": true, "description": "Whether preview should be generated for the result." }
639 { "name": "throwOnSideEffect", "type": "boolean", "optional" : true, "experimental": true, "description": "Whether to throw an exception if s ide effect cannot be ruled out during evaluation." }
640 ], 639 ],
641 "returns": [ 640 "returns": [
642 { "name": "result", "$ref": "Runtime.RemoteObject", "descrip tion": "Object wrapper for the evaluation result." }, 641 { "name": "result", "$ref": "Runtime.RemoteObject", "descrip tion": "Object wrapper for the evaluation result." },
643 { "name": "exceptionDetails", "$ref": "Runtime.ExceptionDeta ils", "optional": true, "description": "Exception details."} 642 { "name": "exceptionDetails", "$ref": "Runtime.ExceptionDeta ils", "optional": true, "description": "Exception details."}
644 ], 643 ],
645 "description": "Evaluates expression on a given call frame." 644 "description": "Evaluates expression on a given call frame."
646 }, 645 },
647 { 646 {
648 "name": "setVariableValue", 647 "name": "setVariableValue",
649 "parameters": [ 648 "parameters": [
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
996 { 995 {
997 "name": "heapStatsUpdate", 996 "name": "heapStatsUpdate",
998 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments", 997 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments",
999 "parameters": [ 998 "parameters": [
1000 { "name": "statsUpdate", "type": "array", "items": { "type": "integer" }, "description": "An array of triplets. Each triplet describes a fra gment. The first integer is the fragment index, the second integer is a total co unt of objects for the fragment, the third integer is a total size of the object s for the fragment."} 999 { "name": "statsUpdate", "type": "array", "items": { "type": "integer" }, "description": "An array of triplets. Each triplet describes a fra gment. The first integer is the fragment index, the second integer is a total co unt of objects for the fragment, the third integer is a total size of the object s for the fragment."}
1001 ] 1000 ]
1002 } 1001 }
1003 ] 1002 ]
1004 }] 1003 }]
1005 } 1004 }
OLDNEW
« no previous file with comments | « src/inspector/java-script-call-frame.cc ('k') | src/inspector/v8-debugger-agent-impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698