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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: Source/devtools/protocol.json
diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json
index 007cd08207193bbb9ff0f481fdc647f1380d5629..8eabc56f810816f69687ce5b0192e9f2c2983903 100644
--- a/Source/devtools/protocol.json
+++ b/Source/devtools/protocol.json
@@ -3218,11 +3218,15 @@
{
"name": "scriptFailedToParse",
"parameters": [
+ { "name": "scriptId", "$ref": "ScriptId", "description": "Identifier of the script parsed." },
vsevik 2014/06/27 12:35:14 ditto
{ "name": "url", "type": "string", "description": "URL of the script that failed to parse." },
- { "name": "scriptSource", "type": "string", "description": "Source text of the script that failed to parse." },
{ "name": "startLine", "type": "integer", "description": "Line offset of the script within the resource." },
- { "name": "errorLine", "type": "integer", "description": "Line with error." },
- { "name": "errorMessage", "type": "string", "description": "Parse error message." }
+ { "name": "startColumn", "type": "integer", "description": "Column offset of the script within the resource with given URL." },
+ { "name": "endLine", "type": "integer", "description": "Last line of the script." },
+ { "name": "endColumn", "type": "integer", "description": "Length of the last line of the script." },
+ { "name": "isContentScript", "type": "boolean", "optional": true, "description": "Determines whether this script is a user extension script." },
+ { "name": "sourceMapURL", "type": "string", "optional": true, "description": "URL of source map associated with script (if any)." },
+ { "name": "hasSourceURL", "type": "boolean", "optional": true, "description": "True, if this script has sourceURL.", "hidden": true }
],
"description": "Fired when virtual machine fails to parse the script."
},
« 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