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

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, 6 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 bc8ea5fe205360f00851707561a3281c3672aae3..9060e975ceafa40b49e451996f6b0456015ca377 100644
--- a/Source/devtools/protocol.json
+++ b/Source/devtools/protocol.json
@@ -3310,22 +3310,12 @@
{ "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 }
+ { "name": "hasSourceURL", "type": "boolean", "optional": true, "description": "True, if this script has sourceURL.", "hidden": true },
+ { "name": "hasSyntaxError", "type": "boolean", "description": "True, if this script has syntax error.", "hidden": true }
],
"description": "Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger."
},
{
- "name": "scriptFailedToParse",
- "parameters": [
- { "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." }
aandrey 2014/07/02 17:01:02 why do we remove this? don't we need errorLine & e
- ],
- "description": "Fired when virtual machine fails to parse the script."
- },
- {
"name": "breakpointResolved",
"parameters": [
{ "name": "breakpointId", "$ref": "BreakpointId", "description": "Breakpoint unique identifier." },

Powered by Google App Engine
This is Rietveld 408576698