⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 187209 in webkit


Ignore:
Timestamp:
Jul 22, 2015, 9:18:38 PM (11 years ago)
Author:
commit-queue@webkit.org
Message:

Web Inspector: Timeline's Current Time does not jump forward to new start time when starting a new recording, causes timeline to appear delayed and broken
https://bugs.webkit.org/show_bug.cgi?id=147204

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2015-07-22
Reviewed by Timothy Hatcher.

  • UserInterface/Views/TimelineRecordingContentView.js:

(WebInspector.TimelineRecordingContentView.prototype._recordingTimesUpdated):
We were skipping a timeline, but it might have a new event record with
a new start time. This ensures we get an updated current time which makes
sense, and we jump forward to that time in the main timeline.

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r187207 r187209  
     12015-07-22  Joseph Pecoraro  <pecoraro@apple.com>
     2
     3        Web Inspector: Timeline's Current Time does not jump forward to new start time when starting a new recording, causes timeline to appear delayed and broken
     4        https://bugs.webkit.org/show_bug.cgi?id=147204
     5
     6        Reviewed by Timothy Hatcher.
     7
     8        * UserInterface/Views/TimelineRecordingContentView.js:
     9        (WebInspector.TimelineRecordingContentView.prototype._recordingTimesUpdated):
     10        We were skipping a timeline, but it might have a new event record with
     11        a new start time. This ensures we get an updated current time which makes
     12        sense, and we jump forward to that time in the main timeline.
     13
    1142015-07-22  Matt Baker  <mattbaker@apple.com>
    215
  • trunk/Source/WebInspectorUI/UserInterface/Views/TimelineRecordingContentView.js

    r186536 r187209  
    515515
    516516        for (var timeline of this._recording.timelines.values()) {
    517             // The rendering frame timeline doesn't use a time axis.
    518             if (timeline.type === WebInspector.TimelineRecord.Type.RenderingFrame)
    519                 continue;
    520 
    521517            var lastRecord = timeline.records.lastValue;
    522518            if (!lastRecord)
Note: See TracChangeset for help on using the changeset viewer.