[Webkit-unassigned] [Bug 99730] New: CachedResourceLoader::requestSVGDocument passes URL as charset

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 18 09:54:29 PDT 2012


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

           Summary: CachedResourceLoader::requestSVGDocument passes URL as
                    charset
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: ASSIGNED
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: marja at chromium.org
                CC: abarth at webkit.org, jochen at chromium.org,
                    simonjam at chromium.org


CachedResourceLoader::requestSVGDocument calls CachedResourceLoader::requestResource like this:

CachedResourceHandle<CachedSVGDocument> CachedResourceLoader::requestSVGDocument(ResourceRequest& request)
{
    return static_cast<CachedSVGDocument*>(requestResource(CachedResource::SVGDocumentResource, request, request.url(), defaultCachedResourceOptions()).get());
}

and the requestResource signature is:

CachedResourceHandle<CachedResource> requestResource(CachedResource::Type, ResourceRequest&, const String& charset, const ResourceLoaderOptions&, ResourceLoadPriority = ResourceLoadPriorityUnresolved, bool isPreload = false, DeferOption = NoDefer);

So request.url() gets passed as charset.

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