Index: Source/WebCore/inspector/front-end/ScriptsPanel.js |
=================================================================== |
--- Source/WebCore/inspector/front-end/ScriptsPanel.js (revision 98227) |
+++ Source/WebCore/inspector/front-end/ScriptsPanel.js (working copy) |
@@ -643,7 +643,7 @@ |
_showSourceLine: function(uiSourceCode, lineNumber) |
{ |
var sourceFrame = this._showSourceFrameAndAddToHistory(uiSourceCode); |
- if (lineNumber) |
+ if (typeof lineNumber === "number") |
sourceFrame.highlightLine(lineNumber); |
}, |