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

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
« no previous file with comments | « Source/devtools/front_end/sdk/NetworkUISourceCodeProvider.js ('k') | no next file » | 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": "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 3311 matching lines...) Expand 10 before | Expand all | Expand 10 after
3322 { "name": "endColumn", "type": "integer", "description": "Le ngth of the last line of the script." }, 3322 { "name": "endColumn", "type": "integer", "description": "Le ngth of the last line of the script." },
3323 { "name": "isContentScript", "type": "boolean", "optional": true, "description": "Determines whether this script is a user extension script. " }, 3323 { "name": "isContentScript", "type": "boolean", "optional": true, "description": "Determines whether this script is a user extension script. " },
3324 { "name": "sourceMapURL", "type": "string", "optional": true , "description": "URL of source map associated with script (if any)." }, 3324 { "name": "sourceMapURL", "type": "string", "optional": true , "description": "URL of source map associated with script (if any)." },
3325 { "name": "hasSourceURL", "type": "boolean", "optional": tru e, "description": "True, if this script has sourceURL.", "hidden": true } 3325 { "name": "hasSourceURL", "type": "boolean", "optional": tru e, "description": "True, if this script has sourceURL.", "hidden": true }
3326 ], 3326 ],
3327 "description": "Fired when virtual machine parses script. This e vent is also fired for all known and uncollected scripts upon enabling debugger. " 3327 "description": "Fired when virtual machine parses script. This e vent is also fired for all known and uncollected scripts upon enabling debugger. "
3328 }, 3328 },
3329 { 3329 {
3330 "name": "scriptFailedToParse", 3330 "name": "scriptFailedToParse",
3331 "parameters": [ 3331 "parameters": [
3332 { "name": "url", "type": "string", "description": "URL of th e script that failed to parse." }, 3332 { "name": "scriptId", "$ref": "ScriptId", "description": "Id entifier of the script parsed." },
3333 { "name": "scriptSource", "type": "string", "description": " Source text of the script that failed to parse." }, 3333 { "name": "url", "type": "string", "description": "URL or na me of the script parsed (if any)." },
3334 { "name": "startLine", "type": "integer", "description": "Li ne offset of the script within the resource." }, 3334 { "name": "startLine", "type": "integer", "description": "Li ne offset of the script within the resource with given URL (for script tags)." } ,
3335 { "name": "errorLine", "type": "integer", "description": "Li ne with error." }, 3335 { "name": "startColumn", "type": "integer", "description": " Column offset of the script within the resource with given URL." },
3336 { "name": "errorMessage", "type": "string", "description": " Parse error message." } 3336 { "name": "endLine", "type": "integer", "description": "Last line of the script." },
3337 { "name": "endColumn", "type": "integer", "description": "Le ngth of the last line of the script." },
3338 { "name": "isContentScript", "type": "boolean", "optional": true, "description": "Determines whether this script is a user extension script. " },
3339 { "name": "sourceMapURL", "type": "string", "optional": true , "description": "URL of source map associated with script (if any)." },
3340 { "name": "hasSourceURL", "type": "boolean", "optional": tru e, "description": "True, if this script has sourceURL.", "hidden": true }
3337 ], 3341 ],
3338 "description": "Fired when virtual machine fails to parse the sc ript." 3342 "description": "Fired when virtual machine fails to parse the sc ript."
3339 }, 3343 },
3340 { 3344 {
3341 "name": "breakpointResolved", 3345 "name": "breakpointResolved",
3342 "parameters": [ 3346 "parameters": [
3343 { "name": "breakpointId", "$ref": "BreakpointId", "descripti on": "Breakpoint unique identifier." }, 3347 { "name": "breakpointId", "$ref": "BreakpointId", "descripti on": "Breakpoint unique identifier." },
3344 { "name": "location", "$ref": "Location", "description": "Ac tual breakpoint location." } 3348 { "name": "location", "$ref": "Location", "description": "Ac tual breakpoint location." }
3345 ], 3349 ],
3346 "description": "Fired when breakpoint is resolved to an actual s cript and location." 3350 "description": "Fired when breakpoint is resolved to an actual s cript and location."
(...skipping 904 matching lines...) Expand 10 before | Expand all | Expand 10 after
4251 { 4255 {
4252 "name": "dataAvailable", 4256 "name": "dataAvailable",
4253 "parameters": [ 4257 "parameters": [
4254 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." } 4258 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." }
4255 ], 4259 ],
4256 "handlers": ["browser", "frontend"] 4260 "handlers": ["browser", "frontend"]
4257 } 4261 }
4258 ] 4262 ]
4259 }] 4263 }]
4260 } 4264 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/sdk/NetworkUISourceCodeProvider.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698