Bug 81757
Summary: | Web Inspector: add support for a whitelist / suppression list for heap snapshots | ||
---|---|---|---|
Product: | WebKit | Reporter: | jochen |
Component: | Web Inspector (Deprecated) | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | apavlov, bburg, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, yurys |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All |
jochen
When manually inspecting a heap snapshot, I'd like to have a way of hiding objects retained by a certain object. Ideally, I'd like to be able to load this information from a file, so I could maintain such a list across several debugging sessions
The use case is as follows: assume your web app has some pointer to the last performed action to implement undo, e.g. window.foo.bar.lastAction_ Now you look at a heap snapshot and figure out after a bit of clicking that a certain object is not a leak, because one of its retaining paths goes through lastAction_. As this is not a leak, you don't want to manually identify all other objects that are retained by this path, but concentrate on stuff retained by different paths. At this point, I'd like to filter out all objects with retaining paths through window.foo.bar.lastAction_
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |