Bug 44685 - Web Inspector: CPU profiles listed twice on Inspector re-opening
Summary: Web Inspector: CPU profiles listed twice on Inspector re-opening
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: Mikhail Naganov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-26 07:02 PDT by Mikhail Naganov
Modified: 2010-08-26 10:27 PDT (History)
9 users (show)

See Also:


Attachments
Screenshot (18.56 KB, image/png)
2010-08-26 07:02 PDT, Mikhail Naganov
no flags Details
Proposed patch (1.78 KB, patch)
2010-08-26 07:35 PDT, Mikhail Naganov
pfeldman: review-
pfeldman: commit-queue-
Details | Formatted Diff | Diff
fixed changelog (1.70 KB, patch)
2010-08-26 07:38 PDT, Mikhail Naganov
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Naganov 2010-08-26 07:02:02 PDT
Created attachment 65558 [details]
Screenshot

Consider the following scenario:

1. Open Inspector.
2. Enable profiling (if needed).
3. Open "Profiles" panel.
4. Create a couple of CPU profiles (no matter what page is running).
5. Close Inspector (but not browser).
6. Open Inspector again.
7. Observe that 2x CPU profiles are listed (see attached screenshot).

This doesn't happen, if after step 4 another panel was selected.
Comment 1 Mikhail Naganov 2010-08-26 07:35:26 PDT
Created attachment 65562 [details]
Proposed patch
Comment 2 Pavel Feldman 2010-08-26 07:36:55 PDT
Comment on attachment 65562 [details]
Proposed patch

Please fix changelog.
Comment 3 Mikhail Naganov 2010-08-26 07:38:39 PDT
Created attachment 65563 [details]
fixed changelog
Comment 4 WebKit Commit Bot 2010-08-26 10:27:39 PDT
Comment on attachment 65563 [details]
fixed changelog

Clearing flags on attachment: 65563

Committed r66112: <http://trac.webkit.org/changeset/66112>
Comment 5 WebKit Commit Bot 2010-08-26 10:27:43 PDT
All reviewed patches have been landed.  Closing bug.