Bug 79921

Summary: Web Inspector: timeline markers are not shown on the timeline panel
Product: WebKit Reporter: Andrey Kosyakov <caseq>
Component: Web Inspector (Deprecated)Assignee: Andrey Kosyakov <caseq>
Severity: Normal CC: apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Description Flags
Patch pfeldman: review+

Description Andrey Kosyakov 2012-02-29 09:19:51 PST
1. navigate to webkit.org
2. open inspector
3. switch to Timeline panel
4. start recording timeline
5. run console.markTimeline() in console

EXPECTED: yellow mark on the timeline grid and in the overview
ACTUAL: no marks anywhere
Comment 1 Andrey Kosyakov 2012-02-29 09:20:53 PST
Created attachment 129462 [details]
Comment 2 Pavel Feldman 2012-02-29 09:24:32 PST
Comment on attachment 129462 [details]

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

> Source/WebCore/inspector/front-end/TimelinePanel.js:467
> +        WebInspector.TimelinePanel.forAllRecords([ formattedRecord ], addTimestampRecords.bind(this));

I wound not bind a function per record.
Comment 3 Andrey Kosyakov 2012-02-29 09:36:43 PST
Committed r109221: <http://trac.webkit.org/changeset/109221>