Title: [103712] trunk/Source/WebCore
Revision
103712
Author
[email protected]
Date
2011-12-27 09:46:48 -0800 (Tue, 27 Dec 2011)

Log Message

Web Inspector: exception when scrolling in _javascript_Outline dialog with empty query
https://bugs.webkit.org/show_bug.cgi?id=75255

Reviewed by Pavel Feldman.

* inspector/front-end/_javascript_OutlineDialog.js:
(WebInspector._javascript_OutlineDialog.prototype._onScroll):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (103711 => 103712)


--- trunk/Source/WebCore/ChangeLog	2011-12-27 16:26:32 UTC (rev 103711)
+++ trunk/Source/WebCore/ChangeLog	2011-12-27 17:46:48 UTC (rev 103712)
@@ -1,3 +1,13 @@
+2011-12-27  Alexander Pavlov  <[email protected]>
+
+        Web Inspector: exception when scrolling in _javascript_Outline dialog with empty query
+        https://bugs.webkit.org/show_bug.cgi?id=75255
+
+        Reviewed by Pavel Feldman.
+
+        * inspector/front-end/_javascript_OutlineDialog.js:
+        (WebInspector._javascript_OutlineDialog.prototype._onScroll):
+
 2011-12-27  Pavel Feldman  <[email protected]>
 
         Web Inspector: add more annotations on SDK classes.

Modified: trunk/Source/WebCore/inspector/front-end/_javascript_OutlineDialog.js (103711 => 103712)


--- trunk/Source/WebCore/inspector/front-end/_javascript_OutlineDialog.js	2011-12-27 16:26:32 UTC (rev 103711)
+++ trunk/Source/WebCore/inspector/front-end/_javascript_OutlineDialog.js	2011-12-27 17:46:48 UTC (rev 103712)
@@ -434,7 +434,10 @@
 
     _onScroll: function()
     {
-        this._highlighter.highlightViewportItems(this._query);
+        if (this._query)
+            this._highlighter.highlightViewportItems(this._query);
+        else
+            this._highlighter.clearHighlight();
     },
 
     _highlightFunctionLine: function()
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to