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

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, 5 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 3184 matching lines...) Expand 10 before | Expand all | Expand 10 after
3195 { "name": "endColumn", "type": "integer", "description": "Le ngth of the last line of the script." }, 3195 { "name": "endColumn", "type": "integer", "description": "Le ngth of the last line of the script." },
3196 { "name": "isContentScript", "type": "boolean", "optional": true, "description": "Determines whether this script is a user extension script. " }, 3196 { "name": "isContentScript", "type": "boolean", "optional": true, "description": "Determines whether this script is a user extension script. " },
3197 { "name": "sourceMapURL", "type": "string", "optional": true , "description": "URL of source map associated with script (if any)." }, 3197 { "name": "sourceMapURL", "type": "string", "optional": true , "description": "URL of source map associated with script (if any)." },
3198 { "name": "hasSourceURL", "type": "boolean", "optional": tru e, "description": "True, if this script has sourceURL.", "hidden": true } 3198 { "name": "hasSourceURL", "type": "boolean", "optional": tru e, "description": "True, if this script has sourceURL.", "hidden": true }
3199 ], 3199 ],
3200 "description": "Fired when virtual machine parses script. This e vent is also fired for all known and uncollected scripts upon enabling debugger. " 3200 "description": "Fired when virtual machine parses script. This e vent is also fired for all known and uncollected scripts upon enabling debugger. "
3201 }, 3201 },
3202 { 3202 {
3203 "name": "scriptFailedToParse", 3203 "name": "scriptFailedToParse",
3204 "parameters": [ 3204 "parameters": [
3205 { "name": "url", "type": "string", "description": "URL of th e script that failed to parse." }, 3205 { "name": "scriptId", "$ref": "ScriptId", "description": "Id entifier of the script parsed." },
aandrey 2014/07/07 19:44:32 - do we want backward compatibility? (I think it's
3206 { "name": "scriptSource", "type": "string", "description": " Source text of the script that failed to parse." }, 3206 { "name": "url", "type": "string", "description": "URL or na me of the script parsed (if any)." },
3207 { "name": "startLine", "type": "integer", "description": "Li ne offset of the script within the resource." }, 3207 { "name": "startLine", "type": "integer", "description": "Li ne offset of the script within the resource with given URL (for script tags)." } ,
3208 { "name": "errorLine", "type": "integer", "description": "Li ne with error." }, 3208 { "name": "startColumn", "type": "integer", "description": " Column offset of the script within the resource with given URL." },
3209 { "name": "errorMessage", "type": "string", "description": " Parse error message." } 3209 { "name": "endLine", "type": "integer", "description": "Last line of the script." },
3210 { "name": "endColumn", "type": "integer", "description": "Le ngth of the last line of the script." },
3211 { "name": "isContentScript", "type": "boolean", "optional": true, "description": "Determines whether this script is a user extension script. " },
3212 { "name": "sourceMapURL", "type": "string", "optional": true , "description": "URL of source map associated with script (if any)." },
3213 { "name": "hasSourceURL", "type": "boolean", "optional": tru e, "description": "True, if this script has sourceURL.", "hidden": true }
3210 ], 3214 ],
3211 "description": "Fired when virtual machine fails to parse the sc ript." 3215 "description": "Fired when virtual machine fails to parse the sc ript."
3212 }, 3216 },
3213 { 3217 {
3214 "name": "breakpointResolved", 3218 "name": "breakpointResolved",
3215 "parameters": [ 3219 "parameters": [
3216 { "name": "breakpointId", "$ref": "BreakpointId", "descripti on": "Breakpoint unique identifier." }, 3220 { "name": "breakpointId", "$ref": "BreakpointId", "descripti on": "Breakpoint unique identifier." },
3217 { "name": "location", "$ref": "Location", "description": "Ac tual breakpoint location." } 3221 { "name": "location", "$ref": "Location", "description": "Ac tual breakpoint location." }
3218 ], 3222 ],
3219 "description": "Fired when breakpoint is resolved to an actual s cript and location." 3223 "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
3968 "parameters": [ 3972 "parameters": [
3969 { "name": "value", "type": "array", "items": { "type": "obje ct" } } 3973 { "name": "value", "type": "array", "items": { "type": "obje ct" } }
3970 ] 3974 ]
3971 }, 3975 },
3972 { 3976 {
3973 "name": "tracingComplete" 3977 "name": "tracingComplete"
3974 } 3978 }
3975 ] 3979 ]
3976 }] 3980 }]
3977 } 3981 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698