Bug 84347

Summary: Web Inspector / Heap snapshots: "Objects allocated ..." views are empty
Product: WebKit Reporter: Marja Hölttä <marja>
Component: Web Inspector (Deprecated)Assignee: Ilya Tikhonovsky <loislo>
Status: RESOLVED FIXED    
Severity: Normal CC: alph, apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch pfeldman: review+

Description Marja Hölttä 2012-04-19 07:56:01 PDT
The bug appears both in chromium trunk build (chromium r132979, WebKit r114621) and in Google Chrome 20.0.1105.0 dev.

To reproduce:
1. Navigate to a page using JS. A static page with no interactions will do.
2. Take 3 heap snapshots.
3. Select snapshot 3, and display "Objects allocated before Snapshot 1".

The view is empty. It should contain the same objects as snapshot 1. (Nothing was disposed.)

Alternatively, use a page, and do something that allocates new objects between the snapshots. Then the "Objects allocated between snapshots 1 and 2" and "Objects allocated between snapshots 2 and 3" views should also be nonempty, but they are empty, too.
Comment 1 Yury Semikhatsky 2012-04-19 11:32:14 PDT
Created attachment 137933 [details]
Patch
Comment 2 Yury Semikhatsky 2012-04-19 11:38:53 PDT
Committed r114658: <http://trac.webkit.org/changeset/114658>