Bug 82909 - Web Inspector: CPU time bar missing on top-level events in timeline panel
Summary: Web Inspector: CPU time bar missing on top-level events in timeline panel
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Andrey Kosyakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-02 10:03 PDT by Andrey Kosyakov
Modified: 2012-04-02 10:13 PDT (History)
10 users (show)

See Also:


Attachments
Patch (1.71 KB, patch)
2012-04-02 10:05 PDT, Andrey Kosyakov
pfeldman: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Kosyakov 2012-04-02 10:03:25 PDT
0. Navigate to http://www.webkit.org/demos/calendar/Calendar.html
1. Open Timeline panel
2. Press Record
3. Reload
4. Stop recording
5. Observe first record (Send Request) does not have CPU time bar (just 2 bars for own and children time)
6. Expand children of Send Request record
7. Observe Receive Data has CPU time bar
Comment 1 Andrey Kosyakov 2012-04-02 10:05:48 PDT
Created attachment 135125 [details]
Patch
Comment 2 Pavel Feldman 2012-04-02 10:07:43 PDT
Comment on attachment 135125 [details]
Patch

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

> Source/WebCore/inspector/front-end/TimelinePresentationModel.js:186
> +                parent._cpuTime += formattedRecord.cpuTime;

For the record: it used to be _cpuTime and it was 2 lines above.
Comment 3 Andrey Kosyakov 2012-04-02 10:13:35 PDT
Committed r112899: <http://trac.webkit.org/changeset/112899>