WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
93706
Support creating File object from FileSystem URL for files in FileSystem API
https://bugs.webkit.org/show_bug.cgi?id=93706
Summary
Support creating File object from FileSystem URL for files in FileSystem API
Kinuko Yasuda
Reported
2012-08-10 03:09:21 PDT
Support creating File object from FileSystem URL for files in FileSystem API. Current File code assumes the existence of local file (i.e. needs a platform local file path to work appropriately) but for FileSystem files it may not be always the case. Some implementation may want to use in-memory filesystem to realize sandboxed filesystem, or the filesystem may exist in a remote server so that there may not be the local platform file. We should support File object creation not only from file path but from FileSystem URL, and should make File object keep the information, so that the platform-specific code can handle file requests more appropriately.
Attachments
wip
(33.18 KB, patch)
2012-08-10 03:26 PDT
,
Kinuko Yasuda
no flags
Details
Formatted Diff
Diff
Patch
(33.68 KB, patch)
2012-08-10 06:03 PDT
,
Kinuko Yasuda
no flags
Details
Formatted Diff
Diff
Patch
(36.96 KB, patch)
2012-08-10 06:31 PDT
,
Kinuko Yasuda
fishd
: review+
fishd
: commit-queue-
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Kinuko Yasuda
Comment 1
2012-08-10 03:26:12 PDT
Created
attachment 157698
[details]
wip
WebKit Review Bot
Comment 2
2012-08-10 03:29:31 PDT
Please wait for approval from
abarth@webkit.org
,
dglazkov@chromium.org
,
fishd@chromium.org
,
jamesr@chromium.org
or
tkent@chromium.org
before submitting, as this patch contains changes to the Chromium public API. See also
https://trac.webkit.org/wiki/ChromiumWebKitAPI
.
Early Warning System Bot
Comment 3
2012-08-10 03:40:15 PDT
Comment on
attachment 157698
[details]
wip
Attachment 157698
[details]
did not pass qt-ews (qt): Output:
http://queues.webkit.org/results/13459920
Early Warning System Bot
Comment 4
2012-08-10 03:48:21 PDT
Comment on
attachment 157698
[details]
wip
Attachment 157698
[details]
did not pass qt-wk2-ews (qt): Output:
http://queues.webkit.org/results/13477157
Build Bot
Comment 5
2012-08-10 03:49:06 PDT
Comment on
attachment 157698
[details]
wip
Attachment 157698
[details]
did not pass mac-ews (mac): Output:
http://queues.webkit.org/results/13470547
Gyuyoung Kim
Comment 6
2012-08-10 03:57:26 PDT
Comment on
attachment 157698
[details]
wip
Attachment 157698
[details]
did not pass efl-ews (efl): Output:
http://queues.webkit.org/results/13463662
Kinuko Yasuda
Comment 7
2012-08-10 06:03:32 PDT
Created
attachment 157722
[details]
Patch
Build Bot
Comment 8
2012-08-10 06:25:35 PDT
Comment on
attachment 157722
[details]
Patch
Attachment 157722
[details]
did not pass mac-ews (mac): Output:
http://queues.webkit.org/results/13477196
Kinuko Yasuda
Comment 9
2012-08-10 06:31:51 PDT
Created
attachment 157729
[details]
Patch
Darin Fisher (:fishd, Google)
Comment 10
2012-08-10 09:43:40 PDT
Comment on
attachment 157729
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=157729&action=review
> Source/Platform/chromium/public/WebBlobData.h:53 > + WebURL url; // For Blob or URL.
nit: "For TypeBlob or TypeURL." just to make it really clear.
> Source/Platform/chromium/public/WebHTTPBody.h:57 > + WebURL url; // For Blob or URL type.
nit: "For TypeBlob or TypeURL." just to make it really clear.
> Source/WebCore/platform/chromium/support/WebHTTPBody.cpp:157 > + ASSERT(KURL(blobURL).protocol() == "blob");
nit: use KURL's protocolIs method.
Kinuko Yasuda
Comment 11
2012-08-12 23:21:57 PDT
Committed
r125391
: <
http://trac.webkit.org/changeset/125391
>
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