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

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

Issue 2733783002: [debug] change coverage API to use offset instead of line/column. (Closed)
Patch Set: rebase 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 | « src/debug/debug-interface.h ('k') | src/inspector/v8-profiler-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 834 matching lines...) Expand 10 before | Expand all | Expand 10 after
845 ] 845 ]
846 }, 846 },
847 { "id": "CoverageRange", 847 { "id": "CoverageRange",
848 "type": "object", 848 "type": "object",
849 "description": "Coverage data for a source range.", 849 "description": "Coverage data for a source range.",
850 "properties": [ 850 "properties": [
851 { "name": "startLineNumber", "type": "integer", "description ": "JavaScript script line number (0-based) for the range start." }, 851 { "name": "startLineNumber", "type": "integer", "description ": "JavaScript script line number (0-based) for the range start." },
852 { "name": "startColumnNumber", "type": "integer", "descripti on": "JavaScript script column number (0-based) for the range start." }, 852 { "name": "startColumnNumber", "type": "integer", "descripti on": "JavaScript script column number (0-based) for the range start." },
853 { "name": "endLineNumber", "type": "integer", "description": "JavaScript script line number (0-based) for the range end." }, 853 { "name": "endLineNumber", "type": "integer", "description": "JavaScript script line number (0-based) for the range end." },
854 { "name": "endColumnNumber", "type": "integer", "description ": "JavaScript script column number (0-based) for the range end." }, 854 { "name": "endColumnNumber", "type": "integer", "description ": "JavaScript script column number (0-based) for the range end." },
855 { "name": "startOffset", "type": "integer", "description": " JavaScript script source offset for the range start." },
856 { "name": "endOffset", "type": "integer", "description": "Ja vaScript script source offset for the range end." },
855 { "name": "count", "type": "integer", "description": "Collec ted execution count of the source range." } 857 { "name": "count", "type": "integer", "description": "Collec ted execution count of the source range." }
856 ], 858 ],
857 "experimental": true 859 "experimental": true
858 }, 860 },
859 { "id": "FunctionCoverage", 861 { "id": "FunctionCoverage",
860 "type": "object", 862 "type": "object",
861 "description": "Coverage data for a JavaScript function.", 863 "description": "Coverage data for a JavaScript function.",
862 "properties": [ 864 "properties": [
863 { "name": "functionName", "type": "string", "description": " JavaScript function name." }, 865 { "name": "functionName", "type": "string", "description": " JavaScript function name." },
864 { "name": "ranges", "type": "array", "items": { "$ref": "Cov erageRange" }, "description": "Source ranges inside the function with coverage d ata." } 866 { "name": "ranges", "type": "array", "items": { "$ref": "Cov erageRange" }, "description": "Source ranges inside the function with coverage d ata." }
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
1073 { 1075 {
1074 "name": "heapStatsUpdate", 1076 "name": "heapStatsUpdate",
1075 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments", 1077 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments",
1076 "parameters": [ 1078 "parameters": [
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."} 1079 { "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."}
1078 ] 1080 ]
1079 } 1081 }
1080 ] 1082 ]
1081 }] 1083 }]
1082 } 1084 }
OLDNEW
« no previous file with comments | « src/debug/debug-interface.h ('k') | src/inspector/v8-profiler-agent-impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698