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

Unified Diff: Source/devtools/front_end/sdk/DebuggerModel.js

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/front_end/sdk/DebuggerModel.js
diff --git a/Source/devtools/front_end/sdk/DebuggerModel.js b/Source/devtools/front_end/sdk/DebuggerModel.js
index f64fb60f2a2f67887ff655823372f093ac4ee751..d08c516561ad0e99222875d68c9d1c6073381763 100644
--- a/Source/devtools/front_end/sdk/DebuggerModel.js
+++ b/Source/devtools/front_end/sdk/DebuggerModel.js
@@ -771,14 +771,19 @@ WebInspector.DebuggerDispatcher.prototype = {
},
/**
+ * @param {!DebuggerAgent.ScriptId} scriptId
* @param {string} sourceURL
- * @param {string} source
- * @param {number} startingLine
- * @param {number} errorLine
- * @param {string} errorMessage
+ * @param {number} startLine
+ * @param {number} startColumn
+ * @param {number} endLine
+ * @param {number} endColumn
+ * @param {boolean=} isContentScript
+ * @param {string=} sourceMapURL
+ * @param {boolean=} hasSourceURL
*/
- scriptFailedToParse: function(sourceURL, source, startingLine, errorLine, errorMessage)
+ scriptFailedToParse: function(scriptId, sourceURL, startLine, startColumn, endLine, endColumn, isContentScript, sourceMapURL, hasSourceURL)
{
+ this._debuggerModel._parsedScriptSource(scriptId, sourceURL, startLine, startColumn, endLine, endColumn, !!isContentScript, sourceMapURL, hasSourceURL);
},
/**

Powered by Google App Engine
This is Rietveld 408576698