Bug 123367

Summary: Web Inspector: Implement TimelineRecording and per-callsite timelines
Product: WebKit Reporter: Timothy Hatcher <timothy>
Component: Web InspectorAssignee: Timothy Hatcher <timothy>
Status: RESOLVED FIXED    
Severity: Normal CC: graouts, joepeck, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch joepeck: review+, timothy: commit-queue-

Description Timothy Hatcher 2013-10-25 15:44:24 PDT
Add the implementation for TimelineRecording and helpers.
Comment 1 Radar WebKit Bug Importer 2013-10-25 15:44:31 PDT
<rdar://problem/15324242>
Comment 2 Timothy Hatcher 2013-10-25 15:47:20 PDT
Created attachment 215224 [details]
Patch
Comment 3 Joseph Pecoraro 2013-10-28 10:44:59 PDT
Comment on attachment 215224 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=215224&action=review

r=me

> Source/WebInspectorUI/UserInterface/TimelineRecording.js:32
> +    this._timelines = {script: new WebInspector.Timeline, layout: new WebInspector.Timeline};
> +    this._sourceCodeTimelinesMap = new Map;
> +    this._eventMarkers = [];

When are these cleared?

> Source/WebInspectorUI/UserInterface/TimelineRecording.js:41
> +    get timelines() {

Style: { on its own line
Comment 4 Timothy Hatcher 2013-10-28 11:18:57 PDT
Comment on attachment 215224 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=215224&action=review

>> Source/WebInspectorUI/UserInterface/TimelineRecording.js:32
>> +    this._eventMarkers = [];
> 
> When are these cleared?

They are cleared when the recordings are cleared, on reload.
Comment 5 Timothy Hatcher 2014-01-20 19:00:38 PST
https://trac.webkit.org/changeset/162401