RESOLVED FIXED 21728
svg/custom/use-instanceRoot-as-event-target.xhtml leaks an event listener and associated elements
https://bugs.webkit.org/show_bug.cgi?id=21728
Summary svg/custom/use-instanceRoot-as-event-target.xhtml leaks an event listener and...
mitz
Reported 2008-10-18 00:43:06 PDT
svg/custom/use-instanceRoot-as-event-target.xhtml reports the following: LEAK: 1 EventListener LEAK: 2 WebCoreSVGElementInstance LEAK: 918 WebCoreNode LEAK: 1 CachedResource LEAK: 174 StructureID LEAK: 292 JSC::Node
Attachments
mitz
Comment 1 2008-10-18 00:47:35 PDT
Here is a reduction (bugzilla won't accept it as an attachment right now): <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100px" height="100px"> <defs> <rect id="target" /> </defs> <use id="test" xlink:href="url(#target)"/> <script> document.getElementById("test").instanceRoot.addEventListener("mouseover", function() {}, false); </script> </svg>
Nikolas Zimmermann
Comment 2 2010-01-18 20:04:35 PST
Mitz, could you retest in ToT? I can't reproduce it, but like to hear your opinion before closing.
Nikolas Zimmermann
Comment 3 2010-01-19 07:50:53 PST
Can't reproduce it. Closing.
Note You need to log in before you can comment on or make changes to this bug.