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

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

Issue 2685483002: [debugger] expose side-effect free evaluate to inspector. (Closed)
Patch Set: add inspector test 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." }
639 ], 640 ],
640 "returns": [ 641 "returns": [
641 { "name": "result", "$ref": "Runtime.RemoteObject", "descrip tion": "Object wrapper for the evaluation result." }, 642 { "name": "result", "$ref": "Runtime.RemoteObject", "descrip tion": "Object wrapper for the evaluation result." },
642 { "name": "exceptionDetails", "$ref": "Runtime.ExceptionDeta ils", "optional": true, "description": "Exception details."} 643 { "name": "exceptionDetails", "$ref": "Runtime.ExceptionDeta ils", "optional": true, "description": "Exception details."}
643 ], 644 ],
644 "description": "Evaluates expression on a given call frame." 645 "description": "Evaluates expression on a given call frame."
645 }, 646 },
646 { 647 {
647 "name": "setVariableValue", 648 "name": "setVariableValue",
648 "parameters": [ 649 "parameters": [
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
995 { 996 {
996 "name": "heapStatsUpdate", 997 "name": "heapStatsUpdate",
997 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments", 998 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments",
998 "parameters": [ 999 "parameters": [
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."} 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."}
1000 ] 1001 ]
1001 } 1002 }
1002 ] 1003 ]
1003 }] 1004 }]
1004 } 1005 }
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