Bug 77414

Summary: [V8] Web Inspector: heap profile view is missing strong references from DOM nodes to listener functions
Product: WebKit Reporter: Yury Semikhatsky <yurys@chromium.org>
Component: Web Inspector (Deprecated)Assignee: Nobody <webkit-unassigned@lists.webkit.org>
Severity: Normal CC: apavlov@chromium.org, bweinstein@apple.com, joepeck@webkit.org, keishi@webkit.org, loislo@chromium.org, pfeldman@chromium.org, pmuellr@yahoo.com, rik@webkit.org, timothy@apple.com, yurys@chromium.org
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 78411    
Description Flags
Test page none

Description From 2012-01-31 01:49:03 PST
Open attachment and take a heap snapshot. Then click "Add listener" button and take another snapshot. Find 'myEventListener' function in the heap view.

According to the profiler it is only held by a global weak handle.

Strong reference from corresponding DOM object group/DOM node to the closure object.
------- Comment #1 From 2012-01-31 01:49:34 PST -------
Created an attachment (id=124685) [details]
Test page
------- Comment #2 From 2012-02-03 06:52:52 PST -------
The problem has been fixed in V8: https://code.google.com/p/v8/source/detail?r=10603