[Webkit-unassigned] [Bug 34530] [v8] Remove clear method from DOM object maps

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 3 08:21:14 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=34530


anton muhin <antonm at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         OS/Version|Mac OS X 10.5               |All
          Component|New Bugs                    |WebCore Misc.




--- Comment #2 from anton muhin <antonm at chromium.org>  2010-02-03 08:21:14 PST ---
Currently the only client of clear method is WorkerScriptController (this
method is called in dtor.)

I believe that as worker most probably would own a separate V8 instance, VM
destroy should take care of clearing (if it's not the case, I'd be glad to fix
it on V8-side.)

If this cleanup is crucial, I'd provide a separate method to iterate through
created wrappers.

This patch is just one in (planned) series of patches which could lead to
elimination of indirect reference from the Node to its wrapper.  The next move
would be to get rid of visit which is somewhat more involved.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list