Title: [146047] trunk/Source/WebCore
- Revision
- 146047
- Author
- yu...@chromium.org
- Date
- 2013-03-18 02:32:08 -0700 (Mon, 18 Mar 2013)
Log Message
Web Inspector: Exception in timeline DOMCounters
https://bugs.webkit.org/show_bug.cgi?id=112427
Reviewed by Pavel Feldman.
Do not update marker on DOM counters graph if the graphs haven't been
drawn yet.
* inspector/front-end/MemoryStatistics.js:
(WebInspector.MemoryStatistics.prototype._refreshCurrentValues):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (146046 => 146047)
--- trunk/Source/WebCore/ChangeLog 2013-03-18 09:28:08 UTC (rev 146046)
+++ trunk/Source/WebCore/ChangeLog 2013-03-18 09:32:08 UTC (rev 146047)
@@ -1,3 +1,16 @@
+2013-03-18 Yury Semikhatsky <yu...@chromium.org>
+
+ Web Inspector: Exception in timeline DOMCounters
+ https://bugs.webkit.org/show_bug.cgi?id=112427
+
+ Reviewed by Pavel Feldman.
+
+ Do not update marker on DOM counters graph if the graphs haven't been
+ drawn yet.
+
+ * inspector/front-end/MemoryStatistics.js:
+ (WebInspector.MemoryStatistics.prototype._refreshCurrentValues):
+
2013-03-18 Li Yin <li....@intel.com>
Mediastream.ended should return true when all tracks were removed.
Modified: trunk/Source/WebCore/inspector/front-end/MemoryStatistics.js (146046 => 146047)
--- trunk/Source/WebCore/inspector/front-end/MemoryStatistics.js 2013-03-18 09:28:08 UTC (rev 146046)
+++ trunk/Source/WebCore/inspector/front-end/MemoryStatistics.js 2013-03-18 09:32:08 UTC (rev 146047)
@@ -339,6 +339,8 @@
return;
if (this._markerXPosition === undefined)
return;
+ if (this._maximumIndex === -1)
+ return;
var i = this._recordIndexAt(this._markerXPosition);
this._updateCurrentValue(this._counters[i]);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes