[Webkit-unassigned] [Bug 152759] SVG polyline and polygon leak page

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 5 15:25:58 PST 2016


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

--- Comment #4 from Chris Vienneau <chris.vno at outlook.com> ---
I’ve attached a repro page, which is pretty basic, I think the real trick here is recognizing that anything is leaking.  I suggest you ensure that page caching and memory cache are off, this will make the leak more predictable and apparent.  Breakpoints on SVGAnimatedProperty
 and ~SVGAnimatedProperty will show the basic problem.  On my local build I have quite a lot of instrumentation at the moment; for example, I enabled DUMP_NODE_STATISTICS and tweaked the code a bit, with breakpoints in:

WebCore\dom\Node.cpp
{code}
#if DUMP_NODE_STATISTICS
    if (this->m_nodeFlags & IsSVGFlag)
    {
        DbgPrint("Added svg node:%p\n", this);
    }
    liveNodeSet.add(this);
#endif
}
{code}

{code}
#if DUMP_NODE_STATISTICS
    if (this->m_nodeFlags & IsSVGFlag)
    {
        DbgPrint("Removed svg node:%p\n", this);
    }
liveNodeSet.remove(this);
#endif
{code}

You’ll be able to see two svg nodes added when you visit the page, and one svg node removed when you navigate away from the page.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160105/d889e27d/attachment.html>


More information about the webkit-unassigned mailing list