Bug 84337

Summary: Web Inspector / Heap snapshots: "Object's retaining tree" view doesn't get cleared when navigating between objects
Product: WebKit Reporter: Marja Hölttä <marja>
Component: Web Inspector (Deprecated)Assignee: Yury Semikhatsky <yurys>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch vsevik: review+

Description Marja Hölttä 2012-04-19 07:10:45 PDT
The problem occurs in chromium trunk build (chromium r132979, WebKit r114621).

To reproduce:
1. Open some web page using JS.
2. Bring up developer tools -> Profiles -> New heap snapshot.
3. Expand some objects in the object list, click several objects.

The "Object's retainer view" doesn't get cleared when the selected object changes, but the retainers of the selected object are added to it. The retainers of all the clicked objects accumulate in the view.
Comment 1 Yury Semikhatsky 2012-04-19 11:47:38 PDT
Created attachment 137937 [details]
Patch
Comment 2 Yury Semikhatsky 2012-04-19 11:51:04 PDT
Committed r114662: <http://trac.webkit.org/changeset/114662>