Changeset 94957 in webkit
- Timestamp:
- Sep 12, 2011 8:22:32 AM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r94953 r94957 1 2011-09-12 Pavel Feldman <pfeldman@google.com> 2 3 Web Inspector: event dividers do not update timeline boundaries. 4 https://bugs.webkit.org/show_bug.cgi?id=67932 5 6 * inspector/front-end/NetworkPanel.js: 7 (WebInspector.NetworkLogView.prototype._onLoadEventFired): 8 (WebInspector.NetworkLogView.prototype._domContentLoadedEventFired): 9 (WebInspector.NetworkLogView.prototype.refresh): 10 (WebInspector.NetworkTimeCalculator.prototype.updateBoundariesForEventTime): 11 1 12 2011-09-12 Kentaro Hara <haraken@google.com> 2 13 -
trunk/Source/WebCore/inspector/front-end/NetworkPanel.js
r94754 r94957 628 628 { 629 629 this._mainResourceLoadTime = event.data || -1; 630 // Update the dividers to draw the new line631 this._ updateDividersIfNeeded(true);630 // Schedule refresh to update boundaries and draw the new line. 631 this._scheduleRefresh(true); 632 632 }, 633 633 … … 635 635 { 636 636 this._mainResourceDOMContentTime = event.data || -1; 637 this._updateDividersIfNeeded(true); 637 // Schedule refresh to update boundaries and draw the new line. 638 this._scheduleRefresh(true); 638 639 }, 639 640 … … 662 663 var staleItemsLength = this._staleResources.length; 663 664 var boundariesChanged = false; 665 if (this.calculator.updateBoundariesForEventTime) { 666 boundariesChanged = this.calculator.updateBoundariesForEventTime(this._mainResourceLoadTime) || boundariesChanged; 667 boundariesChanged = this.calculator.updateBoundariesForEventTime(this._mainResourceDOMContentTime) || boundariesChanged; 668 } 664 669 665 670 for (var i = 0; i < staleItemsLength; ++i) { … … 1669 1674 1670 1675 return 0; 1676 }, 1677 1678 updateBoundariesForEventTime: function(eventTime) 1679 { 1680 if (eventTime === -1 || this.startAtZero) 1681 return false; 1682 1683 if (typeof this.maximumBoundary === "undefined" || eventTime > this.maximumBoundary) { 1684 this.maximumBoundary = eventTime; 1685 return true; 1686 } 1687 return false; 1671 1688 }, 1672 1689
Note: See TracChangeset
for help on using the changeset viewer.