Index: Source/devtools/front_end/ConsoleView.js |
diff --git a/Source/devtools/front_end/ConsoleView.js b/Source/devtools/front_end/ConsoleView.js |
index b28bd31b91d83b8f7ef2525921fc2841947cc92d..9178a201ab42385d65c68253305d3d59049715fb 100644 |
--- a/Source/devtools/front_end/ConsoleView.js |
+++ b/Source/devtools/front_end/ConsoleView.js |
@@ -619,8 +619,7 @@ WebInspector.ConsoleView.prototype = { |
var lineNumber; |
var columnNumber; |
var script = WebInspector.debuggerModel.scriptForId(response.location.scriptId); |
- console.assert(script); |
- if (script.sourceURL) { |
+ if (script && script.sourceURL) { |
url = script.sourceURL; |
lineNumber = response.location.lineNumber + 1; |
columnNumber = response.location.columnNumber + 1; |