Title: [206464] trunk/Source/WebInspectorUI
- Revision
- 206464
- Author
- mattba...@apple.com
- Date
- 2016-09-27 14:05:50 -0700 (Tue, 27 Sep 2016)
Log Message
Web Inspector: Refreshing while in Timelines-tab causes negative timestamps in Network-tab
https://bugs.webkit.org/show_bug.cgi?id=160051
<rdar://problem/27480122>
Reviewed by Brian Burg.
* UserInterface/Views/NetworkGridContentView.js:
(WebInspector.NetworkGridContentView.prototype.get startTime):
(WebInspector.NetworkGridContentView.prototype.get zeroTime):
Use the cached start time for graph data source properties instead of
relying on the ruler, which requires a layout in order to be updated
for the first time.
Modified Paths
Diff
Modified: trunk/Source/WebInspectorUI/ChangeLog (206463 => 206464)
--- trunk/Source/WebInspectorUI/ChangeLog 2016-09-27 21:04:15 UTC (rev 206463)
+++ trunk/Source/WebInspectorUI/ChangeLog 2016-09-27 21:05:50 UTC (rev 206464)
@@ -1,5 +1,20 @@
2016-09-27 Matt Baker <mattba...@apple.com>
+ Web Inspector: Refreshing while in Timelines-tab causes negative timestamps in Network-tab
+ https://bugs.webkit.org/show_bug.cgi?id=160051
+ <rdar://problem/27480122>
+
+ Reviewed by Brian Burg.
+
+ * UserInterface/Views/NetworkGridContentView.js:
+ (WebInspector.NetworkGridContentView.prototype.get startTime):
+ (WebInspector.NetworkGridContentView.prototype.get zeroTime):
+ Use the cached start time for graph data source properties instead of
+ relying on the ruler, which requires a layout in order to be updated
+ for the first time.
+
+2016-09-27 Matt Baker <mattba...@apple.com>
+
Web Inspector: Unfocusing / Focusing inspector window should not change ContentView
https://bugs.webkit.org/show_bug.cgi?id=162572
<rdar://problem/28479562>
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/NetworkGridContentView.js (206463 => 206464)
--- trunk/Source/WebInspectorUI/UserInterface/Views/NetworkGridContentView.js 2016-09-27 21:04:15 UTC (rev 206463)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/NetworkGridContentView.js 2016-09-27 21:05:50 UTC (rev 206464)
@@ -115,10 +115,10 @@
// Public
get secondsPerPixel() { return this._timelineRuler.secondsPerPixel; }
- get startTime() { return this._timelineRuler.startTime; }
+ get startTime() { return this._startTime || 0; }
get currentTime() { return this.endTime || this.startTime; }
get endTime() { return this._timelineRuler.endTime; }
- get zeroTime() { return this._timelineRuler.startTime; }
+ get zeroTime() { return this.startTime; }
get selectionPathComponents()
{
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes