WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 77881
[filesystem/Chromium] crackFileSystemURL needs to use innerURL
https://bugs.webkit.org/show_bug.cgi?id=77881
Summary
[filesystem/Chromium] crackFileSystemURL needs to use innerURL
Eric U.
Reported
2012-02-06 09:57:35 PST
We need to update AsyncFileSystemChromium::crackFileSystemURL to use innerURL if it's present. Once
http://codereview.chromium.org/7811006
lands, it always will, and we can remove the old code. Patch to follow shortly.
Attachments
Patch
(3.47 KB, patch)
2012-02-06 11:22 PST
,
Eric U.
abarth
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Eric U.
Comment 1
2012-02-06 11:22:50 PST
Created
attachment 125675
[details]
Patch
Adam Barth
Comment 2
2012-02-06 13:10:51 PST
Comment on
attachment 125675
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=125675&action=review
> Source/WebKit/chromium/src/AsyncFileSystemChromium.cpp:67 > + String typeString = url.innerURL()->path().substring(1);
There's probably a way to do this that saves some mallocs. If this is performance-sensitive code, we might want to investigate further.
Adam Barth
Comment 3
2012-02-06 13:11:13 PST
Comment on
attachment 125675
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=125675&action=review
> Source/WebKit/chromium/src/AsyncFileSystemChromium.cpp:77 > + filePath = decodeURLEscapeSequences(url.path());
Not the innerURLs path?
Eric U.
Comment 4
2012-02-06 13:14:05 PST
Comment on
attachment 125675
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=125675&action=review
>> Source/WebKit/chromium/src/AsyncFileSystemChromium.cpp:67 >> + String typeString = url.innerURL()->path().substring(1); > > There's probably a way to do this that saves some mallocs. If this is performance-sensitive code, we might want to investigate further.
I don't expect it to be worth optimizing; certainly not right now.
>> Source/WebKit/chromium/src/AsyncFileSystemChromium.cpp:77 >> + filePath = decodeURLEscapeSequences(url.path()); > > Not the innerURLs path?
Nope; the innerURL's path tells us which storage area ["/temporary" or "/persistent"], and the outer URL gets the virtual path.
Eric U.
Comment 5
2012-02-06 14:59:32 PST
Committed
r106856
: <
http://trac.webkit.org/changeset/106856
>
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