[Webkit-unassigned] [Bug 55017] SVGImage causes MainResourceLoader leaks

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 23 08:56:37 PST 2011


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





--- Comment #6 from Alexey Proskuryakov <ap at webkit.org>  2011-02-23 08:56:37 PST ---
(From update of attachment 83472)
View in context: https://bugs.webkit.org/attachment.cgi?id=83472&action=review

Nice catch.

> Source/WebCore/svg/graphics/SVGImage.cpp:285
> +        loader->activeDocumentLoader()->cancelMainResourceLoad(ResourceError());

Will this result in an error line in Safari activity window, and/or in Web Inspector?

FWIW, existing callers of this function provide a real error object. The case in WebHTMLRepresentation.mm looks very similar:

    if (coreFrame->document()->isMediaDocument())
        coreFrame->loader()->documentLoader()->cancelMainResourceLoad(coreFrame->loader()->client()->pluginWillHandleLoadError(coreFrame->loader()->documentLoader()->response()));

-- 
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