[SCM] WebKit Debian packaging branch, webkit-1.2, updated. upstream/1.1.90-6072-g9a69373
eric at webkit.org
eric at webkit.org
Wed Apr 7 23:22:51 UTC 2010
The following commit has been merged in the webkit-1.2 branch:
commit 0d7d571c8f1a06aab0577857e00f023599bfa78e
Author: eric at webkit.org <eric at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Wed Nov 4 22:21:53 2009 +0000
2009-11-04 Patrick Mueller <Patrick_Mueller at us.ibm.com>
Reviewed by Timothy Hatcher.
Web Inspector: Leftover Breakpoints in the Sidebar Pane
https://bugs.webkit.org/show_bug.cgi?id=30659
No new tests.
* inspector/front-end/ScriptsPanel.js:
(WebInspector.ScriptsPanel.prototype.addScript):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50529 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index c1e0717..acfa37b 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,15 @@
+2009-11-04 Patrick Mueller <Patrick_Mueller at us.ibm.com>
+
+ Reviewed by Timothy Hatcher.
+
+ Web Inspector: Leftover Breakpoints in the Sidebar Pane
+ https://bugs.webkit.org/show_bug.cgi?id=30659
+
+ No new tests.
+
+ * inspector/front-end/ScriptsPanel.js:
+ (WebInspector.ScriptsPanel.prototype.addScript):
+
2009-11-04 Jocelyn Turcotte <jocelyn.turcotte at nokia.com>
Reviewed by Timothy Hatcher.
diff --git a/WebCore/inspector/front-end/ScriptsPanel.js b/WebCore/inspector/front-end/ScriptsPanel.js
index 3c59f45..9cbb2f0 100644
--- a/WebCore/inspector/front-end/ScriptsPanel.js
+++ b/WebCore/inspector/front-end/ScriptsPanel.js
@@ -281,8 +281,13 @@ WebInspector.ScriptsPanel.prototype = {
var breakpointsLength = breakpoints.length;
for (var i = 0; i < breakpointsLength; ++i) {
var breakpoint = breakpoints[i];
+
if (startingLine <= breakpoint.line) {
+ // remove and add the breakpoint, to clean up things like the sidebar
+ this.removeBreakpoint(breakpoint);
breakpoint.sourceID = sourceID;
+ this.addBreakpoint(breakpoint);
+
if (breakpoint.enabled)
InspectorController.addBreakpoint(breakpoint.sourceID, breakpoint.line, breakpoint.condition);
}
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list