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

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

Issue 2755863002: [Devtools] Add stacktrace to protocol for scriptParsed event (Closed)
Patch Set: fix tests Created 3 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
« no previous file with comments | « no previous file | src/inspector/v8-debugger-agent-impl.cc » ('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 695 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 { "name": "startColumn", "type": "integer", "description": " Column offset of the script within the resource with given URL." }, 706 { "name": "startColumn", "type": "integer", "description": " Column offset of the script within the resource with given URL." },
707 { "name": "endLine", "type": "integer", "description": "Last line of the script." }, 707 { "name": "endLine", "type": "integer", "description": "Last line of the script." },
708 { "name": "endColumn", "type": "integer", "description": "Le ngth of the last line of the script." }, 708 { "name": "endColumn", "type": "integer", "description": "Le ngth of the last line of the script." },
709 { "name": "executionContextId", "$ref": "Runtime.ExecutionCo ntextId", "description": "Specifies script creation context." }, 709 { "name": "executionContextId", "$ref": "Runtime.ExecutionCo ntextId", "description": "Specifies script creation context." },
710 { "name": "hash", "type": "string", "description": "Content hash of the script."}, 710 { "name": "hash", "type": "string", "description": "Content hash of the script."},
711 { "name": "executionContextAuxData", "type": "object", "opti onal": true, "description": "Embedder-specific auxiliary data." }, 711 { "name": "executionContextAuxData", "type": "object", "opti onal": true, "description": "Embedder-specific auxiliary data." },
712 { "name": "isLiveEdit", "type": "boolean", "optional": true, "description": "True, if this script is generated as a result of the live edit operation.", "experimental": true }, 712 { "name": "isLiveEdit", "type": "boolean", "optional": true, "description": "True, if this script is generated as a result of the live edit operation.", "experimental": true },
713 { "name": "sourceMapURL", "type": "string", "optional": true , "description": "URL of source map associated with script (if any)." }, 713 { "name": "sourceMapURL", "type": "string", "optional": true , "description": "URL of source map associated with script (if any)." },
714 { "name": "hasSourceURL", "type": "boolean", "optional": tru e, "description": "True, if this script has sourceURL.", "experimental": true }, 714 { "name": "hasSourceURL", "type": "boolean", "optional": tru e, "description": "True, if this script has sourceURL.", "experimental": true },
715 { "name": "isModule", "type": "boolean", "optional": true, " description": "True, if this script is ES6 module.", "experimental": true }, 715 { "name": "isModule", "type": "boolean", "optional": true, " description": "True, if this script is ES6 module.", "experimental": true },
716 { "name": "length", "type": "integer", "optional": true, "de scription": "This script length.", "experimental": true } 716 { "name": "length", "type": "integer", "optional": true, "de scription": "This script length.", "experimental": true },
717 { "name": "stackTrace", "$ref": "Runtime.StackTrace", "optio nal": true, "description": "JavaScript top stack frame of where the script parse d event was triggered if available.", "experimental": true }
717 ], 718 ],
718 "description": "Fired when virtual machine parses script. This e vent is also fired for all known and uncollected scripts upon enabling debugger. " 719 "description": "Fired when virtual machine parses script. This e vent is also fired for all known and uncollected scripts upon enabling debugger. "
719 }, 720 },
720 { 721 {
721 "name": "scriptFailedToParse", 722 "name": "scriptFailedToParse",
722 "parameters": [ 723 "parameters": [
723 { "name": "scriptId", "$ref": "Runtime.ScriptId", "descripti on": "Identifier of the script parsed." }, 724 { "name": "scriptId", "$ref": "Runtime.ScriptId", "descripti on": "Identifier of the script parsed." },
724 { "name": "url", "type": "string", "description": "URL or na me of the script parsed (if any)." }, 725 { "name": "url", "type": "string", "description": "URL or na me of the script parsed (if any)." },
725 { "name": "startLine", "type": "integer", "description": "Li ne offset of the script within the resource with given URL (for script tags)." } , 726 { "name": "startLine", "type": "integer", "description": "Li ne offset of the script within the resource with given URL (for script tags)." } ,
726 { "name": "startColumn", "type": "integer", "description": " Column offset of the script within the resource with given URL." }, 727 { "name": "startColumn", "type": "integer", "description": " Column offset of the script within the resource with given URL." },
727 { "name": "endLine", "type": "integer", "description": "Last line of the script." }, 728 { "name": "endLine", "type": "integer", "description": "Last line of the script." },
728 { "name": "endColumn", "type": "integer", "description": "Le ngth of the last line of the script." }, 729 { "name": "endColumn", "type": "integer", "description": "Le ngth of the last line of the script." },
729 { "name": "executionContextId", "$ref": "Runtime.ExecutionCo ntextId", "description": "Specifies script creation context." }, 730 { "name": "executionContextId", "$ref": "Runtime.ExecutionCo ntextId", "description": "Specifies script creation context." },
730 { "name": "hash", "type": "string", "description": "Content hash of the script."}, 731 { "name": "hash", "type": "string", "description": "Content hash of the script."},
731 { "name": "executionContextAuxData", "type": "object", "opti onal": true, "description": "Embedder-specific auxiliary data." }, 732 { "name": "executionContextAuxData", "type": "object", "opti onal": true, "description": "Embedder-specific auxiliary data." },
732 { "name": "sourceMapURL", "type": "string", "optional": true , "description": "URL of source map associated with script (if any)." }, 733 { "name": "sourceMapURL", "type": "string", "optional": true , "description": "URL of source map associated with script (if any)." },
733 { "name": "hasSourceURL", "type": "boolean", "optional": tru e, "description": "True, if this script has sourceURL.", "experimental": true }, 734 { "name": "hasSourceURL", "type": "boolean", "optional": tru e, "description": "True, if this script has sourceURL.", "experimental": true },
734 { "name": "isModule", "type": "boolean", "optional": true, " description": "True, if this script is ES6 module.", "experimental": true }, 735 { "name": "isModule", "type": "boolean", "optional": true, " description": "True, if this script is ES6 module.", "experimental": true },
735 { "name": "length", "type": "integer", "optional": true, "de scription": "This script length.", "experimental": true } 736 { "name": "length", "type": "integer", "optional": true, "de scription": "This script length.", "experimental": true },
737 { "name": "stackTrace", "$ref": "Runtime.StackTrace", "optio nal": true, "description": "JavaScript top stack frame of where the script parse d event was triggered if available.", "experimental": true }
736 ], 738 ],
737 "description": "Fired when virtual machine fails to parse the sc ript." 739 "description": "Fired when virtual machine fails to parse the sc ript."
738 }, 740 },
739 { 741 {
740 "name": "breakpointResolved", 742 "name": "breakpointResolved",
741 "parameters": [ 743 "parameters": [
742 { "name": "breakpointId", "$ref": "BreakpointId", "descripti on": "Breakpoint unique identifier." }, 744 { "name": "breakpointId", "$ref": "BreakpointId", "descripti on": "Breakpoint unique identifier." },
743 { "name": "location", "$ref": "Location", "description": "Ac tual breakpoint location." } 745 { "name": "location", "$ref": "Location", "description": "Ac tual breakpoint location." }
744 ], 746 ],
745 "description": "Fired when breakpoint is resolved to an actual s cript and location." 747 "description": "Fired when breakpoint is resolved to an actual s cript and location."
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
1071 { 1073 {
1072 "name": "heapStatsUpdate", 1074 "name": "heapStatsUpdate",
1073 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments", 1075 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments",
1074 "parameters": [ 1076 "parameters": [
1075 { "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."} 1077 { "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."}
1076 ] 1078 ]
1077 } 1079 }
1078 ] 1080 ]
1079 }] 1081 }]
1080 } 1082 }
OLDNEW
« no previous file with comments | « no previous file | src/inspector/v8-debugger-agent-impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698