DescriptionFileAPI: Add WebFileSystem::resolveURL
This introduces WebFileSystem::resolveURL so that resolveLocalFileSystemURL,
a member of FileSystem API, can resolve a filesystem URL for external
filesystem.
This includes:
- Cracking the given filesystem URL not in Blink side but in Chromium side so
that we can get more specific external filesystem type (e.g. SyncFileSystem).
It is necessary to resolve the external filesystem URL.
- Replacing readFileSystem with resolveURL since it's used only to resolve URLs.
- Changing the error code, and these must be correct:
(http://dev.w3.org/2009/dap/file-system/file-dir-sys.html#errors-and-exceptions)
Depends on Chromium side change:
https://codereview.chromium.org/23856002/
BUG=177137
TEST=run_webkit_tests.sh http/tests/filesystem/\*
TEST=run_webkit_tests.sh http/tests/inspector/filesystem/\*
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=158157
Patch Set 1 : #Patch Set 2 : #
Total comments: 4
Patch Set 3 : fix #
Total comments: 2
Patch Set 4 : remove FileSystemClient::resolveURL #Patch Set 5 : fix #
Total comments: 3
Patch Set 6 : rebase #
Total comments: 6
Patch Set 7 : review fix #Patch Set 8 : rebase #Messages
Total messages: 13 (0 generated)
|