WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
99730
CachedResourceLoader::requestSVGDocument passes URL as charset
https://bugs.webkit.org/show_bug.cgi?id=99730
Summary
CachedResourceLoader::requestSVGDocument passes URL as charset
Marja Hölttä
Reported
2012-10-18 09:55:23 PDT
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.
Attachments
Patch
(1.60 KB, patch)
2012-10-18 09:59 PDT
,
Marja Hölttä
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Marja Hölttä
Comment 1
2012-10-18 09:59:09 PDT
Created
attachment 169428
[details]
Patch
WebKit Review Bot
Comment 2
2012-10-18 11:30:40 PDT
Comment on
attachment 169428
[details]
Patch Clearing flags on attachment: 169428 Committed
r131782
: <
http://trac.webkit.org/changeset/131782
>
WebKit Review Bot
Comment 3
2012-10-18 11:30:44 PDT
All reviewed patches have been landed. Closing bug.
Alexey Proskuryakov
Comment 4
2012-10-18 22:44:08 PDT
This should have had an explanation of why a test case wasn't possible.
jochen
Comment 5
2012-10-18 23:54:13 PDT
(In reply to
comment #4
)
> This should have had an explanation of why a test case wasn't possible.
Sorry, I had assumed that it was obvious Since the URL can't be parsed as a valid encoding, it was effectively treated as no encoding. Therefore, there's no change in functionality. Would you prefer to reland the patch with an updated ChangeLog?
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug