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

Side by Side Diff: Source/devtools/protocol.json

Issue 566883002: [DevTools] Report correct syntax error location for evaluated in console script (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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 3109 matching lines...) Expand 10 before | Expand all | Expand 10 after
3120 ], 3120 ],
3121 "description": "Scope description." 3121 "description": "Scope description."
3122 }, 3122 },
3123 { 3123 {
3124 "id": "ExceptionDetails", 3124 "id": "ExceptionDetails",
3125 "type": "object", 3125 "type": "object",
3126 "description": "Detailed information on exception (or error) tha t was thrown during script compilation or execution.", 3126 "description": "Detailed information on exception (or error) tha t was thrown during script compilation or execution.",
3127 "properties": [ 3127 "properties": [
3128 { "name": "text", "type": "string", "description": "Exceptio n text." }, 3128 { "name": "text", "type": "string", "description": "Exceptio n text." },
3129 { "name": "url", "type": "string", "optional": true, "descri ption": "URL of the message origin." }, 3129 { "name": "url", "type": "string", "optional": true, "descri ption": "URL of the message origin." },
3130 { "name": "scriptId", "type": "string", "optional": true, "d escription": "Script ID of the message origin." },
3130 { "name": "line", "type": "integer", "optional": true, "desc ription": "Line number in the resource that generated this message." }, 3131 { "name": "line", "type": "integer", "optional": true, "desc ription": "Line number in the resource that generated this message." },
3131 { "name": "column", "type": "integer", "optional": true, "de scription": "Column number in the resource that generated this message." }, 3132 { "name": "column", "type": "integer", "optional": true, "de scription": "Column number in the resource that generated this message." },
3132 { "name": "stackTrace", "$ref": "Console.StackTrace", "optio nal": true, "description": "JavaScript stack trace for assertions and error mess ages." } 3133 { "name": "stackTrace", "$ref": "Console.StackTrace", "optio nal": true, "description": "JavaScript stack trace for assertions and error mess ages." }
3133 ] 3134 ]
3134 }, 3135 },
3135 { 3136 {
3136 "id": "SetScriptSourceError", 3137 "id": "SetScriptSourceError",
3137 "type": "object", 3138 "type": "object",
3138 "properties": [ 3139 "properties": [
3139 { "name": "compileError", "optional": true, "type": "object" , "properties": 3140 { "name": "compileError", "optional": true, "type": "object" , "properties":
(...skipping 1280 matching lines...) Expand 10 before | Expand all | Expand 10 after
4420 { 4421 {
4421 "name": "dataAvailable", 4422 "name": "dataAvailable",
4422 "parameters": [ 4423 "parameters": [
4423 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." } 4424 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." }
4424 ], 4425 ],
4425 "handlers": ["browser", "frontend"] 4426 "handlers": ["browser", "frontend"]
4426 } 4427 }
4427 ] 4428 ]
4428 }] 4429 }]
4429 } 4430 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698