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

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, 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 3200 matching lines...) Expand 10 before | Expand all | Expand 10 after
3211 { "name": "endColumn", "type": "integer", "description": "Le ngth of the last line of the script." }, 3211 { "name": "endColumn", "type": "integer", "description": "Le ngth of the last line of the script." },
3212 { "name": "isContentScript", "type": "boolean", "optional": true, "description": "Determines whether this script is a user extension script. " }, 3212 { "name": "isContentScript", "type": "boolean", "optional": true, "description": "Determines whether this script is a user extension script. " },
3213 { "name": "sourceMapURL", "type": "string", "optional": true , "description": "URL of source map associated with script (if any)." }, 3213 { "name": "sourceMapURL", "type": "string", "optional": true , "description": "URL of source map associated with script (if any)." },
3214 { "name": "hasSourceURL", "type": "boolean", "optional": tru e, "description": "True, if this script has sourceURL.", "hidden": true } 3214 { "name": "hasSourceURL", "type": "boolean", "optional": tru e, "description": "True, if this script has sourceURL.", "hidden": true }
3215 ], 3215 ],
3216 "description": "Fired when virtual machine parses script. This e vent is also fired for all known and uncollected scripts upon enabling debugger. " 3216 "description": "Fired when virtual machine parses script. This e vent is also fired for all known and uncollected scripts upon enabling debugger. "
3217 }, 3217 },
3218 { 3218 {
3219 "name": "scriptFailedToParse", 3219 "name": "scriptFailedToParse",
3220 "parameters": [ 3220 "parameters": [
3221 { "name": "scriptId", "$ref": "ScriptId", "description": "Id entifier of the script parsed." },
vsevik 2014/06/27 12:35:14 ditto
3221 { "name": "url", "type": "string", "description": "URL of th e script that failed to parse." }, 3222 { "name": "url", "type": "string", "description": "URL of th e script that failed to parse." },
3222 { "name": "scriptSource", "type": "string", "description": " Source text of the script that failed to parse." },
3223 { "name": "startLine", "type": "integer", "description": "Li ne offset of the script within the resource." }, 3223 { "name": "startLine", "type": "integer", "description": "Li ne offset of the script within the resource." },
3224 { "name": "errorLine", "type": "integer", "description": "Li ne with error." }, 3224 { "name": "startColumn", "type": "integer", "description": " Column offset of the script within the resource with given URL." },
3225 { "name": "errorMessage", "type": "string", "description": " Parse error message." } 3225 { "name": "endLine", "type": "integer", "description": "Last line of the script." },
3226 { "name": "endColumn", "type": "integer", "description": "Le ngth of the last line of the script." },
3227 { "name": "isContentScript", "type": "boolean", "optional": true, "description": "Determines whether this script is a user extension script. " },
3228 { "name": "sourceMapURL", "type": "string", "optional": true , "description": "URL of source map associated with script (if any)." },
3229 { "name": "hasSourceURL", "type": "boolean", "optional": tru e, "description": "True, if this script has sourceURL.", "hidden": true }
3226 ], 3230 ],
3227 "description": "Fired when virtual machine fails to parse the sc ript." 3231 "description": "Fired when virtual machine fails to parse the sc ript."
3228 }, 3232 },
3229 { 3233 {
3230 "name": "breakpointResolved", 3234 "name": "breakpointResolved",
3231 "parameters": [ 3235 "parameters": [
3232 { "name": "breakpointId", "$ref": "BreakpointId", "descripti on": "Breakpoint unique identifier." }, 3236 { "name": "breakpointId", "$ref": "BreakpointId", "descripti on": "Breakpoint unique identifier." },
3233 { "name": "location", "$ref": "Location", "description": "Ac tual breakpoint location." } 3237 { "name": "location", "$ref": "Location", "description": "Ac tual breakpoint location." }
3234 ], 3238 ],
3235 "description": "Fired when breakpoint is resolved to an actual s cript and location." 3239 "description": "Fired when breakpoint is resolved to an actual s cript and location."
(...skipping 875 matching lines...) Expand 10 before | Expand all | Expand 10 after
4111 { 4115 {
4112 "name": "dataAvailable", 4116 "name": "dataAvailable",
4113 "parameters": [ 4117 "parameters": [
4114 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." } 4118 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." }
4115 ], 4119 ],
4116 "handlers": ["browser", "frontend"] 4120 "handlers": ["browser", "frontend"]
4117 } 4121 }
4118 ] 4122 ]
4119 }] 4123 }]
4120 } 4124 }
OLDNEW
« Source/devtools/Inspector-1.1.json ('K') | « Source/devtools/front_end/sdk/DebuggerModel.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698