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

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

Issue 2755863002: [Devtools] Add stacktrace to protocol for scriptParsed event (Closed)
Patch Set: [Devtools] Add stacktrace to protocol for scriptParsed event 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
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 stack trace if available.", "experimental ": true }
dgozman 2017/03/16 18:39:03 - creationStackTrace? evaluationStackTrace? - plea
allada 2017/03/16 21:02:12 Per offline comments, I updated description.
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." },
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
1071 { 1072 {
1072 "name": "heapStatsUpdate", 1073 "name": "heapStatsUpdate",
1073 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments", 1074 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments",
1074 "parameters": [ 1075 "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."} 1076 { "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 ] 1077 ]
1077 } 1078 }
1078 ] 1079 ]
1079 }] 1080 }]
1080 } 1081 }
OLDNEW
« no previous file with comments | « no previous file | src/inspector/v8-debugger-agent-impl.cc » ('j') | src/inspector/v8-debugger-agent-impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698