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

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 3292 matching lines...) Expand 10 before | Expand all | Expand 10 after
3303 "name": "scriptParsed", 3303 "name": "scriptParsed",
3304 "parameters": [ 3304 "parameters": [
3305 { "name": "scriptId", "$ref": "ScriptId", "description": "Id entifier of the script parsed." }, 3305 { "name": "scriptId", "$ref": "ScriptId", "description": "Id entifier of the script parsed." },
3306 { "name": "url", "type": "string", "description": "URL or na me of the script parsed (if any)." }, 3306 { "name": "url", "type": "string", "description": "URL or na me of the script parsed (if any)." },
3307 { "name": "startLine", "type": "integer", "description": "Li ne offset of the script within the resource with given URL (for script tags)." } , 3307 { "name": "startLine", "type": "integer", "description": "Li ne offset of the script within the resource with given URL (for script tags)." } ,
3308 { "name": "startColumn", "type": "integer", "description": " Column offset of the script within the resource with given URL." }, 3308 { "name": "startColumn", "type": "integer", "description": " Column offset of the script within the resource with given URL." },
3309 { "name": "endLine", "type": "integer", "description": "Last line of the script." }, 3309 { "name": "endLine", "type": "integer", "description": "Last line of the script." },
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 { "name": "hasSyntaxError", "type": "boolean", "description" : "True, if this script has syntax error.", "hidden": true }
3314 ], 3315 ],
3315 "description": "Fired when virtual machine parses script. This e vent is also fired for all known and uncollected scripts upon enabling debugger. " 3316 "description": "Fired when virtual machine parses script. This e vent is also fired for all known and uncollected scripts upon enabling debugger. "
3316 }, 3317 },
3317 { 3318 {
3318 "name": "scriptFailedToParse",
3319 "parameters": [
3320 { "name": "url", "type": "string", "description": "URL of th e script that failed to parse." },
3321 { "name": "scriptSource", "type": "string", "description": " Source text of the script that failed to parse." },
3322 { "name": "startLine", "type": "integer", "description": "Li ne offset of the script within the resource." },
3323 { "name": "errorLine", "type": "integer", "description": "Li ne with error." },
3324 { "name": "errorMessage", "type": "string", "description": " Parse error message." }
aandrey 2014/07/02 17:01:02 why do we remove this? don't we need errorLine & e
3325 ],
3326 "description": "Fired when virtual machine fails to parse the sc ript."
3327 },
3328 {
3329 "name": "breakpointResolved", 3319 "name": "breakpointResolved",
3330 "parameters": [ 3320 "parameters": [
3331 { "name": "breakpointId", "$ref": "BreakpointId", "descripti on": "Breakpoint unique identifier." }, 3321 { "name": "breakpointId", "$ref": "BreakpointId", "descripti on": "Breakpoint unique identifier." },
3332 { "name": "location", "$ref": "Location", "description": "Ac tual breakpoint location." } 3322 { "name": "location", "$ref": "Location", "description": "Ac tual breakpoint location." }
3333 ], 3323 ],
3334 "description": "Fired when breakpoint is resolved to an actual s cript and location." 3324 "description": "Fired when breakpoint is resolved to an actual s cript and location."
3335 }, 3325 },
3336 { 3326 {
3337 "name": "paused", 3327 "name": "paused",
3338 "parameters": [ 3328 "parameters": [
(...skipping 899 matching lines...) Expand 10 before | Expand all | Expand 10 after
4238 { 4228 {
4239 "name": "dataAvailable", 4229 "name": "dataAvailable",
4240 "parameters": [ 4230 "parameters": [
4241 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." } 4231 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." }
4242 ], 4232 ],
4243 "handlers": ["browser", "frontend"] 4233 "handlers": ["browser", "frontend"]
4244 } 4234 }
4245 ] 4235 ]
4246 }] 4236 }]
4247 } 4237 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698