| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Apps should expect DOMError instead.
This change breaks existing apps, so I kept FileError in this CL
but made it inherit from DOMError and marked '.code' attribute
deprecated.
BUG=276861
TEST=fast/files/*,fast/filesystem/*
Review URL: https://chromiumcodereview.appspot.com/22831019
git-svn-id: svn://svn.chromium.org/blink/trunk@156562 bbb929c8-8fbe-4397-9dbb-9b2b20218538
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reviewed by David Levin.
Support DirectoryEntry.removeRecursively for FileSystem API
https://bugs.webkit.org/show_bug.cgi?id=47400
* src/AsyncFileSystemChromium.cpp:
(WebCore::AsyncFileSystemChromium::removeRecursively): Added.
* src/AsyncFileSystemChromium.h:
* src/WorkerAsyncFileSystemChromium.cpp:
(WebCore::WorkerAsyncFileSystemChromium::removeRecursively): Added.
* src/WorkerAsyncFileSystemChromium.h:
* src/WorkerFileSystemCallbacksBridge.cpp:
(WebKit::WorkerFileSystemCallbacksBridge::postRemoveRecursivelyToMainThread): Added.
(WebKit::WorkerFileSystemCallbacksBridge::removeRecursivelyOnMainThread): Added.
* src/WorkerFileSystemCallbacksBridge.h:
2010-10-11 Kinuko Yasuda <kinuko@chromium.org>
Reviewed by David Levin.
Support DirectoryEntry.removeRecursively for FileSystem API
https://bugs.webkit.org/show_bug.cgi?id=47400
Also disallows remove/removeRecursively on the root directory.
Test: fast/filesystem/op-remove.html
* fileapi/DOMFileSystemBase.cpp:
(WebCore::DOMFileSystemBase::removeRecursively): Added.
* fileapi/DOMFileSystemBase.h:
* fileapi/DirectoryEntry.cpp:
(WebCore::DirectoryEntry::removeRecursively): Added.
* fileapi/DirectoryEntry.h:
* fileapi/DirectoryEntry.idl:
* fileapi/DirectoryEntrySync.cpp:
(WebCore::DirectoryEntrySync::removeRecursively): Added.
* fileapi/DirectoryEntrySync.h:
* fileapi/DirectoryEntrySync.idl:
* platform/AsyncFileSystem.h:
2010-10-11 Kinuko Yasuda <kinuko@chromium.org>
Reviewed by David Levin.
Support DirectoryEntry.removeRecursively for FileSystem API
https://bugs.webkit.org/show_bug.cgi?id=47400
* fast/filesystem/resources/async-operations.js:
* fast/filesystem/resources/fs-test-util.js:
(removeAllInDirectory): renamed from removeRecursively and changed
the implemntation to use DirectoryEntry.removeRecursively.
* fast/filesystem/resources/fs-worker-common.js:
(removeAllInDirectorySync): ditto.
* fast/filesystem/resources/op-remove.js: Added removeRecursively test.
* fast/filesystem/resources/op-tests-helper.js:
(runOperationTest.OperationTestHelper.this.removeRecursively): Added.
* fast/filesystem/resources/sync-operations.js:
* fast/filesystem/script-tests/file-from-file-entry.js:
* fast/filesystem/script-tests/read-directory.js:
git-svn-id: svn://svn.chromium.org/blink/trunk@69485 bbb929c8-8fbe-4397-9dbb-9b2b20218538
|
|
Reviewed by David Levin.
Add layout tests for FileSystem API
https://bugs.webkit.org/show_bug.cgi?id=44920
Added tests for major Entry operations: copyTo, moveTo, getFile,
getDirectory, remove, createReader.readEntries, getParent.
* fast/filesystem/op-copy-expected.txt: Added.
* fast/filesystem/op-copy.html: Added.
* fast/filesystem/op-get-entry-expected.txt: Added.
* fast/filesystem/op-get-entry.html: Added.
* fast/filesystem/op-get-parent-expected.txt: Added.
* fast/filesystem/op-get-parent.html: Added.
* fast/filesystem/op-move-expected.txt: Added.
* fast/filesystem/op-move.html: Added.
* fast/filesystem/op-read-directory-expected.txt: Added.
* fast/filesystem/op-read-directory.html: Added.
* fast/filesystem/op-remove-expected.txt: Added.
* fast/filesystem/op-remove.html: Added.
* fast/filesystem/op-restricted-chars-expected.txt: Added.
* fast/filesystem/op-restricted-chars.html: Added.
* fast/filesystem/op-restricted-names-expected.txt: Added.
* fast/filesystem/op-restricted-names.html: Added.
* fast/filesystem/resources/fs-test-util.js:
* fast/filesystem/resources/op-copy.js: Added.
* fast/filesystem/resources/op-get-entry.js: Added.
* fast/filesystem/resources/op-get-parent.js: Added.
* fast/filesystem/resources/op-move.js: Added.
* fast/filesystem/resources/op-read-directory.js: Added.
* fast/filesystem/resources/op-remove.js: Added.
* fast/filesystem/resources/op-restricted-chars.js: Added.
* fast/filesystem/resources/op-restricted-names.js: Added.
* fast/filesystem/resources/op-tests-helper.js: Added.
git-svn-id: svn://svn.chromium.org/blink/trunk@69339 bbb929c8-8fbe-4397-9dbb-9b2b20218538
|