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

Side by Side Diff: Source/devtools/protocol.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 3299 matching lines...) Expand 10 before | Expand all | Expand 10 after
3310 { "name": "endColumn", "type": "integer", "description": "Le ngth of the last line of the script." }, 3310 { "name": "endColumn", "type": "integer", "description": "Le ngth of the last line of the script." },
3311 { "name": "isContentScript", "type": "boolean", "optional": true, "description": "Determines whether this script is a user extension script. " }, 3311 { "name": "isContentScript", "type": "boolean", "optional": true, "description": "Determines whether this script is a user extension script. " },
3312 { "name": "sourceMapURL", "type": "string", "optional": true , "description": "URL of source map associated with script (if any)." }, 3312 { "name": "sourceMapURL", "type": "string", "optional": true , "description": "URL of source map associated with script (if any)." },
3313 { "name": "hasSourceURL", "type": "boolean", "optional": tru e, "description": "True, if this script has sourceURL.", "hidden": true } 3313 { "name": "hasSourceURL", "type": "boolean", "optional": tru e, "description": "True, if this script has sourceURL.", "hidden": true }
3314 ], 3314 ],
3315 "description": "Fired when virtual machine parses script. This e vent is also fired for all known and uncollected scripts upon enabling debugger. " 3315 "description": "Fired when virtual machine parses script. This e vent is also fired for all known and uncollected scripts upon enabling debugger. "
3316 }, 3316 },
3317 { 3317 {
3318 "name": "scriptFailedToParse", 3318 "name": "scriptFailedToParse",
3319 "parameters": [ 3319 "parameters": [
3320 { "name": "url", "type": "string", "description": "URL of th e script that failed to parse." }, 3320 { "name": "scriptId", "$ref": "ScriptId", "description": "Id entifier of the script parsed." },
3321 { "name": "scriptSource", "type": "string", "description": " Source text of the script that failed to parse." }, 3321 { "name": "url", "type": "string", "description": "URL or na me of the script parsed (if any)." },
3322 { "name": "startLine", "type": "integer", "description": "Li ne offset of the script within the resource." }, 3322 { "name": "startLine", "type": "integer", "description": "Li ne offset of the script within the resource with given URL (for script tags)." } ,
3323 { "name": "errorLine", "type": "integer", "description": "Li ne with error." }, 3323 { "name": "startColumn", "type": "integer", "description": " Column offset of the script within the resource with given URL." },
3324 { "name": "errorMessage", "type": "string", "description": " Parse error message." } 3324 { "name": "endLine", "type": "integer", "description": "Last line of the script." },
3325 { "name": "endColumn", "type": "integer", "description": "Le ngth of the last line of the script." },
3326 { "name": "isContentScript", "type": "boolean", "optional": true, "description": "Determines whether this script is a user extension script. " },
3327 { "name": "sourceMapURL", "type": "string", "optional": true , "description": "URL of source map associated with script (if any)." },
3328 { "name": "hasSourceURL", "type": "boolean", "optional": tru e, "description": "True, if this script has sourceURL.", "hidden": true }
3325 ], 3329 ],
3326 "description": "Fired when virtual machine fails to parse the sc ript." 3330 "description": "Fired when virtual machine fails to parse the sc ript."
3327 }, 3331 },
3328 { 3332 {
3329 "name": "breakpointResolved", 3333 "name": "breakpointResolved",
3330 "parameters": [ 3334 "parameters": [
3331 { "name": "breakpointId", "$ref": "BreakpointId", "descripti on": "Breakpoint unique identifier." }, 3335 { "name": "breakpointId", "$ref": "BreakpointId", "descripti on": "Breakpoint unique identifier." },
3332 { "name": "location", "$ref": "Location", "description": "Ac tual breakpoint location." } 3336 { "name": "location", "$ref": "Location", "description": "Ac tual breakpoint location." }
3333 ], 3337 ],
3334 "description": "Fired when breakpoint is resolved to an actual s cript and location." 3338 "description": "Fired when breakpoint is resolved to an actual s cript and location."
(...skipping 903 matching lines...) Expand 10 before | Expand all | Expand 10 after
4238 { 4242 {
4239 "name": "dataAvailable", 4243 "name": "dataAvailable",
4240 "parameters": [ 4244 "parameters": [
4241 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." } 4245 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." }
4242 ], 4246 ],
4243 "handlers": ["browser", "frontend"] 4247 "handlers": ["browser", "frontend"]
4244 } 4248 }
4245 ] 4249 ]
4246 }] 4250 }]
4247 } 4251 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698