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

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

Issue 2663973002: [inspector] added experimental is_module flag for script parsed events (Closed)
Patch Set: rebased 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/debug/debug-interface.h ('k') | 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 675 matching lines...) Expand 10 before | Expand all | Expand 10 after
686 { "name": "url", "type": "string", "description": "URL or na me of the script parsed (if any)." }, 686 { "name": "url", "type": "string", "description": "URL or na me of the script parsed (if any)." },
687 { "name": "startLine", "type": "integer", "description": "Li ne offset of the script within the resource with given URL (for script tags)." } , 687 { "name": "startLine", "type": "integer", "description": "Li ne offset of the script within the resource with given URL (for script tags)." } ,
688 { "name": "startColumn", "type": "integer", "description": " Column offset of the script within the resource with given URL." }, 688 { "name": "startColumn", "type": "integer", "description": " Column offset of the script within the resource with given URL." },
689 { "name": "endLine", "type": "integer", "description": "Last line of the script." }, 689 { "name": "endLine", "type": "integer", "description": "Last line of the script." },
690 { "name": "endColumn", "type": "integer", "description": "Le ngth of the last line of the script." }, 690 { "name": "endColumn", "type": "integer", "description": "Le ngth of the last line of the script." },
691 { "name": "executionContextId", "$ref": "Runtime.ExecutionCo ntextId", "description": "Specifies script creation context." }, 691 { "name": "executionContextId", "$ref": "Runtime.ExecutionCo ntextId", "description": "Specifies script creation context." },
692 { "name": "hash", "type": "string", "description": "Content hash of the script."}, 692 { "name": "hash", "type": "string", "description": "Content hash of the script."},
693 { "name": "executionContextAuxData", "type": "object", "opti onal": true, "description": "Embedder-specific auxiliary data." }, 693 { "name": "executionContextAuxData", "type": "object", "opti onal": true, "description": "Embedder-specific auxiliary data." },
694 { "name": "isLiveEdit", "type": "boolean", "optional": true, "description": "True, if this script is generated as a result of the live edit operation.", "experimental": true }, 694 { "name": "isLiveEdit", "type": "boolean", "optional": true, "description": "True, if this script is generated as a result of the live edit operation.", "experimental": true },
695 { "name": "sourceMapURL", "type": "string", "optional": true , "description": "URL of source map associated with script (if any)." }, 695 { "name": "sourceMapURL", "type": "string", "optional": true , "description": "URL of source map associated with script (if any)." },
696 { "name": "hasSourceURL", "type": "boolean", "optional": tru e, "description": "True, if this script has sourceURL.", "experimental": true } 696 { "name": "hasSourceURL", "type": "boolean", "optional": tru e, "description": "True, if this script has sourceURL.", "experimental": true },
697 { "name": "isModule", "type": "boolean", "optional": true, " description": "True, if this script is ES6 module.", "experimental": true }
697 ], 698 ],
698 "description": "Fired when virtual machine parses script. This e vent is also fired for all known and uncollected scripts upon enabling debugger. " 699 "description": "Fired when virtual machine parses script. This e vent is also fired for all known and uncollected scripts upon enabling debugger. "
699 }, 700 },
700 { 701 {
701 "name": "scriptFailedToParse", 702 "name": "scriptFailedToParse",
702 "parameters": [ 703 "parameters": [
703 { "name": "scriptId", "$ref": "Runtime.ScriptId", "descripti on": "Identifier of the script parsed." }, 704 { "name": "scriptId", "$ref": "Runtime.ScriptId", "descripti on": "Identifier of the script parsed." },
704 { "name": "url", "type": "string", "description": "URL or na me of the script parsed (if any)." }, 705 { "name": "url", "type": "string", "description": "URL or na me of the script parsed (if any)." },
705 { "name": "startLine", "type": "integer", "description": "Li ne offset of the script within the resource with given URL (for script tags)." } , 706 { "name": "startLine", "type": "integer", "description": "Li ne offset of the script within the resource with given URL (for script tags)." } ,
706 { "name": "startColumn", "type": "integer", "description": " Column offset of the script within the resource with given URL." }, 707 { "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." }, 708 { "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." }, 709 { "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." }, 710 { "name": "executionContextId", "$ref": "Runtime.ExecutionCo ntextId", "description": "Specifies script creation context." },
710 { "name": "hash", "type": "string", "description": "Content hash of the script."}, 711 { "name": "hash", "type": "string", "description": "Content hash of the script."},
711 { "name": "executionContextAuxData", "type": "object", "opti onal": true, "description": "Embedder-specific auxiliary data." }, 712 { "name": "executionContextAuxData", "type": "object", "opti onal": true, "description": "Embedder-specific auxiliary data." },
712 { "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)." },
713 { "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 }
714 ], 716 ],
715 "description": "Fired when virtual machine fails to parse the sc ript." 717 "description": "Fired when virtual machine fails to parse the sc ript."
716 }, 718 },
717 { 719 {
718 "name": "breakpointResolved", 720 "name": "breakpointResolved",
719 "parameters": [ 721 "parameters": [
720 { "name": "breakpointId", "$ref": "BreakpointId", "descripti on": "Breakpoint unique identifier." }, 722 { "name": "breakpointId", "$ref": "BreakpointId", "descripti on": "Breakpoint unique identifier." },
721 { "name": "location", "$ref": "Location", "description": "Ac tual breakpoint location." } 723 { "name": "location", "$ref": "Location", "description": "Ac tual breakpoint location." }
722 ], 724 ],
723 "description": "Fired when breakpoint is resolved to an actual s cript and location." 725 "description": "Fired when breakpoint is resolved to an actual s cript and location."
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
993 { 995 {
994 "name": "heapStatsUpdate", 996 "name": "heapStatsUpdate",
995 "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",
996 "parameters": [ 998 "parameters": [
997 { "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."}
998 ] 1000 ]
999 } 1001 }
1000 ] 1002 ]
1001 }] 1003 }]
1002 } 1004 }
OLDNEW
« no previous file with comments | « src/debug/debug-interface.h ('k') | src/inspector/v8-debugger-agent-impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698