2011-02-03 Pavel Podivilov <podivilov@chromium.org>
authorpodivilov@chromium.org <podivilov@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 Feb 2011 05:08:03 +0000 (05:08 +0000)
committerpodivilov@chromium.org <podivilov@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 Feb 2011 05:08:03 +0000 (05:08 +0000)
        Reviewed by Pavel Feldman.

        Web Inspector: click on a breakpoint highlights wrong line in source frame.
        https://bugs.webkit.org/show_bug.cgi?id=53692

        * inspector/front-end/BreakpointsSidebarPane.js:
        (WebInspector.JavaScriptBreakpointsSidebarPane.prototype._setupBreakpointElement):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77598 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/inspector/front-end/BreakpointsSidebarPane.js

index 619ab4475ddd38290ccc320c53bec4f6ac9f31b7..339528ab71b819f49cbc68774446a73fc8ca615b 100644 (file)
@@ -1,3 +1,13 @@
+2011-02-03  Pavel Podivilov  <podivilov@chromium.org>
+
+        Reviewed by Pavel Feldman.
+
+        Web Inspector: click on a breakpoint highlights wrong line in source frame.
+        https://bugs.webkit.org/show_bug.cgi?id=53692
+
+        * inspector/front-end/BreakpointsSidebarPane.js:
+        (WebInspector.JavaScriptBreakpointsSidebarPane.prototype._setupBreakpointElement):
+
 2011-02-03  Anton Muhin  <antonm@chromium.org>
 
         Reviewed by Adam Barth.
index d8e53dd5aca44add33f6a17bd39f5dd855d999f8..0a47bf8a02d94914e37252aee6e9d5adff01af4f 100644 (file)
@@ -232,7 +232,7 @@ WebInspector.JavaScriptBreakpointsSidebarPane.prototype = {
         }
 
         element.addStyleClass("cursor-pointer");
-        var clickHandler = WebInspector.panels.scripts.showSourceLine.bind(WebInspector.panels.scripts, data.url, data.lineNumber + 1);
+        var clickHandler = WebInspector.panels.scripts.showSourceLine.bind(WebInspector.panels.scripts, data.url, lineNumber + 1);
         element.addEventListener("click", clickHandler, false);
     },