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

Side by Side Diff: Source/devtools/Inspector-1.1.json

Issue 272613002: DevTools: implemented scriptFailedToParse protocol event (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 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": "1" }, 2 "version": { "major": "1", "minor": "1" },
3 "domains": [{ 3 "domains": [{
4 "domain": "Inspector", 4 "domain": "Inspector",
5 "hidden": true, 5 "hidden": true,
6 "types": [], 6 "types": [],
7 "commands": [ 7 "commands": [
8 { 8 {
9 "name": "enable", 9 "name": "enable",
10 "description": "Enables inspector domain notifications." 10 "description": "Enables inspector domain notifications."
(...skipping 3181 matching lines...) Expand 10 before | Expand all | Expand 10 after
3192 { "name": "startColumn", "type": "integer", "description": " Column offset of the script within the resource with given URL." }, 3192 { "name": "startColumn", "type": "integer", "description": " Column offset of the script within the resource with given URL." },
3193 { "name": "endLine", "type": "integer", "description": "Last line of the script." }, 3193 { "name": "endLine", "type": "integer", "description": "Last line of the script." },
3194 { "name": "endColumn", "type": "integer", "description": "Le ngth of the last line of the script." }, 3194 { "name": "endColumn", "type": "integer", "description": "Le ngth of the last line of the script." },
3195 { "name": "isContentScript", "type": "boolean", "optional": true, "description": "Determines whether this script is a user extension script. " }, 3195 { "name": "isContentScript", "type": "boolean", "optional": true, "description": "Determines whether this script is a user extension script. " },
3196 { "name": "sourceMapURL", "type": "string", "optional": true , "description": "URL of source map associated with script (if any)." }, 3196 { "name": "sourceMapURL", "type": "string", "optional": true , "description": "URL of source map associated with script (if any)." },
3197 { "name": "hasSourceURL", "type": "boolean", "optional": tru e, "description": "True, if this script has sourceURL.", "hidden": true } 3197 { "name": "hasSourceURL", "type": "boolean", "optional": tru e, "description": "True, if this script has sourceURL.", "hidden": true }
3198 ], 3198 ],
3199 "description": "Fired when virtual machine parses script. This e vent is also fired for all known and uncollected scripts upon enabling debugger. " 3199 "description": "Fired when virtual machine parses script. This e vent is also fired for all known and uncollected scripts upon enabling debugger. "
3200 }, 3200 },
3201 { 3201 {
3202 "name": "scriptFailedToParse", 3202 "name": "scriptFailedToParse",
vsevik 2014/06/27 12:35:14 Let's remove this event completely and add an opti
3203 "parameters": [ 3203 "parameters": [
3204 { "name": "scriptId", "$ref": "ScriptId", "description": "Id entifier of the script parsed." },
3204 { "name": "url", "type": "string", "description": "URL of th e script that failed to parse." }, 3205 { "name": "url", "type": "string", "description": "URL of th e script that failed to parse." },
3205 { "name": "scriptSource", "type": "string", "description": " Source text of the script that failed to parse." },
3206 { "name": "startLine", "type": "integer", "description": "Li ne offset of the script within the resource." }, 3206 { "name": "startLine", "type": "integer", "description": "Li ne offset of the script within the resource." },
3207 { "name": "errorLine", "type": "integer", "description": "Li ne with error." }, 3207 { "name": "startColumn", "type": "integer", "description": " Column offset of the script within the resource with given URL." },
3208 { "name": "errorMessage", "type": "string", "description": " Parse error message." } 3208 { "name": "endLine", "type": "integer", "description": "Last line of the script." },
3209 { "name": "endColumn", "type": "integer", "description": "Le ngth of the last line of the script." },
3210 { "name": "isContentScript", "type": "boolean", "optional": true, "description": "Determines whether this script is a user extension script. " },
3211 { "name": "sourceMapURL", "type": "string", "optional": true , "description": "URL of source map associated with script (if any)." },
3212 { "name": "hasSourceURL", "type": "boolean", "optional": tru e, "description": "True, if this script has sourceURL.", "hidden": true }
3209 ], 3213 ],
3210 "description": "Fired when virtual machine fails to parse the sc ript." 3214 "description": "Fired when virtual machine fails to parse the sc ript."
3211 }, 3215 },
3212 { 3216 {
3213 "name": "breakpointResolved", 3217 "name": "breakpointResolved",
3214 "parameters": [ 3218 "parameters": [
3215 { "name": "breakpointId", "$ref": "BreakpointId", "descripti on": "Breakpoint unique identifier." }, 3219 { "name": "breakpointId", "$ref": "BreakpointId", "descripti on": "Breakpoint unique identifier." },
3216 { "name": "location", "$ref": "Location", "description": "Ac tual breakpoint location." } 3220 { "name": "location", "$ref": "Location", "description": "Ac tual breakpoint location." }
3217 ], 3221 ],
3218 "description": "Fired when breakpoint is resolved to an actual s cript and location." 3222 "description": "Fired when breakpoint is resolved to an actual s cript and location."
(...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after
3967 "parameters": [ 3971 "parameters": [
3968 { "name": "value", "type": "array", "items": { "type": "obje ct" } } 3972 { "name": "value", "type": "array", "items": { "type": "obje ct" } }
3969 ] 3973 ]
3970 }, 3974 },
3971 { 3975 {
3972 "name": "tracingComplete" 3976 "name": "tracingComplete"
3973 } 3977 }
3974 ] 3978 ]
3975 }] 3979 }]
3976 } 3980 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698