Remove support for DOMFileSystem
authorweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 1 Oct 2013 04:33:34 +0000 (04:33 +0000)
committerweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 1 Oct 2013 04:33:34 +0000 (04:33 +0000)
https://bugs.webkit.org/show_bug.cgi?id=122137

Reviewed by Anders Carlsson.

.:

* Source/autotools/SetupWebKitFeatures.m4:
* Source/cmake/OptionsBlackBerry.cmake:
* Source/cmake/WebKitFeatures.cmake:
* Source/cmakeconfig.h.cmake:

Source/JavaScriptCore:

* Configurations/FeatureDefines.xcconfig:

Source/WebCore:

* Files elided *

Source/WebKit/blackberry:

* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::init):
(BlackBerry::WebKit::WebPage::clearWebFileSystem):
* WebCoreSupport/AboutDataEnableFeatures.in:

Source/WebKit/efl:

* ewk/ewk_settings.cpp:
(ewk_settings_file_system_path_set):

Source/WebKit/mac:

* Configurations/FeatureDefines.xcconfig:

Source/WebKit2:

* Configurations/FeatureDefines.xcconfig:

Source/WTF:

* wtf/FeatureDefines.h:

Tools:

* Scripts/webkitperl/FeatureList.pm:
* Scripts/webkitpy/style/checkers/cpp.py:
(check_spacing):
* Scripts/webkitpy/style/checkers/cpp_unittest.py:
(CppStyleTest.test_spacing_for_binary_ops):
* qmake/mkspecs/features/features.pri:

LayoutTests:

* fast/dom/MutationObserver/filesystem-callback-delivery-expected.txt: Removed.
* fast/dom/MutationObserver/filesystem-callback-delivery.html: Removed.
* fast/filesystem: Removed.
* fast/filesystem/async-operations-expected.txt: Removed.
* fast/filesystem/async-operations.html: Removed.
* fast/filesystem/cross-filesystem-op-expected.txt: Removed.
* fast/filesystem/cross-filesystem-op.html: Removed.
* fast/filesystem/directory-entry-to-uri-expected.txt: Removed.
* fast/filesystem/directory-entry-to-uri.html: Removed.
* fast/filesystem/entry-points-missing-arguments-expected.txt: Removed.
* fast/filesystem/entry-points-missing-arguments.html: Removed.
* fast/filesystem/file-after-reload-crash-expected.txt: Removed.
* fast/filesystem/file-after-reload-crash.html: Removed.
* fast/filesystem/file-entry-to-uri-expected.txt: Removed.
* fast/filesystem/file-entry-to-uri.html: Removed.
* fast/filesystem/file-from-file-entry-expected.txt: Removed.
* fast/filesystem/file-from-file-entry.html: Removed.
* fast/filesystem/file-metadata-after-write-expected.txt: Removed.
* fast/filesystem/file-metadata-after-write.html: Removed.
* fast/filesystem/file-writer-abort-continue-expected.txt: Removed.
* fast/filesystem/file-writer-abort-continue.html: Removed.
* fast/filesystem/file-writer-abort-depth-expected.txt: Removed.
* fast/filesystem/file-writer-abort-depth.html: Removed.
* fast/filesystem/file-writer-abort-expected.txt: Removed.
* fast/filesystem/file-writer-abort.html: Removed.
* fast/filesystem/file-writer-empty-blob-expected.txt: Removed.
* fast/filesystem/file-writer-empty-blob.html: Removed.
* fast/filesystem/file-writer-events-expected.txt: Removed.
* fast/filesystem/file-writer-events.html: Removed.
* fast/filesystem/file-writer-gc-blob-expected.txt: Removed.
* fast/filesystem/file-writer-gc-blob.html: Removed.
* fast/filesystem/file-writer-truncate-extend-expected.txt: Removed.
* fast/filesystem/file-writer-truncate-extend.html: Removed.
* fast/filesystem/file-writer-write-overlapped-expected.txt: Removed.
* fast/filesystem/file-writer-write-overlapped.html: Removed.
* fast/filesystem/filesystem-missing-arguments-expected.txt: Removed.
* fast/filesystem/filesystem-missing-arguments.html: Removed.
* fast/filesystem/filesystem-no-callback-null-ptr-crash-expected.txt: Removed.
* fast/filesystem/filesystem-no-callback-null-ptr-crash.html: Removed.
* fast/filesystem/filesystem-reference-expected.txt: Removed.
* fast/filesystem/filesystem-reference.html: Removed.
* fast/filesystem/filesystem-unserializable-expected.txt: Removed.
* fast/filesystem/filesystem-unserializable.html: Removed.
* fast/filesystem/filesystem-uri-origin-expected.txt: Removed.
* fast/filesystem/filesystem-uri-origin.html: Removed.
* fast/filesystem/flags-passing-expected.txt: Removed.
* fast/filesystem/flags-passing.html: Removed.
* fast/filesystem/input-access-entries-expected.txt: Removed.
* fast/filesystem/input-access-entries.html: Removed.
* fast/filesystem/not-enough-arguments-expected.txt: Removed.
* fast/filesystem/not-enough-arguments.html: Removed.
* fast/filesystem/op-copy-expected.txt: Removed.
* fast/filesystem/op-copy.html: Removed.
* fast/filesystem/op-get-entry-expected.txt: Removed.
* fast/filesystem/op-get-entry.html: Removed.
* fast/filesystem/op-get-metadata-expected.txt: Removed.
* fast/filesystem/op-get-metadata.html: Removed.
* fast/filesystem/op-get-parent-expected.txt: Removed.
* fast/filesystem/op-get-parent.html: Removed.
* fast/filesystem/op-move-expected.txt: Removed.
* fast/filesystem/op-move.html: Removed.
* fast/filesystem/op-read-directory-expected.txt: Removed.
* fast/filesystem/op-read-directory.html: Removed.
* fast/filesystem/op-remove-expected.txt: Removed.
* fast/filesystem/op-remove.html: Removed.
* fast/filesystem/op-restricted-chars-expected.txt: Removed.
* fast/filesystem/op-restricted-chars.html: Removed.
* fast/filesystem/op-restricted-names-expected.txt: Removed.
* fast/filesystem/op-restricted-names.html: Removed.
* fast/filesystem/op-restricted-unicode-expected.txt: Removed.
* fast/filesystem/op-restricted-unicode.html: Removed.
* fast/filesystem/read-directory-expected.txt: Removed.
* fast/filesystem/read-directory.html: Removed.
* fast/filesystem/resources: Removed.
* fast/filesystem/resources/async-operations.js: Removed.
* fast/filesystem/resources/directory-entry-to-uri.js: Removed.
* fast/filesystem/resources/file-entry-to-uri-sync.js: Removed.
* fast/filesystem/resources/file-entry-to-uri.js: Removed.
* fast/filesystem/resources/file-from-file-entry-sync.js: Removed.
* fast/filesystem/resources/file-from-file-entry.js: Removed.
* fast/filesystem/resources/file-writer-abort-continue.js: Removed.
* fast/filesystem/resources/file-writer-abort-depth.js: Removed.
* fast/filesystem/resources/file-writer-abort.js: Removed.
* fast/filesystem/resources/file-writer-empty-blob.js: Removed.
* fast/filesystem/resources/file-writer-events.js: Removed.
* fast/filesystem/resources/file-writer-gc-blob.js: Removed.
* fast/filesystem/resources/file-writer-sync-truncate-extend.js: Removed.
* fast/filesystem/resources/file-writer-sync-write-overlapped.js: Removed.
* fast/filesystem/resources/file-writer-truncate-extend.js: Removed.
* fast/filesystem/resources/file-writer-utils.js: Removed.
* fast/filesystem/resources/file-writer-write-overlapped.js: Removed.
* fast/filesystem/resources/fs-test-util.js: Removed.
* fast/filesystem/resources/fs-worker-common.js: Removed.
* fast/filesystem/resources/op-copy.js: Removed.
* fast/filesystem/resources/op-get-entry.js: Removed.
* fast/filesystem/resources/op-get-metadata.js: Removed.
* fast/filesystem/resources/op-get-parent.js: Removed.
* fast/filesystem/resources/op-move.js: Removed.
* fast/filesystem/resources/op-read-directory.js: Removed.
* fast/filesystem/resources/op-remove.js: Removed.
* fast/filesystem/resources/op-restricted-chars.js: Removed.
* fast/filesystem/resources/op-restricted-names.js: Removed.
* fast/filesystem/resources/op-restricted-unicode.js: Removed.
* fast/filesystem/resources/op-tests-helper.js: Removed.
* fast/filesystem/resources/shared-worker-stub.js: Removed.
* fast/filesystem/resources/simple-persistent-sync.js: Removed.
* fast/filesystem/resources/simple-persistent.js: Removed.
* fast/filesystem/resources/simple-readonly.js: Removed.
* fast/filesystem/resources/simple-required-arguments-getdirectory.js: Removed.
* fast/filesystem/resources/simple-required-arguments-getfile.js: Removed.
* fast/filesystem/resources/simple-required-arguments-getmetadata.js: Removed.
* fast/filesystem/resources/simple-required-arguments-remove.js: Removed.
* fast/filesystem/resources/simple-temporary-sync.js: Removed.
* fast/filesystem/resources/simple-temporary.js: Removed.
* fast/filesystem/resources/sync-operations.js: Removed.
* fast/filesystem/script-tests: Removed.
* fast/filesystem/script-tests/TEMPLATE.html: Removed.
* fast/filesystem/script-tests/filesystem-reference.js: Removed.
* fast/filesystem/script-tests/filesystem-unserializable.js: Removed.
* fast/filesystem/script-tests/flags-passing.js: Removed.
* fast/filesystem/script-tests/read-directory.js: Removed.
* fast/filesystem/simple-persistent-expected.txt: Removed.
* fast/filesystem/simple-persistent.html: Removed.
* fast/filesystem/simple-readonly-expected.txt: Removed.
* fast/filesystem/simple-readonly-file-object-expected.txt: Removed.
* fast/filesystem/simple-readonly-file-object.html: Removed.
* fast/filesystem/simple-readonly.html: Removed.
* fast/filesystem/simple-required-arguments-getdirectory-expected.txt: Removed.
* fast/filesystem/simple-required-arguments-getdirectory.html: Removed.
* fast/filesystem/simple-required-arguments-getfile-expected.txt: Removed.
* fast/filesystem/simple-required-arguments-getfile.html: Removed.
* fast/filesystem/simple-required-arguments-getmetadata-expected.txt: Removed.
* fast/filesystem/simple-required-arguments-getmetadata.html: Removed.
* fast/filesystem/simple-required-arguments-remove-expected.txt: Removed.
* fast/filesystem/simple-required-arguments-remove.html: Removed.
* fast/filesystem/simple-temporary-expected.txt: Removed.
* fast/filesystem/simple-temporary.html: Removed.
* fast/filesystem/workers: Removed.
* fast/filesystem/workers/async-operations-expected.txt: Removed.
* fast/filesystem/workers/async-operations.html: Removed.
* fast/filesystem/workers/detached-frame-crash-expected.txt: Removed.
* fast/filesystem/workers/detached-frame-crash.html: Removed.
* fast/filesystem/workers/file-entry-to-uri-sync-expected.txt: Removed.
* fast/filesystem/workers/file-entry-to-uri-sync.html: Removed.
* fast/filesystem/workers/file-from-file-entry-expected.txt: Removed.
* fast/filesystem/workers/file-from-file-entry-sync-expected.txt: Removed.
* fast/filesystem/workers/file-from-file-entry-sync.html: Removed.
* fast/filesystem/workers/file-from-file-entry.html: Removed.
* fast/filesystem/workers/file-writer-empty-blob-expected.txt: Removed.
* fast/filesystem/workers/file-writer-empty-blob.html: Removed.
* fast/filesystem/workers/file-writer-events-expected.txt: Removed.
* fast/filesystem/workers/file-writer-events-shared-worker-expected.txt: Removed.
* fast/filesystem/workers/file-writer-events-shared-worker.html: Removed.
* fast/filesystem/workers/file-writer-events.html: Removed.
* fast/filesystem/workers/file-writer-gc-blob-expected.txt: Removed.
* fast/filesystem/workers/file-writer-gc-blob.html: Removed.
* fast/filesystem/workers/file-writer-sync-truncate-extend-expected.txt: Removed.
* fast/filesystem/workers/file-writer-sync-truncate-extend.html: Removed.
* fast/filesystem/workers/file-writer-sync-write-overlapped-expected.txt: Removed.
* fast/filesystem/workers/file-writer-sync-write-overlapped.html: Removed.
* fast/filesystem/workers/file-writer-truncate-extend-expected.txt: Removed.
* fast/filesystem/workers/file-writer-truncate-extend.html: Removed.
* fast/filesystem/workers/file-writer-write-overlapped-expected.txt: Removed.
* fast/filesystem/workers/file-writer-write-overlapped.html: Removed.
* fast/filesystem/workers/resources: Removed.
* fast/filesystem/workers/resources/detached-frame-crash-frame.html: Removed.
* fast/filesystem/workers/resources/detached-frame-crash-worker.js: Removed.
* fast/filesystem/workers/simple-persistent-expected.txt: Removed.
* fast/filesystem/workers/simple-persistent-sync-expected.txt: Removed.
* fast/filesystem/workers/simple-persistent-sync.html: Removed.
* fast/filesystem/workers/simple-persistent.html: Removed.
* fast/filesystem/workers/simple-temporary-expected.txt: Removed.
* fast/filesystem/workers/simple-temporary-sync-expected.txt: Removed.
* fast/filesystem/workers/simple-temporary-sync.html: Removed.
* fast/filesystem/workers/simple-temporary.html: Removed.
* fast/filesystem/workers/sync-operations-expected.txt: Removed.
* fast/filesystem/workers/sync-operations.html: Removed.
* fast/forms/file/input-file-entries-expected.txt: Removed.
* fast/forms/file/input-file-entries.html: Removed.
* http/tests/filesystem: Removed.
* http/tests/filesystem/no-cache-filesystem-url-expected.txt: Removed.
* http/tests/filesystem/no-cache-filesystem-url.html: Removed.
* http/tests/filesystem/resolve-uri-expected.txt: Removed.
* http/tests/filesystem/resolve-uri.html: Removed.
* http/tests/filesystem/resources: Removed.
* http/tests/filesystem/resources/fs-test-util.js: Removed.
* http/tests/filesystem/resources/fs-worker-common.js: Removed.
* http/tests/filesystem/resources/fs-worker-test-util.js: Removed.
* http/tests/filesystem/script-tests: Removed.
* http/tests/filesystem/script-tests/TEMPLATE.html: Removed.
* http/tests/filesystem/script-tests/resolve-uri.js: Removed.
* http/tests/filesystem/workers: Removed.
* http/tests/filesystem/workers/resolve-url-expected.txt: Removed.
* http/tests/filesystem/workers/resolve-url-sync-expected.txt: Removed.
* http/tests/filesystem/workers/resolve-url-sync.html: Removed.
* http/tests/filesystem/workers/resolve-url.html: Removed.
* http/tests/filesystem/workers/script-tests: Removed.
* http/tests/filesystem/workers/script-tests/TEMPLATE.html: Removed.
* http/tests/filesystem/workers/script-tests/resolve-url-sync.js: Removed.
* http/tests/inspector/filesystem: Removed.
* http/tests/inspector/filesystem/delete-entry-expected.txt: Removed.
* http/tests/inspector/filesystem/delete-entry.html: Removed.
* http/tests/inspector/filesystem/directory-tree-expected.txt: Removed.
* http/tests/inspector/filesystem/directory-tree.html: Removed.
* http/tests/inspector/filesystem/filesystem-test.js: Removed.
* http/tests/inspector/filesystem/request-directory-content-expected.txt: Removed.
* http/tests/inspector/filesystem/request-directory-content.html: Removed.
* http/tests/inspector/filesystem/request-file-content-expected.txt: Removed.
* http/tests/inspector/filesystem/request-file-content.html: Removed.
* http/tests/inspector/filesystem/request-filesystem-root-expected.txt: Removed.
* http/tests/inspector/filesystem/request-filesystem-root.html: Removed.
* http/tests/inspector/filesystem/request-metadata-expected.txt: Removed.
* http/tests/inspector/filesystem/request-metadata.html: Removed.
* http/tests/security/contentSecurityPolicy/filesystem-urls-match-self-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/filesystem-urls-match-self.html: Removed.
* http/tests/security/filesystem-iframe-from-remote-expected.txt: Removed.
* http/tests/security/filesystem-iframe-from-remote.html: Removed.
* http/tests/security/mixedContent/filesystem-url-in-iframe-expected.txt: Removed.
* http/tests/security/mixedContent/filesystem-url-in-iframe.html: Removed.
* http/tests/websocket/tests/hybi/send-file-blob-expected.txt: Removed.
* http/tests/websocket/tests/hybi/send-file-blob-fail-expected.txt: Removed.
* http/tests/websocket/tests/hybi/send-file-blob-fail.html: Removed.
* http/tests/websocket/tests/hybi/send-file-blob.html: Removed.
* http/tests/workers/resources/sync-operations.js:
(onmessage):
* http/tests/workers/terminate-during-sync-operation-expected.txt: Removed.
* http/tests/workers/terminate-during-sync-operation.html: Removed.
* platform/efl/TestExpectations:
* platform/gtk/TestExpectations:
* platform/mac/TestExpectations:
* platform/qt/TestExpectations:
* platform/win/TestExpectations:
* platform/wincairo/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156692 268f45cc-cd09-0410-ab3c-d52691b4dbfc

408 files changed:
ChangeLog
LayoutTests/ChangeLog
LayoutTests/fast/dom/MutationObserver/filesystem-callback-delivery-expected.txt [deleted file]
LayoutTests/fast/dom/MutationObserver/filesystem-callback-delivery.html [deleted file]
LayoutTests/fast/filesystem/async-operations-expected.txt [deleted file]
LayoutTests/fast/filesystem/async-operations.html [deleted file]
LayoutTests/fast/filesystem/cross-filesystem-op-expected.txt [deleted file]
LayoutTests/fast/filesystem/cross-filesystem-op.html [deleted file]
LayoutTests/fast/filesystem/directory-entry-to-uri-expected.txt [deleted file]
LayoutTests/fast/filesystem/directory-entry-to-uri.html [deleted file]
LayoutTests/fast/filesystem/entry-points-missing-arguments-expected.txt [deleted file]
LayoutTests/fast/filesystem/entry-points-missing-arguments.html [deleted file]
LayoutTests/fast/filesystem/file-after-reload-crash-expected.txt [deleted file]
LayoutTests/fast/filesystem/file-after-reload-crash.html [deleted file]
LayoutTests/fast/filesystem/file-entry-to-uri-expected.txt [deleted file]
LayoutTests/fast/filesystem/file-entry-to-uri.html [deleted file]
LayoutTests/fast/filesystem/file-from-file-entry-expected.txt [deleted file]
LayoutTests/fast/filesystem/file-from-file-entry.html [deleted file]
LayoutTests/fast/filesystem/file-metadata-after-write-expected.txt [deleted file]
LayoutTests/fast/filesystem/file-metadata-after-write.html [deleted file]
LayoutTests/fast/filesystem/file-writer-abort-continue-expected.txt [deleted file]
LayoutTests/fast/filesystem/file-writer-abort-continue.html [deleted file]
LayoutTests/fast/filesystem/file-writer-abort-depth-expected.txt [deleted file]
LayoutTests/fast/filesystem/file-writer-abort-depth.html [deleted file]
LayoutTests/fast/filesystem/file-writer-abort-expected.txt [deleted file]
LayoutTests/fast/filesystem/file-writer-abort.html [deleted file]
LayoutTests/fast/filesystem/file-writer-empty-blob-expected.txt [deleted file]
LayoutTests/fast/filesystem/file-writer-empty-blob.html [deleted file]
LayoutTests/fast/filesystem/file-writer-events-expected.txt [deleted file]
LayoutTests/fast/filesystem/file-writer-events.html [deleted file]
LayoutTests/fast/filesystem/file-writer-gc-blob-expected.txt [deleted file]
LayoutTests/fast/filesystem/file-writer-gc-blob.html [deleted file]
LayoutTests/fast/filesystem/file-writer-truncate-extend-expected.txt [deleted file]
LayoutTests/fast/filesystem/file-writer-truncate-extend.html [deleted file]
LayoutTests/fast/filesystem/file-writer-write-overlapped-expected.txt [deleted file]
LayoutTests/fast/filesystem/file-writer-write-overlapped.html [deleted file]
LayoutTests/fast/filesystem/filesystem-missing-arguments-expected.txt [deleted file]
LayoutTests/fast/filesystem/filesystem-missing-arguments.html [deleted file]
LayoutTests/fast/filesystem/filesystem-no-callback-null-ptr-crash-expected.txt [deleted file]
LayoutTests/fast/filesystem/filesystem-no-callback-null-ptr-crash.html [deleted file]
LayoutTests/fast/filesystem/filesystem-reference-expected.txt [deleted file]
LayoutTests/fast/filesystem/filesystem-reference.html [deleted file]
LayoutTests/fast/filesystem/filesystem-unserializable-expected.txt [deleted file]
LayoutTests/fast/filesystem/filesystem-unserializable.html [deleted file]
LayoutTests/fast/filesystem/filesystem-uri-origin-expected.txt [deleted file]
LayoutTests/fast/filesystem/filesystem-uri-origin.html [deleted file]
LayoutTests/fast/filesystem/flags-passing-expected.txt [deleted file]
LayoutTests/fast/filesystem/flags-passing.html [deleted file]
LayoutTests/fast/filesystem/input-access-entries-expected.txt [deleted file]
LayoutTests/fast/filesystem/input-access-entries.html [deleted file]
LayoutTests/fast/filesystem/not-enough-arguments-expected.txt [deleted file]
LayoutTests/fast/filesystem/not-enough-arguments.html [deleted file]
LayoutTests/fast/filesystem/op-copy-expected.txt [deleted file]
LayoutTests/fast/filesystem/op-copy.html [deleted file]
LayoutTests/fast/filesystem/op-get-entry-expected.txt [deleted file]
LayoutTests/fast/filesystem/op-get-entry.html [deleted file]
LayoutTests/fast/filesystem/op-get-metadata-expected.txt [deleted file]
LayoutTests/fast/filesystem/op-get-metadata.html [deleted file]
LayoutTests/fast/filesystem/op-get-parent-expected.txt [deleted file]
LayoutTests/fast/filesystem/op-get-parent.html [deleted file]
LayoutTests/fast/filesystem/op-move-expected.txt [deleted file]
LayoutTests/fast/filesystem/op-move.html [deleted file]
LayoutTests/fast/filesystem/op-read-directory-expected.txt [deleted file]
LayoutTests/fast/filesystem/op-read-directory.html [deleted file]
LayoutTests/fast/filesystem/op-remove-expected.txt [deleted file]
LayoutTests/fast/filesystem/op-remove.html [deleted file]
LayoutTests/fast/filesystem/op-restricted-chars-expected.txt [deleted file]
LayoutTests/fast/filesystem/op-restricted-chars.html [deleted file]
LayoutTests/fast/filesystem/op-restricted-names-expected.txt [deleted file]
LayoutTests/fast/filesystem/op-restricted-names.html [deleted file]
LayoutTests/fast/filesystem/op-restricted-unicode-expected.txt [deleted file]
LayoutTests/fast/filesystem/op-restricted-unicode.html [deleted file]
LayoutTests/fast/filesystem/read-directory-expected.txt [deleted file]
LayoutTests/fast/filesystem/read-directory.html [deleted file]
LayoutTests/fast/filesystem/resources/async-operations.js [deleted file]
LayoutTests/fast/filesystem/resources/directory-entry-to-uri.js [deleted file]
LayoutTests/fast/filesystem/resources/file-entry-to-uri-sync.js [deleted file]
LayoutTests/fast/filesystem/resources/file-entry-to-uri.js [deleted file]
LayoutTests/fast/filesystem/resources/file-from-file-entry-sync.js [deleted file]
LayoutTests/fast/filesystem/resources/file-from-file-entry.js [deleted file]
LayoutTests/fast/filesystem/resources/file-writer-abort-continue.js [deleted file]
LayoutTests/fast/filesystem/resources/file-writer-abort-depth.js [deleted file]
LayoutTests/fast/filesystem/resources/file-writer-abort.js [deleted file]
LayoutTests/fast/filesystem/resources/file-writer-empty-blob.js [deleted file]
LayoutTests/fast/filesystem/resources/file-writer-events.js [deleted file]
LayoutTests/fast/filesystem/resources/file-writer-gc-blob.js [deleted file]
LayoutTests/fast/filesystem/resources/file-writer-sync-truncate-extend.js [deleted file]
LayoutTests/fast/filesystem/resources/file-writer-sync-write-overlapped.js [deleted file]
LayoutTests/fast/filesystem/resources/file-writer-truncate-extend.js [deleted file]
LayoutTests/fast/filesystem/resources/file-writer-utils.js [deleted file]
LayoutTests/fast/filesystem/resources/file-writer-write-overlapped.js [deleted file]
LayoutTests/fast/filesystem/resources/fs-test-util.js [deleted file]
LayoutTests/fast/filesystem/resources/fs-worker-common.js [deleted file]
LayoutTests/fast/filesystem/resources/op-copy.js [deleted file]
LayoutTests/fast/filesystem/resources/op-get-entry.js [deleted file]
LayoutTests/fast/filesystem/resources/op-get-metadata.js [deleted file]
LayoutTests/fast/filesystem/resources/op-get-parent.js [deleted file]
LayoutTests/fast/filesystem/resources/op-move.js [deleted file]
LayoutTests/fast/filesystem/resources/op-read-directory.js [deleted file]
LayoutTests/fast/filesystem/resources/op-remove.js [deleted file]
LayoutTests/fast/filesystem/resources/op-restricted-chars.js [deleted file]
LayoutTests/fast/filesystem/resources/op-restricted-names.js [deleted file]
LayoutTests/fast/filesystem/resources/op-restricted-unicode.js [deleted file]
LayoutTests/fast/filesystem/resources/op-tests-helper.js [deleted file]
LayoutTests/fast/filesystem/resources/shared-worker-stub.js [deleted file]
LayoutTests/fast/filesystem/resources/simple-persistent-sync.js [deleted file]
LayoutTests/fast/filesystem/resources/simple-persistent.js [deleted file]
LayoutTests/fast/filesystem/resources/simple-readonly.js [deleted file]
LayoutTests/fast/filesystem/resources/simple-required-arguments-getdirectory.js [deleted file]
LayoutTests/fast/filesystem/resources/simple-required-arguments-getfile.js [deleted file]
LayoutTests/fast/filesystem/resources/simple-required-arguments-getmetadata.js [deleted file]
LayoutTests/fast/filesystem/resources/simple-required-arguments-remove.js [deleted file]
LayoutTests/fast/filesystem/resources/simple-temporary-sync.js [deleted file]
LayoutTests/fast/filesystem/resources/simple-temporary.js [deleted file]
LayoutTests/fast/filesystem/resources/sync-operations.js [deleted file]
LayoutTests/fast/filesystem/script-tests/TEMPLATE.html [deleted file]
LayoutTests/fast/filesystem/script-tests/filesystem-reference.js [deleted file]
LayoutTests/fast/filesystem/script-tests/filesystem-unserializable.js [deleted file]
LayoutTests/fast/filesystem/script-tests/flags-passing.js [deleted file]
LayoutTests/fast/filesystem/script-tests/read-directory.js [deleted file]
LayoutTests/fast/filesystem/simple-persistent-expected.txt [deleted file]
LayoutTests/fast/filesystem/simple-persistent.html [deleted file]
LayoutTests/fast/filesystem/simple-readonly-expected.txt [deleted file]
LayoutTests/fast/filesystem/simple-readonly-file-object-expected.txt [deleted file]
LayoutTests/fast/filesystem/simple-readonly-file-object.html [deleted file]
LayoutTests/fast/filesystem/simple-readonly.html [deleted file]
LayoutTests/fast/filesystem/simple-required-arguments-getdirectory-expected.txt [deleted file]
LayoutTests/fast/filesystem/simple-required-arguments-getdirectory.html [deleted file]
LayoutTests/fast/filesystem/simple-required-arguments-getfile-expected.txt [deleted file]
LayoutTests/fast/filesystem/simple-required-arguments-getfile.html [deleted file]
LayoutTests/fast/filesystem/simple-required-arguments-getmetadata-expected.txt [deleted file]
LayoutTests/fast/filesystem/simple-required-arguments-getmetadata.html [deleted file]
LayoutTests/fast/filesystem/simple-required-arguments-remove-expected.txt [deleted file]
LayoutTests/fast/filesystem/simple-required-arguments-remove.html [deleted file]
LayoutTests/fast/filesystem/simple-temporary-expected.txt [deleted file]
LayoutTests/fast/filesystem/simple-temporary.html [deleted file]
LayoutTests/fast/filesystem/workers/async-operations-expected.txt [deleted file]
LayoutTests/fast/filesystem/workers/async-operations.html [deleted file]
LayoutTests/fast/filesystem/workers/detached-frame-crash-expected.txt [deleted file]
LayoutTests/fast/filesystem/workers/detached-frame-crash.html [deleted file]
LayoutTests/fast/filesystem/workers/file-entry-to-uri-sync-expected.txt [deleted file]
LayoutTests/fast/filesystem/workers/file-entry-to-uri-sync.html [deleted file]
LayoutTests/fast/filesystem/workers/file-from-file-entry-expected.txt [deleted file]
LayoutTests/fast/filesystem/workers/file-from-file-entry-sync-expected.txt [deleted file]
LayoutTests/fast/filesystem/workers/file-from-file-entry-sync.html [deleted file]
LayoutTests/fast/filesystem/workers/file-from-file-entry.html [deleted file]
LayoutTests/fast/filesystem/workers/file-writer-empty-blob-expected.txt [deleted file]
LayoutTests/fast/filesystem/workers/file-writer-empty-blob.html [deleted file]
LayoutTests/fast/filesystem/workers/file-writer-events-expected.txt [deleted file]
LayoutTests/fast/filesystem/workers/file-writer-events-shared-worker-expected.txt [deleted file]
LayoutTests/fast/filesystem/workers/file-writer-events-shared-worker.html [deleted file]
LayoutTests/fast/filesystem/workers/file-writer-events.html [deleted file]
LayoutTests/fast/filesystem/workers/file-writer-gc-blob-expected.txt [deleted file]
LayoutTests/fast/filesystem/workers/file-writer-gc-blob.html [deleted file]
LayoutTests/fast/filesystem/workers/file-writer-sync-truncate-extend-expected.txt [deleted file]
LayoutTests/fast/filesystem/workers/file-writer-sync-truncate-extend.html [deleted file]
LayoutTests/fast/filesystem/workers/file-writer-sync-write-overlapped-expected.txt [deleted file]
LayoutTests/fast/filesystem/workers/file-writer-sync-write-overlapped.html [deleted file]
LayoutTests/fast/filesystem/workers/file-writer-truncate-extend-expected.txt [deleted file]
LayoutTests/fast/filesystem/workers/file-writer-truncate-extend.html [deleted file]
LayoutTests/fast/filesystem/workers/file-writer-write-overlapped-expected.txt [deleted file]
LayoutTests/fast/filesystem/workers/file-writer-write-overlapped.html [deleted file]
LayoutTests/fast/filesystem/workers/resources/detached-frame-crash-frame.html [deleted file]
LayoutTests/fast/filesystem/workers/resources/detached-frame-crash-worker.js [deleted file]
LayoutTests/fast/filesystem/workers/simple-persistent-expected.txt [deleted file]
LayoutTests/fast/filesystem/workers/simple-persistent-sync-expected.txt [deleted file]
LayoutTests/fast/filesystem/workers/simple-persistent-sync.html [deleted file]
LayoutTests/fast/filesystem/workers/simple-persistent.html [deleted file]
LayoutTests/fast/filesystem/workers/simple-temporary-expected.txt [deleted file]
LayoutTests/fast/filesystem/workers/simple-temporary-sync-expected.txt [deleted file]
LayoutTests/fast/filesystem/workers/simple-temporary-sync.html [deleted file]
LayoutTests/fast/filesystem/workers/simple-temporary.html [deleted file]
LayoutTests/fast/filesystem/workers/sync-operations-expected.txt [deleted file]
LayoutTests/fast/filesystem/workers/sync-operations.html [deleted file]
LayoutTests/fast/forms/file/input-file-entries-expected.txt [deleted file]
LayoutTests/fast/forms/file/input-file-entries.html [deleted file]
LayoutTests/http/tests/filesystem/no-cache-filesystem-url-expected.txt [deleted file]
LayoutTests/http/tests/filesystem/no-cache-filesystem-url.html [deleted file]
LayoutTests/http/tests/filesystem/resolve-uri-expected.txt [deleted file]
LayoutTests/http/tests/filesystem/resolve-uri.html [deleted file]
LayoutTests/http/tests/filesystem/resources/fs-test-util.js [deleted file]
LayoutTests/http/tests/filesystem/resources/fs-worker-common.js [deleted file]
LayoutTests/http/tests/filesystem/resources/fs-worker-test-util.js [deleted file]
LayoutTests/http/tests/filesystem/script-tests/TEMPLATE.html [deleted file]
LayoutTests/http/tests/filesystem/script-tests/resolve-uri.js [deleted file]
LayoutTests/http/tests/filesystem/workers/resolve-url-expected.txt [deleted file]
LayoutTests/http/tests/filesystem/workers/resolve-url-sync-expected.txt [deleted file]
LayoutTests/http/tests/filesystem/workers/resolve-url-sync.html [deleted file]
LayoutTests/http/tests/filesystem/workers/resolve-url.html [deleted file]
LayoutTests/http/tests/filesystem/workers/script-tests/TEMPLATE.html [deleted file]
LayoutTests/http/tests/filesystem/workers/script-tests/resolve-url-sync.js [deleted file]
LayoutTests/http/tests/inspector/filesystem/delete-entry-expected.txt [deleted file]
LayoutTests/http/tests/inspector/filesystem/delete-entry.html [deleted file]
LayoutTests/http/tests/inspector/filesystem/directory-tree-expected.txt [deleted file]
LayoutTests/http/tests/inspector/filesystem/directory-tree.html [deleted file]
LayoutTests/http/tests/inspector/filesystem/filesystem-test.js [deleted file]
LayoutTests/http/tests/inspector/filesystem/request-directory-content-expected.txt [deleted file]
LayoutTests/http/tests/inspector/filesystem/request-directory-content.html [deleted file]
LayoutTests/http/tests/inspector/filesystem/request-file-content-expected.txt [deleted file]
LayoutTests/http/tests/inspector/filesystem/request-file-content.html [deleted file]
LayoutTests/http/tests/inspector/filesystem/request-filesystem-root-expected.txt [deleted file]
LayoutTests/http/tests/inspector/filesystem/request-filesystem-root.html [deleted file]
LayoutTests/http/tests/inspector/filesystem/request-metadata-expected.txt [deleted file]
LayoutTests/http/tests/inspector/filesystem/request-metadata.html [deleted file]
LayoutTests/http/tests/security/contentSecurityPolicy/filesystem-urls-match-self-expected.txt [deleted file]
LayoutTests/http/tests/security/contentSecurityPolicy/filesystem-urls-match-self.html [deleted file]
LayoutTests/http/tests/security/filesystem-iframe-from-remote-expected.txt [deleted file]
LayoutTests/http/tests/security/filesystem-iframe-from-remote.html [deleted file]
LayoutTests/http/tests/security/mixedContent/filesystem-url-in-iframe-expected.txt [deleted file]
LayoutTests/http/tests/security/mixedContent/filesystem-url-in-iframe.html [deleted file]
LayoutTests/http/tests/websocket/tests/hybi/send-file-blob-expected.txt [deleted file]
LayoutTests/http/tests/websocket/tests/hybi/send-file-blob-fail-expected.txt [deleted file]
LayoutTests/http/tests/websocket/tests/hybi/send-file-blob-fail.html [deleted file]
LayoutTests/http/tests/websocket/tests/hybi/send-file-blob.html [deleted file]
LayoutTests/http/tests/workers/resources/sync-operations.js
LayoutTests/http/tests/workers/terminate-during-sync-operation-expected.txt [deleted file]
LayoutTests/http/tests/workers/terminate-during-sync-operation.html [deleted file]
LayoutTests/platform/efl/TestExpectations
LayoutTests/platform/gtk/TestExpectations
LayoutTests/platform/mac/TestExpectations
LayoutTests/platform/qt/TestExpectations
LayoutTests/platform/win/TestExpectations
LayoutTests/platform/wincairo/TestExpectations
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig
Source/WTF/ChangeLog
Source/WTF/wtf/FeatureDefines.h
Source/WebCore/CMakeLists.txt
Source/WebCore/ChangeLog
Source/WebCore/Configurations/FeatureDefines.xcconfig
Source/WebCore/DerivedSources.cpp
Source/WebCore/DerivedSources.make
Source/WebCore/DerivedSources.pri
Source/WebCore/GNUmakefile.list.am
Source/WebCore/Modules/filesystem/AsyncFileWriter.h [deleted file]
Source/WebCore/Modules/filesystem/AsyncFileWriterClient.h [deleted file]
Source/WebCore/Modules/filesystem/DOMFilePath.cpp [deleted file]
Source/WebCore/Modules/filesystem/DOMFilePath.h [deleted file]
Source/WebCore/Modules/filesystem/DOMFileSystem.cpp [deleted file]
Source/WebCore/Modules/filesystem/DOMFileSystem.h [deleted file]
Source/WebCore/Modules/filesystem/DOMFileSystem.idl [deleted file]
Source/WebCore/Modules/filesystem/DOMFileSystemBase.cpp [deleted file]
Source/WebCore/Modules/filesystem/DOMFileSystemBase.h [deleted file]
Source/WebCore/Modules/filesystem/DOMFileSystemSync.cpp [deleted file]
Source/WebCore/Modules/filesystem/DOMFileSystemSync.h [deleted file]
Source/WebCore/Modules/filesystem/DOMFileSystemSync.idl [deleted file]
Source/WebCore/Modules/filesystem/DOMWindowFileSystem.cpp [deleted file]
Source/WebCore/Modules/filesystem/DOMWindowFileSystem.h [deleted file]
Source/WebCore/Modules/filesystem/DOMWindowFileSystem.idl [deleted file]
Source/WebCore/Modules/filesystem/DataTransferItemFileSystem.h [deleted file]
Source/WebCore/Modules/filesystem/DataTransferItemFileSystem.idl [deleted file]
Source/WebCore/Modules/filesystem/DirectoryEntry.cpp [deleted file]
Source/WebCore/Modules/filesystem/DirectoryEntry.h [deleted file]
Source/WebCore/Modules/filesystem/DirectoryEntry.idl [deleted file]
Source/WebCore/Modules/filesystem/DirectoryEntrySync.cpp [deleted file]
Source/WebCore/Modules/filesystem/DirectoryEntrySync.h [deleted file]
Source/WebCore/Modules/filesystem/DirectoryEntrySync.idl [deleted file]
Source/WebCore/Modules/filesystem/DirectoryReader.cpp [deleted file]
Source/WebCore/Modules/filesystem/DirectoryReader.h [deleted file]
Source/WebCore/Modules/filesystem/DirectoryReader.idl [deleted file]
Source/WebCore/Modules/filesystem/DirectoryReaderBase.h [deleted file]
Source/WebCore/Modules/filesystem/DirectoryReaderSync.cpp [deleted file]
Source/WebCore/Modules/filesystem/DirectoryReaderSync.h [deleted file]
Source/WebCore/Modules/filesystem/DirectoryReaderSync.idl [deleted file]
Source/WebCore/Modules/filesystem/EntriesCallback.h [deleted file]
Source/WebCore/Modules/filesystem/EntriesCallback.idl [deleted file]
Source/WebCore/Modules/filesystem/Entry.cpp [deleted file]
Source/WebCore/Modules/filesystem/Entry.h [deleted file]
Source/WebCore/Modules/filesystem/Entry.idl [deleted file]
Source/WebCore/Modules/filesystem/EntryArray.cpp [deleted file]
Source/WebCore/Modules/filesystem/EntryArray.h [deleted file]
Source/WebCore/Modules/filesystem/EntryArray.idl [deleted file]
Source/WebCore/Modules/filesystem/EntryArraySync.cpp [deleted file]
Source/WebCore/Modules/filesystem/EntryArraySync.h [deleted file]
Source/WebCore/Modules/filesystem/EntryArraySync.idl [deleted file]
Source/WebCore/Modules/filesystem/EntryBase.cpp [deleted file]
Source/WebCore/Modules/filesystem/EntryBase.h [deleted file]
Source/WebCore/Modules/filesystem/EntryCallback.h [deleted file]
Source/WebCore/Modules/filesystem/EntryCallback.idl [deleted file]
Source/WebCore/Modules/filesystem/EntrySync.cpp [deleted file]
Source/WebCore/Modules/filesystem/EntrySync.h [deleted file]
Source/WebCore/Modules/filesystem/EntrySync.idl [deleted file]
Source/WebCore/Modules/filesystem/ErrorCallback.h [deleted file]
Source/WebCore/Modules/filesystem/ErrorCallback.idl [deleted file]
Source/WebCore/Modules/filesystem/FileCallback.h [deleted file]
Source/WebCore/Modules/filesystem/FileCallback.idl [deleted file]
Source/WebCore/Modules/filesystem/FileEntry.cpp [deleted file]
Source/WebCore/Modules/filesystem/FileEntry.h [deleted file]
Source/WebCore/Modules/filesystem/FileEntry.idl [deleted file]
Source/WebCore/Modules/filesystem/FileEntrySync.cpp [deleted file]
Source/WebCore/Modules/filesystem/FileEntrySync.h [deleted file]
Source/WebCore/Modules/filesystem/FileEntrySync.idl [deleted file]
Source/WebCore/Modules/filesystem/FileSystemCallback.h [deleted file]
Source/WebCore/Modules/filesystem/FileSystemCallback.idl [deleted file]
Source/WebCore/Modules/filesystem/FileSystemCallbacks.cpp [deleted file]
Source/WebCore/Modules/filesystem/FileSystemCallbacks.h [deleted file]
Source/WebCore/Modules/filesystem/FileSystemFlags.h [deleted file]
Source/WebCore/Modules/filesystem/FileSystemType.h [deleted file]
Source/WebCore/Modules/filesystem/FileWriter.cpp [deleted file]
Source/WebCore/Modules/filesystem/FileWriter.h [deleted file]
Source/WebCore/Modules/filesystem/FileWriter.idl [deleted file]
Source/WebCore/Modules/filesystem/FileWriterBase.cpp [deleted file]
Source/WebCore/Modules/filesystem/FileWriterBase.h [deleted file]
Source/WebCore/Modules/filesystem/FileWriterBaseCallback.h [deleted file]
Source/WebCore/Modules/filesystem/FileWriterCallback.h [deleted file]
Source/WebCore/Modules/filesystem/FileWriterCallback.idl [deleted file]
Source/WebCore/Modules/filesystem/FileWriterSync.cpp [deleted file]
Source/WebCore/Modules/filesystem/FileWriterSync.h [deleted file]
Source/WebCore/Modules/filesystem/FileWriterSync.idl [deleted file]
Source/WebCore/Modules/filesystem/HTMLInputElementFileSystem.cpp [deleted file]
Source/WebCore/Modules/filesystem/HTMLInputElementFileSystem.h [deleted file]
Source/WebCore/Modules/filesystem/HTMLInputElementFileSystem.idl [deleted file]
Source/WebCore/Modules/filesystem/LocalFileSystem.cpp [deleted file]
Source/WebCore/Modules/filesystem/LocalFileSystem.h [deleted file]
Source/WebCore/Modules/filesystem/Metadata.h [deleted file]
Source/WebCore/Modules/filesystem/Metadata.idl [deleted file]
Source/WebCore/Modules/filesystem/MetadataCallback.h [deleted file]
Source/WebCore/Modules/filesystem/MetadataCallback.idl [deleted file]
Source/WebCore/Modules/filesystem/SyncCallbackHelper.h [deleted file]
Source/WebCore/Modules/filesystem/WorkerGlobalScopeFileSystem.cpp [deleted file]
Source/WebCore/Modules/filesystem/WorkerGlobalScopeFileSystem.h [deleted file]
Source/WebCore/Modules/filesystem/WorkerGlobalScopeFileSystem.idl [deleted file]
Source/WebCore/PlatformBlackBerry.cmake
Source/WebCore/Target.pri
Source/WebCore/UseJSC.cmake
Source/WebCore/WebCore.vcxproj/WebCore.vcxproj
Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters
Source/WebCore/WebCore.xcodeproj/project.pbxproj
Source/WebCore/bindings/generic/RuntimeEnabledFeatures.cpp
Source/WebCore/bindings/generic/RuntimeEnabledFeatures.h
Source/WebCore/bindings/js/JSEntryCustom.cpp [deleted file]
Source/WebCore/bindings/js/JSEntrySyncCustom.cpp [deleted file]
Source/WebCore/dom/EventTargetFactory.in
Source/WebCore/fileapi/Blob.cpp
Source/WebCore/fileapi/File.cpp
Source/WebCore/fileapi/File.h
Source/WebCore/fileapi/FileError.idl
Source/WebCore/fileapi/FileException.idl
Source/WebCore/fileapi/WebKitBlobBuilder.cpp
Source/WebCore/html/FileInputType.cpp
Source/WebCore/html/FileInputType.h
Source/WebCore/html/HTMLInputElement.cpp
Source/WebCore/html/HTMLInputElement.h
Source/WebCore/html/InputType.cpp
Source/WebCore/html/InputType.h
Source/WebCore/inspector/CodeGeneratorInspector.py
Source/WebCore/inspector/InspectorController.cpp
Source/WebCore/inspector/InspectorFileSystemAgent.cpp [deleted file]
Source/WebCore/inspector/InspectorFileSystemAgent.h [deleted file]
Source/WebCore/inspector/InspectorFrontendHost.cpp
Source/WebCore/inspector/InspectorFrontendHost.h
Source/WebCore/inspector/InspectorFrontendHost.idl
Source/WebCore/inspector/InstrumentingAgents.cpp
Source/WebCore/inspector/InstrumentingAgents.h
Source/WebCore/page/SecurityOrigin.cpp
Source/WebCore/platform/AsyncFileSystem.cpp [deleted file]
Source/WebCore/platform/AsyncFileSystem.h [deleted file]
Source/WebCore/platform/AsyncFileSystemCallbacks.h [deleted file]
Source/WebCore/platform/DragData.cpp
Source/WebCore/platform/DragData.h
Source/WebCore/platform/FileMetadata.h
Source/WebCore/platform/SchemeRegistry.cpp
Source/WebCore/platform/blackberry/AsyncFileSystemBlackBerry.cpp [deleted file]
Source/WebCore/platform/blackberry/AsyncFileSystemBlackBerry.h [deleted file]
Source/WebCore/platform/blackberry/AsyncFileWriterBlackBerry.cpp [deleted file]
Source/WebCore/platform/blackberry/AsyncFileWriterBlackBerry.h [deleted file]
Source/WebCore/platform/blackberry/DOMFileSystemBlackBerry.cpp [deleted file]
Source/WebCore/platform/blackberry/DragDataBlackBerry.cpp
Source/WebCore/platform/blackberry/LocalFileSystemBlackBerry.cpp [deleted file]
Source/WebCore/platform/blackberry/PlatformAsyncFileSystemCallbacks.cpp [deleted file]
Source/WebCore/platform/blackberry/PlatformAsyncFileSystemCallbacks.h [deleted file]
Source/WebCore/platform/blackberry/PlatformBlob.cpp [deleted file]
Source/WebCore/platform/blackberry/PlatformBlob.h [deleted file]
Source/WebCore/platform/blackberry/PlatformFileWriterClient.cpp [deleted file]
Source/WebCore/platform/blackberry/PlatformFileWriterClient.h [deleted file]
Source/WebCore/platform/blackberry/WorkerAsyncFileSystemBlackBerry.cpp [deleted file]
Source/WebCore/platform/blackberry/WorkerAsyncFileSystemBlackBerry.h [deleted file]
Source/WebCore/platform/blackberry/WorkerAsyncFileWriterBlackBerry.cpp [deleted file]
Source/WebCore/platform/blackberry/WorkerAsyncFileWriterBlackBerry.h [deleted file]
Source/WebCore/platform/blackberry/WorkerPlatformAsyncFileSystemCallbacks.cpp [deleted file]
Source/WebCore/platform/blackberry/WorkerPlatformAsyncFileSystemCallbacks.h [deleted file]
Source/WebCore/platform/blackberry/WorkerPlatformFileWriterClient.cpp [deleted file]
Source/WebCore/platform/blackberry/WorkerPlatformFileWriterClient.h [deleted file]
Source/WebCore/platform/efl/AsyncFileSystemEfl.cpp [deleted file]
Source/WebCore/platform/efl/AsyncFileSystemEfl.h [deleted file]
Source/WebCore/platform/gtk/AsyncFileSystemGtk.cpp [deleted file]
Source/WebCore/platform/gtk/AsyncFileSystemGtk.h [deleted file]
Source/WebCore/platform/network/BlobData.cpp
Source/WebCore/platform/network/BlobData.h
Source/WebCore/platform/network/BlobRegistryImpl.cpp
Source/WebCore/platform/network/FormData.cpp
Source/WebCore/platform/network/FormData.h
Source/WebKit/blackberry/Api/WebPage.cpp
Source/WebKit/blackberry/ChangeLog
Source/WebKit/blackberry/WebCoreSupport/AboutDataEnableFeatures.in
Source/WebKit/efl/ChangeLog
Source/WebKit/efl/ewk/ewk_settings.cpp
Source/WebKit/mac/ChangeLog
Source/WebKit/mac/Configurations/FeatureDefines.xcconfig
Source/WebKit2/ChangeLog
Source/WebKit2/Configurations/FeatureDefines.xcconfig
Source/autotools/SetupWebKitFeatures.m4
Source/cmake/OptionsBlackBerry.cmake
Source/cmake/WebKitFeatures.cmake
Source/cmakeconfig.h.cmake
Tools/ChangeLog
Tools/Scripts/webkitperl/FeatureList.pm
Tools/qmake/mkspecs/features/features.pri

index e6e1b40..6273c72 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2013-09-30  Sam Weinig  <sam@webkit.org>
+
+        Remove support for DOMFileSystem
+        https://bugs.webkit.org/show_bug.cgi?id=122137
+
+        Reviewed by Anders Carlsson.
+
+        * Source/autotools/SetupWebKitFeatures.m4:
+        * Source/cmake/OptionsBlackBerry.cmake:
+        * Source/cmake/WebKitFeatures.cmake:
+        * Source/cmakeconfig.h.cmake:
+
 2013-09-30  Benjamin Poulain  <benjamin@webkit.org>
 
         Remove the code guarded by STYLE_SCOPED
index b53f0ae..e3f0cca 100644 (file)
@@ -1,3 +1,244 @@
+2013-09-30  Sam Weinig  <sam@webkit.org>
+
+        Remove support for DOMFileSystem
+        https://bugs.webkit.org/show_bug.cgi?id=122137
+
+        Reviewed by Anders Carlsson.
+
+        * fast/dom/MutationObserver/filesystem-callback-delivery-expected.txt: Removed.
+        * fast/dom/MutationObserver/filesystem-callback-delivery.html: Removed.
+        * fast/filesystem: Removed.
+        * fast/filesystem/async-operations-expected.txt: Removed.
+        * fast/filesystem/async-operations.html: Removed.
+        * fast/filesystem/cross-filesystem-op-expected.txt: Removed.
+        * fast/filesystem/cross-filesystem-op.html: Removed.
+        * fast/filesystem/directory-entry-to-uri-expected.txt: Removed.
+        * fast/filesystem/directory-entry-to-uri.html: Removed.
+        * fast/filesystem/entry-points-missing-arguments-expected.txt: Removed.
+        * fast/filesystem/entry-points-missing-arguments.html: Removed.
+        * fast/filesystem/file-after-reload-crash-expected.txt: Removed.
+        * fast/filesystem/file-after-reload-crash.html: Removed.
+        * fast/filesystem/file-entry-to-uri-expected.txt: Removed.
+        * fast/filesystem/file-entry-to-uri.html: Removed.
+        * fast/filesystem/file-from-file-entry-expected.txt: Removed.
+        * fast/filesystem/file-from-file-entry.html: Removed.
+        * fast/filesystem/file-metadata-after-write-expected.txt: Removed.
+        * fast/filesystem/file-metadata-after-write.html: Removed.
+        * fast/filesystem/file-writer-abort-continue-expected.txt: Removed.
+        * fast/filesystem/file-writer-abort-continue.html: Removed.
+        * fast/filesystem/file-writer-abort-depth-expected.txt: Removed.
+        * fast/filesystem/file-writer-abort-depth.html: Removed.
+        * fast/filesystem/file-writer-abort-expected.txt: Removed.
+        * fast/filesystem/file-writer-abort.html: Removed.
+        * fast/filesystem/file-writer-empty-blob-expected.txt: Removed.
+        * fast/filesystem/file-writer-empty-blob.html: Removed.
+        * fast/filesystem/file-writer-events-expected.txt: Removed.
+        * fast/filesystem/file-writer-events.html: Removed.
+        * fast/filesystem/file-writer-gc-blob-expected.txt: Removed.
+        * fast/filesystem/file-writer-gc-blob.html: Removed.
+        * fast/filesystem/file-writer-truncate-extend-expected.txt: Removed.
+        * fast/filesystem/file-writer-truncate-extend.html: Removed.
+        * fast/filesystem/file-writer-write-overlapped-expected.txt: Removed.
+        * fast/filesystem/file-writer-write-overlapped.html: Removed.
+        * fast/filesystem/filesystem-missing-arguments-expected.txt: Removed.
+        * fast/filesystem/filesystem-missing-arguments.html: Removed.
+        * fast/filesystem/filesystem-no-callback-null-ptr-crash-expected.txt: Removed.
+        * fast/filesystem/filesystem-no-callback-null-ptr-crash.html: Removed.
+        * fast/filesystem/filesystem-reference-expected.txt: Removed.
+        * fast/filesystem/filesystem-reference.html: Removed.
+        * fast/filesystem/filesystem-unserializable-expected.txt: Removed.
+        * fast/filesystem/filesystem-unserializable.html: Removed.
+        * fast/filesystem/filesystem-uri-origin-expected.txt: Removed.
+        * fast/filesystem/filesystem-uri-origin.html: Removed.
+        * fast/filesystem/flags-passing-expected.txt: Removed.
+        * fast/filesystem/flags-passing.html: Removed.
+        * fast/filesystem/input-access-entries-expected.txt: Removed.
+        * fast/filesystem/input-access-entries.html: Removed.
+        * fast/filesystem/not-enough-arguments-expected.txt: Removed.
+        * fast/filesystem/not-enough-arguments.html: Removed.
+        * fast/filesystem/op-copy-expected.txt: Removed.
+        * fast/filesystem/op-copy.html: Removed.
+        * fast/filesystem/op-get-entry-expected.txt: Removed.
+        * fast/filesystem/op-get-entry.html: Removed.
+        * fast/filesystem/op-get-metadata-expected.txt: Removed.
+        * fast/filesystem/op-get-metadata.html: Removed.
+        * fast/filesystem/op-get-parent-expected.txt: Removed.
+        * fast/filesystem/op-get-parent.html: Removed.
+        * fast/filesystem/op-move-expected.txt: Removed.
+        * fast/filesystem/op-move.html: Removed.
+        * fast/filesystem/op-read-directory-expected.txt: Removed.
+        * fast/filesystem/op-read-directory.html: Removed.
+        * fast/filesystem/op-remove-expected.txt: Removed.
+        * fast/filesystem/op-remove.html: Removed.
+        * fast/filesystem/op-restricted-chars-expected.txt: Removed.
+        * fast/filesystem/op-restricted-chars.html: Removed.
+        * fast/filesystem/op-restricted-names-expected.txt: Removed.
+        * fast/filesystem/op-restricted-names.html: Removed.
+        * fast/filesystem/op-restricted-unicode-expected.txt: Removed.
+        * fast/filesystem/op-restricted-unicode.html: Removed.
+        * fast/filesystem/read-directory-expected.txt: Removed.
+        * fast/filesystem/read-directory.html: Removed.
+        * fast/filesystem/resources: Removed.
+        * fast/filesystem/resources/async-operations.js: Removed.
+        * fast/filesystem/resources/directory-entry-to-uri.js: Removed.
+        * fast/filesystem/resources/file-entry-to-uri-sync.js: Removed.
+        * fast/filesystem/resources/file-entry-to-uri.js: Removed.
+        * fast/filesystem/resources/file-from-file-entry-sync.js: Removed.
+        * fast/filesystem/resources/file-from-file-entry.js: Removed.
+        * fast/filesystem/resources/file-writer-abort-continue.js: Removed.
+        * fast/filesystem/resources/file-writer-abort-depth.js: Removed.
+        * fast/filesystem/resources/file-writer-abort.js: Removed.
+        * fast/filesystem/resources/file-writer-empty-blob.js: Removed.
+        * fast/filesystem/resources/file-writer-events.js: Removed.
+        * fast/filesystem/resources/file-writer-gc-blob.js: Removed.
+        * fast/filesystem/resources/file-writer-sync-truncate-extend.js: Removed.
+        * fast/filesystem/resources/file-writer-sync-write-overlapped.js: Removed.
+        * fast/filesystem/resources/file-writer-truncate-extend.js: Removed.
+        * fast/filesystem/resources/file-writer-utils.js: Removed.
+        * fast/filesystem/resources/file-writer-write-overlapped.js: Removed.
+        * fast/filesystem/resources/fs-test-util.js: Removed.
+        * fast/filesystem/resources/fs-worker-common.js: Removed.
+        * fast/filesystem/resources/op-copy.js: Removed.
+        * fast/filesystem/resources/op-get-entry.js: Removed.
+        * fast/filesystem/resources/op-get-metadata.js: Removed.
+        * fast/filesystem/resources/op-get-parent.js: Removed.
+        * fast/filesystem/resources/op-move.js: Removed.
+        * fast/filesystem/resources/op-read-directory.js: Removed.
+        * fast/filesystem/resources/op-remove.js: Removed.
+        * fast/filesystem/resources/op-restricted-chars.js: Removed.
+        * fast/filesystem/resources/op-restricted-names.js: Removed.
+        * fast/filesystem/resources/op-restricted-unicode.js: Removed.
+        * fast/filesystem/resources/op-tests-helper.js: Removed.
+        * fast/filesystem/resources/shared-worker-stub.js: Removed.
+        * fast/filesystem/resources/simple-persistent-sync.js: Removed.
+        * fast/filesystem/resources/simple-persistent.js: Removed.
+        * fast/filesystem/resources/simple-readonly.js: Removed.
+        * fast/filesystem/resources/simple-required-arguments-getdirectory.js: Removed.
+        * fast/filesystem/resources/simple-required-arguments-getfile.js: Removed.
+        * fast/filesystem/resources/simple-required-arguments-getmetadata.js: Removed.
+        * fast/filesystem/resources/simple-required-arguments-remove.js: Removed.
+        * fast/filesystem/resources/simple-temporary-sync.js: Removed.
+        * fast/filesystem/resources/simple-temporary.js: Removed.
+        * fast/filesystem/resources/sync-operations.js: Removed.
+        * fast/filesystem/script-tests: Removed.
+        * fast/filesystem/script-tests/TEMPLATE.html: Removed.
+        * fast/filesystem/script-tests/filesystem-reference.js: Removed.
+        * fast/filesystem/script-tests/filesystem-unserializable.js: Removed.
+        * fast/filesystem/script-tests/flags-passing.js: Removed.
+        * fast/filesystem/script-tests/read-directory.js: Removed.
+        * fast/filesystem/simple-persistent-expected.txt: Removed.
+        * fast/filesystem/simple-persistent.html: Removed.
+        * fast/filesystem/simple-readonly-expected.txt: Removed.
+        * fast/filesystem/simple-readonly-file-object-expected.txt: Removed.
+        * fast/filesystem/simple-readonly-file-object.html: Removed.
+        * fast/filesystem/simple-readonly.html: Removed.
+        * fast/filesystem/simple-required-arguments-getdirectory-expected.txt: Removed.
+        * fast/filesystem/simple-required-arguments-getdirectory.html: Removed.
+        * fast/filesystem/simple-required-arguments-getfile-expected.txt: Removed.
+        * fast/filesystem/simple-required-arguments-getfile.html: Removed.
+        * fast/filesystem/simple-required-arguments-getmetadata-expected.txt: Removed.
+        * fast/filesystem/simple-required-arguments-getmetadata.html: Removed.
+        * fast/filesystem/simple-required-arguments-remove-expected.txt: Removed.
+        * fast/filesystem/simple-required-arguments-remove.html: Removed.
+        * fast/filesystem/simple-temporary-expected.txt: Removed.
+        * fast/filesystem/simple-temporary.html: Removed.
+        * fast/filesystem/workers: Removed.
+        * fast/filesystem/workers/async-operations-expected.txt: Removed.
+        * fast/filesystem/workers/async-operations.html: Removed.
+        * fast/filesystem/workers/detached-frame-crash-expected.txt: Removed.
+        * fast/filesystem/workers/detached-frame-crash.html: Removed.
+        * fast/filesystem/workers/file-entry-to-uri-sync-expected.txt: Removed.
+        * fast/filesystem/workers/file-entry-to-uri-sync.html: Removed.
+        * fast/filesystem/workers/file-from-file-entry-expected.txt: Removed.
+        * fast/filesystem/workers/file-from-file-entry-sync-expected.txt: Removed.
+        * fast/filesystem/workers/file-from-file-entry-sync.html: Removed.
+        * fast/filesystem/workers/file-from-file-entry.html: Removed.
+        * fast/filesystem/workers/file-writer-empty-blob-expected.txt: Removed.
+        * fast/filesystem/workers/file-writer-empty-blob.html: Removed.
+        * fast/filesystem/workers/file-writer-events-expected.txt: Removed.
+        * fast/filesystem/workers/file-writer-events-shared-worker-expected.txt: Removed.
+        * fast/filesystem/workers/file-writer-events-shared-worker.html: Removed.
+        * fast/filesystem/workers/file-writer-events.html: Removed.
+        * fast/filesystem/workers/file-writer-gc-blob-expected.txt: Removed.
+        * fast/filesystem/workers/file-writer-gc-blob.html: Removed.
+        * fast/filesystem/workers/file-writer-sync-truncate-extend-expected.txt: Removed.
+        * fast/filesystem/workers/file-writer-sync-truncate-extend.html: Removed.
+        * fast/filesystem/workers/file-writer-sync-write-overlapped-expected.txt: Removed.
+        * fast/filesystem/workers/file-writer-sync-write-overlapped.html: Removed.
+        * fast/filesystem/workers/file-writer-truncate-extend-expected.txt: Removed.
+        * fast/filesystem/workers/file-writer-truncate-extend.html: Removed.
+        * fast/filesystem/workers/file-writer-write-overlapped-expected.txt: Removed.
+        * fast/filesystem/workers/file-writer-write-overlapped.html: Removed.
+        * fast/filesystem/workers/resources: Removed.
+        * fast/filesystem/workers/resources/detached-frame-crash-frame.html: Removed.
+        * fast/filesystem/workers/resources/detached-frame-crash-worker.js: Removed.
+        * fast/filesystem/workers/simple-persistent-expected.txt: Removed.
+        * fast/filesystem/workers/simple-persistent-sync-expected.txt: Removed.
+        * fast/filesystem/workers/simple-persistent-sync.html: Removed.
+        * fast/filesystem/workers/simple-persistent.html: Removed.
+        * fast/filesystem/workers/simple-temporary-expected.txt: Removed.
+        * fast/filesystem/workers/simple-temporary-sync-expected.txt: Removed.
+        * fast/filesystem/workers/simple-temporary-sync.html: Removed.
+        * fast/filesystem/workers/simple-temporary.html: Removed.
+        * fast/filesystem/workers/sync-operations-expected.txt: Removed.
+        * fast/filesystem/workers/sync-operations.html: Removed.
+        * fast/forms/file/input-file-entries-expected.txt: Removed.
+        * fast/forms/file/input-file-entries.html: Removed.
+        * http/tests/filesystem: Removed.
+        * http/tests/filesystem/no-cache-filesystem-url-expected.txt: Removed.
+        * http/tests/filesystem/no-cache-filesystem-url.html: Removed.
+        * http/tests/filesystem/resolve-uri-expected.txt: Removed.
+        * http/tests/filesystem/resolve-uri.html: Removed.
+        * http/tests/filesystem/resources: Removed.
+        * http/tests/filesystem/resources/fs-test-util.js: Removed.
+        * http/tests/filesystem/resources/fs-worker-common.js: Removed.
+        * http/tests/filesystem/resources/fs-worker-test-util.js: Removed.
+        * http/tests/filesystem/script-tests: Removed.
+        * http/tests/filesystem/script-tests/TEMPLATE.html: Removed.
+        * http/tests/filesystem/script-tests/resolve-uri.js: Removed.
+        * http/tests/filesystem/workers: Removed.
+        * http/tests/filesystem/workers/resolve-url-expected.txt: Removed.
+        * http/tests/filesystem/workers/resolve-url-sync-expected.txt: Removed.
+        * http/tests/filesystem/workers/resolve-url-sync.html: Removed.
+        * http/tests/filesystem/workers/resolve-url.html: Removed.
+        * http/tests/filesystem/workers/script-tests: Removed.
+        * http/tests/filesystem/workers/script-tests/TEMPLATE.html: Removed.
+        * http/tests/filesystem/workers/script-tests/resolve-url-sync.js: Removed.
+        * http/tests/inspector/filesystem: Removed.
+        * http/tests/inspector/filesystem/delete-entry-expected.txt: Removed.
+        * http/tests/inspector/filesystem/delete-entry.html: Removed.
+        * http/tests/inspector/filesystem/directory-tree-expected.txt: Removed.
+        * http/tests/inspector/filesystem/directory-tree.html: Removed.
+        * http/tests/inspector/filesystem/filesystem-test.js: Removed.
+        * http/tests/inspector/filesystem/request-directory-content-expected.txt: Removed.
+        * http/tests/inspector/filesystem/request-directory-content.html: Removed.
+        * http/tests/inspector/filesystem/request-file-content-expected.txt: Removed.
+        * http/tests/inspector/filesystem/request-file-content.html: Removed.
+        * http/tests/inspector/filesystem/request-filesystem-root-expected.txt: Removed.
+        * http/tests/inspector/filesystem/request-filesystem-root.html: Removed.
+        * http/tests/inspector/filesystem/request-metadata-expected.txt: Removed.
+        * http/tests/inspector/filesystem/request-metadata.html: Removed.
+        * http/tests/security/contentSecurityPolicy/filesystem-urls-match-self-expected.txt: Removed.
+        * http/tests/security/contentSecurityPolicy/filesystem-urls-match-self.html: Removed.
+        * http/tests/security/filesystem-iframe-from-remote-expected.txt: Removed.
+        * http/tests/security/filesystem-iframe-from-remote.html: Removed.
+        * http/tests/security/mixedContent/filesystem-url-in-iframe-expected.txt: Removed.
+        * http/tests/security/mixedContent/filesystem-url-in-iframe.html: Removed.
+        * http/tests/websocket/tests/hybi/send-file-blob-expected.txt: Removed.
+        * http/tests/websocket/tests/hybi/send-file-blob-fail-expected.txt: Removed.
+        * http/tests/websocket/tests/hybi/send-file-blob-fail.html: Removed.
+        * http/tests/websocket/tests/hybi/send-file-blob.html: Removed.
+        * http/tests/workers/resources/sync-operations.js:
+        (onmessage):
+        * http/tests/workers/terminate-during-sync-operation-expected.txt: Removed.
+        * http/tests/workers/terminate-during-sync-operation.html: Removed.
+        * platform/efl/TestExpectations:
+        * platform/gtk/TestExpectations:
+        * platform/mac/TestExpectations:
+        * platform/qt/TestExpectations:
+        * platform/win/TestExpectations:
+        * platform/wincairo/TestExpectations:
+
 2013-09-30  Alexey Proskuryakov  <ap@apple.com>
 
         Remove timeout from shouldBecome* functions in js-test-pre
diff --git a/LayoutTests/fast/dom/MutationObserver/filesystem-callback-delivery-expected.txt b/LayoutTests/fast/dom/MutationObserver/filesystem-callback-delivery-expected.txt
deleted file mode 100644 (file)
index 6249761..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-Test that Mutation Records are delivered following FileSystem callbacks.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS mutations.length is 1
-PASS mutations[0].type is "attributes"
-PASS mutations[0].attributeName is "foo"
-PASS mutations.length is 1
-PASS mutations[0].type is "attributes"
-PASS mutations[0].attributeName is "baz"
-
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/fast/dom/MutationObserver/filesystem-callback-delivery.html b/LayoutTests/fast/dom/MutationObserver/filesystem-callback-delivery.html
deleted file mode 100644 (file)
index f39e129..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-<!DOCTYPE html>
-<script src="../../../resources/js-test-pre.js"></script>
-<script>
-window.jsTestIsAsync = true;
-var mutations;
-
-function testFilesystem() {
-    var div;
-    var fileEntry;
-    var observer;
-
-    function start() {
-        mutations = null;
-        div = document.createElement('div');
-        observer = new MutationObserver(function(m) {
-            mutations = m;
-        });
-
-        observer.observe(div, { attributes: true, characterData: true });
-
-        webkitRequestFileSystem(TEMPORARY, 5*1024*1024, function(fs) {
-            fs.root.getFile('foo.txt', {create: true, excluse: true}, function(entry) {
-                fileEntry = entry;
-                fileEntry.getParent(mutateAfterGetParent);
-            });
-        });
-    }
-
-    function mutateAfterGetParent() {
-        div.setAttribute('foo', 'bar');
-        fileEntry.remove(mutateAfterRemove);
-    }
-
-    function mutateAfterRemove() {
-        shouldBe('mutations.length', '1');
-        shouldBe('mutations[0].type', '"attributes"');
-        shouldBe('mutations[0].attributeName', '"foo"');
-
-        mutations = null;
-        div.setAttribute('baz', 'bat');
-        setTimeout(finish, 0);
-    }
-
-    function finish() {
-        shouldBe('mutations.length', '1');
-        shouldBe('mutations[0].type', '"attributes"');
-        shouldBe('mutations[0].attributeName', '"baz"');
-
-        observer.disconnect();
-        debug('');
-        finishJSTest();
-    }
-
-    start();
-}
-
-description('Test that Mutation Records are delivered following FileSystem callbacks.');
-
-if (!window.webkitRequestFileSystem) {
-    testFailed('This test requires ENABLE(FILE_SYSTEM)');
-    finishJSTest();
-} else
-    testFilesystem();
-</script>
-<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/filesystem/async-operations-expected.txt b/LayoutTests/fast/filesystem/async-operations-expected.txt
deleted file mode 100644 (file)
index 3ec4174..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-Test making multiple async FileSystem operations.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-requested FileSystem.
-Got FileSystem:file__0:Temporary
-Starting async test stage 1.
-Starting async test stage 2.
-Verifying the FileSystem status.
-PASS "/a,/b,/c,/d2,/e,/f" is "/a,/b,/c,/d2,/e,/f"
-PASS dirsCount is 3
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/fast/filesystem/async-operations.html b/LayoutTests/fast/filesystem/async-operations.html
deleted file mode 100644 (file)
index 67be608..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<html>
-<head>
-<script src="../../resources/js-test-pre.js"></script>
-<script src="resources/fs-test-util.js"></script>
-</head>
-<body>
-<script src="resources/async-operations.js"></script>
-<script src="../../resources/js-test-post.js"></script>
-</body>
-</html>
diff --git a/LayoutTests/fast/filesystem/cross-filesystem-op-expected.txt b/LayoutTests/fast/filesystem/cross-filesystem-op-expected.txt
deleted file mode 100644 (file)
index 2f0f148..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-This tests basic cross-filesystem operations.
-Drop files here if you test this manually
-Verifying contents of DataTransferItems...
-PASS: "1" == "1"
-PASS: "file" == "file"
-PASS: "true" == "true"
-Successfully setup test environment.
-file__0:Temporary: reset /test
-Testing copyTo apple.gif: /resources => /test
-PASS: "apple.gif" == "apple.gif"
-PASS: "1476" == "1476"
-Testing copyTo mozilla.gif: /resources => /test
-PASS: "mozilla.gif" == "mozilla.gif"
-PASS: "2593" == "2593"
-Testing copyTo drop-file-svg.svg: /resources => /test
-PASS: "drop-file-svg.svg" == "drop-file-svg.svg"
-PASS: "109" == "109"
-Testing copyTo copy-backslash-euc.html: /resources => /test
-PASS: "copy-backslash-euc.html" == "copy-backslash-euc.html"
-PASS: "478" == "478"
-Testing copyTo test_directory/test.txt: /resources => /test
-PASS: "test.txt" == "test.txt"
-PASS: "13" == "13"
-file__0:Temporary: reset /test
-Testing copyTo mozilla.gif: /resources => /test
-PASS: "mozilla.gif" == "mozilla.gif"
-PASS: "2593" == "2593"
-Testing copyTo drop-file-svg.svg: /resources => /test
-PASS: "drop-file-svg.svg" == "drop-file-svg.svg"
-PASS: "109" == "109"
-Testing copyTo copy-backslash-euc.html: /resources => /test
-PASS: "copy-backslash-euc.html" == "copy-backslash-euc.html"
-PASS: "478" == "478"
-Testing copyTo test_directory/test.txt: /resources => /test
-PASS: "test.txt" == "test.txt"
-PASS: "13" == "13"
-Successfully ran 2 tests.
-Cleanup done.
-
diff --git a/LayoutTests/fast/filesystem/cross-filesystem-op.html b/LayoutTests/fast/filesystem/cross-filesystem-op.html
deleted file mode 100644 (file)
index 962a3ea..0000000
+++ /dev/null
@@ -1,264 +0,0 @@
-<html>
-<body>
-<div>This tests basic cross-filesystem operations.</div>
-
-<div id="destination" style="min-height:100px; border: solid 1px black">Drop files here if you test this manually</div>
-
-<div id="console"></div>
-
-<script>
-var methods = [ 'copyTo', 'moveTo' ];
-var sourceTestDirectory, destTestDirectory;
-
-var destDirectoryPath = '/test';
-var sourceDirectoryPath = '../../editing/pasteboard/resources';
-
-// Actual files in the sourceDirectoryPath.
-var testFiles = [
-    { path:'apple.gif' },
-    { path:'mozilla.gif' },
-    { path:'drop-file-svg.svg' },
-    { path:'copy-backslash-euc.html' },
-    { path:'test_directory', directory:true },
-    { path:'test_directory/test.txt' }
-];
-
-// Note: for now we don't run moveTo test since drag-and-drop isolated
-// filesystem, which we use for source filesystem, is read-only.
-// FIXME: allow writing to PERSISTENT filesystem without quota error in
-// DumpRenderTree so that we can test TEMPORARY <-> PERSISTENT cross operation
-// checks.
-var tests = [
-    testCopyFile,
-    testCopyDirectory,
-];
-
-function log(text)
-{
-    var console = document.getElementById('console');
-    console.appendChild(document.createTextNode(text));
-    console.appendChild(document.createElement('br'));
-}
-
-function test(expect, actual)
-{
-    log((expect == actual ? 'PASS' : 'FAIL') + ': "' + expect + '" == "' + actual + '"');
-}
-
-
-function errorCallback(msg)
-{
-    return function(e) {
-        console.log(e);
-        log('ERROR:' + msg + ': ' + e.code);
-        if (window.testRunner)
-            testRunner.notifyDone();
-    };
-}
-
-function setupDestFileSystem(successCallback) {
-    webkitRequestFileSystem(window.TEMPORARY, 1024, function (fs) {
-        fs.root.getDirectory(
-            destDirectoryPath,
-            {create:true},
-            function (entry) {
-                destTestDirectory = entry;
-                successCallback();
-            },
-            errorCallback('dest: createDirectory(' + destDirectoryPath + ')'));
-    }, errorCallback('dest: requestFileSystem for PERSISTENT'));
-}
-
-function runTests(index, successCallback) {
-    if (index >= tests.length) {
-        successCallback();
-        return;
-    }
-    var next = function() { runTests(index + 1, successCallback); };
-    resetDirectory(destTestDirectory, function() { tests[index](next); });
-}
-
-function testCopyFile(successCallback) {
-    testOnFile(0, 'copyTo', successCallback);
-}
-
-function testCopyDirectory(successCallback) {
-    testOnDirectory(0, 'copyTo', successCallback);
-}
-
-function testOnFile(index, method, successCallback) {
-    if (index >= testFiles.length) {
-        successCallback();
-        return;
-    }
-    var next = function() { testOnFile(index + 1, method, successCallback); };
-    if (testFiles[index].directory) {
-        next();
-        return;
-    }
-    var file = testFiles[index];
-    log('Testing ' + method + ' ' + file.path + ': ' + sourceTestDirectory.fullPath + ' => ' + destTestDirectory.fullPath);
-    sourceTestDirectory.getFile(
-        file.path, {create:false}, function(source) {
-            source[method](destTestDirectory, '', function(dest) {
-                verifyFile(source, dest, next);
-            }, errorCallback('testOnFile: ' + method + ':' + file.path));
-        }, errorCallback('testOnFile: getFile:' + file.path));
-}
-
-function testOnDirectory(index, method, successCallback) {
-    if (index >= testFiles.length) {
-        successCallback();
-        return;
-    }
-    var next = function() { testOnFile(index + 1, method, successCallback); };
-    if (!testFiles[index].directory) {
-        next();
-        return;
-    }
-    var file = testFiles[index];
-    log('Testing ' + method + ' ' + file.path + ': ' + sourceTestDirectory.fullPath + ' => ' + destTestDirectory.fullPath);
-    sourceTestDirectory.getDirectory(
-        file.path, {create:false}, function(source) {
-            source[method](destTestDirectory, '', function(dest) {
-                verifyFile(source, dest, next);
-            }, errorCallback('testOnDirectory: ' + method + ':' + file.path));
-        }, errorCallback('testOnDirectory: getDirectory:' + file.path));
-}
-
-function verifyFile(source, dest, successCallback) {
-    test(source.name, dest.name);
-    source.getMetadata(function(sourceMetadata) {
-        var expectedSize = sourceMetadata.size;
-        dest.getMetadata(function(destMetadata) {
-            test(expectedSize, destMetadata.size);
-            successCallback();
-        }, errorCallback('getMetadata:' + dest.fullPath));
-    }, errorCallback('getMetadata:' + source.fullPath));
-}
-
-function verifyDirectory(source, dest, successCallback) {
-    getDirectoryEntries(source, function(sourceEntries) {
-        getDirectoryEntries(dest, function(destEntries) {
-            sourceEntries.sort();
-            destEntries.sort();
-            test(sourceEntries.length, destEntries.length);
-            var verifyOne = function(index) {
-                verifyFile(sourceEntries[index], destEntries[index], function() {
-                    if (index >= sourceEntries.length) {
-                        successCallback();
-                        return;
-                    }
-                    verifyOne(index + 1);
-                });
-            };
-            verifyOne(0);
-        });
-    });
-}
-
-function getDirectoryEntries(entry, entriesCallback) {
-    var allEntries = [];
-    var addEntries = function(entries, continueCallback) {
-        if (entries.length == 0) {
-            entriesCallback(allEntries);
-            return;
-        }
-        allEntries.concat(entries);
-        if (entries.length != 0) continueCallback();
-    };
-    var entriesCallback = function(entries) {
-        addEntries(entries, successCallback, function() {
-            reader.readDirectory(entriesCallback);
-        });
-    };
-    var reader = entry.createReader();
-    reader.readDirectory(entriesCallback, errorCallback('readDirectory: ' + entry.fullPath));
-}
-
-function cleanupDirectory(directory, successCallback) {
-    directory.removeRecursively(
-        successCallback,
-        errorCallback('removeRecursively:' + directory.fullPath));
-}
-
-function resetDirectory(directory, successCallback) {
-    var fs = directory.filesystem;
-    var path = directory.fullPath;
-    cleanupDirectory(directory, function() {
-        fs.root.getDirectory(path, {create:true},
-                             function () {
-                                log(fs.name + ': reset ' + path);
-                                successCallback();
-                             }, errorCallback('getDirectory(create):' + path));
-    });
-}
-
-function setupFiles(root, index, successCallback)
-{
-    if (index >= testFiles.length) {
-        successCallback();
-        return;
-    }
-    var file = testFiles[index];
-    var msg = 'create testFiles[' + index + ']: ' + file.path;
-    var callback = function(entry) { setupFiles(root, index + 1, successCallback); };
-    if (file.directory) {
-        root.getDirectory(destDirectoryPath + '/' + file.path, {create:true}, callback, errorCallback(msg));
-        return;
-    }
-
-    root.getFile(file.path, {create:true}, function(entry) {
-        entry.createWriter(function (writer) {
-            writer.truncate(file.size);
-            writer.onerror = errorCallback('truncate ' + entry.fullPath);
-            writer.onwriteend = callback;
-        }, errorCallback('create writer for ' + entry.fullPath));
-    }, errorCallback(msg));
-}
-
-function startTest(e) {
-    e.stopPropagation(e);
-    e.preventDefault();
-
-    log('Verifying contents of DataTransferItems...');
-    var items = e.dataTransfer.items;
-    test(1, items.length);
-    test('file', items[0].kind);
-
-    var entry = items[0].webkitGetAsEntry();
-    test(true, entry.isDirectory);
-    sourceTestDirectory = entry;
-    setupDestFileSystem(function() {
-        log('Successfully setup test environment.');
-        runTests(0, function() {
-            log('Successfully ran ' + tests.length + ' tests.');
-            cleanupDirectory(destTestDirectory, function() {
-                log('Cleanup done.');
-                if (window.testRunner)
-                    testRunner.notifyDone();
-            });
-        });
-    });
-}
-
-var destination = document.getElementById('destination');
-destination.addEventListener('dragover', function(e) {
-    e.stopPropagation();
-    e.preventDefault();
-}, false);
-destination.addEventListener('drop', startTest, false);
-
-if (window.testRunner) {
-    testRunner.waitUntilDone();
-    testRunner.dumpAsText();
-
-    eventSender.beginDragWithFiles([sourceDirectoryPath]);
-    eventSender.leapForward(100);
-    eventSender.mouseMoveTo(destination.offsetLeft + 10, destination.offsetTop + destination.offsetHeight / 2);
-    eventSender.mouseUp();
-}
-
-</script>
-</body>
-</html>
diff --git a/LayoutTests/fast/filesystem/directory-entry-to-uri-expected.txt b/LayoutTests/fast/filesystem/directory-entry-to-uri-expected.txt
deleted file mode 100644 (file)
index 693126d..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-Obtaining URL from DirectoryEntry.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS testDirectoryURL is 'filesystem:file:///temporary/testDirectory'
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/fast/filesystem/directory-entry-to-uri.html b/LayoutTests/fast/filesystem/directory-entry-to-uri.html
deleted file mode 100644 (file)
index dfdb8a0..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<html>
-<head>
-<script src="../../resources/js-test-pre.js"></script>
-<script src="resources/fs-test-util.js"></script>
-</head>
-<body>
-<script src="resources/directory-entry-to-uri.js"></script>
-<script src="../../resources/js-test-post.js"></script>
-</body>
-</html>
diff --git a/LayoutTests/fast/filesystem/entry-points-missing-arguments-expected.txt b/LayoutTests/fast/filesystem/entry-points-missing-arguments-expected.txt
deleted file mode 100644 (file)
index 7802fb7..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-Ensures that we get exceptions when we do not include required arguments for webkitRequestFileSystem and webkitResolveLocalFileSystemURL methods.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS webkitResolveLocalFileSystemURL() threw exception TypeError: Not enough arguments.
-PASS webkitResolveLocalFileSystemURL("") threw exception TypeError: Not enough arguments.
-PASS webkitRequestFileSystem() threw exception TypeError: Not enough arguments.
-PASS webkitRequestFileSystem(TEMPORARY) threw exception TypeError: Not enough arguments.
-PASS webkitRequestFileSystem(TEMPORARY, 1) threw exception TypeError: Not enough arguments.
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/fast/filesystem/entry-points-missing-arguments.html b/LayoutTests/fast/filesystem/entry-points-missing-arguments.html
deleted file mode 100644 (file)
index abdded3..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<!DOCTYPE html>
-<script src="../../resources/js-test-pre.js"></script>
-<script>
-description('Ensures that we get exceptions when we do not include required arguments for webkitRequestFileSystem and webkitResolveLocalFileSystemURL methods.');
-
-if (window.webkitResolveLocalFileSystemURL) {
-    var notEnoughArguments = '"TypeError: Not enough arguments"';
-    shouldThrow('webkitResolveLocalFileSystemURL()', notEnoughArguments);
-    shouldThrow('webkitResolveLocalFileSystemURL("")', notEnoughArguments);
-    shouldThrow('webkitRequestFileSystem()', notEnoughArguments);
-    shouldThrow('webkitRequestFileSystem(TEMPORARY)', notEnoughArguments);
-    shouldThrow('webkitRequestFileSystem(TEMPORARY, 1)', notEnoughArguments);
-} else
-    debug("This test requires window.webkitResolveLocalFileSystemURL.");
-</script>
-<script src="../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/filesystem/file-after-reload-crash-expected.txt b/LayoutTests/fast/filesystem/file-after-reload-crash-expected.txt
deleted file mode 100644 (file)
index 7ef22e9..0000000
+++ /dev/null
@@ -1 +0,0 @@
-PASS
diff --git a/LayoutTests/fast/filesystem/file-after-reload-crash.html b/LayoutTests/fast/filesystem/file-after-reload-crash.html
deleted file mode 100644 (file)
index 147a382..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<!DOCTYPE html>
-<meta charset="UTF-8">
-<!-- based on crbug.com/94895#c20
-     http://crbug.com/94895
-     http://webkit.org/b/76461 -->
-<script>
-if (location.search != '?reenter') {
-  if (window.testRunner) {
-    testRunner.dumpAsText();
-    testRunner.waitUntilDone();
-  }
-
-  webkitRequestFileSystem(TEMPORARY, 1024*1024,
-                          gotFS, onError.bind(null, 'requestFileSystem'));
-} else {
-  document.write('PASS');
-
-  if (window.testRunner)
-    testRunner.notifyDone();
-}
-
-function onError(msg, e) {
-  document.body.innerText = 'FAIL: ' + e.code + ' msg = ' + msg;
-  if (window.testRunner)
-    testRunner.notifyDone();
-}
-
-function gotFS(fs) {
-  fs.root.getFile('hoge', {create: true},
-                  gotEntry, onError.bind(null, 'getFile'));
-}
-
-function gotEntry(entry) {
-  // It should not cause a crash that calling FileEntry.file() while the page is unloading.
-  location.search = '?reenter';
-  entry.file(gotFile, onError.bind(null, 'file'));
-}
-
-function gotFile(file) {
-  // Ignore the result of FileEntry.file().
-}
-</script>
diff --git a/LayoutTests/fast/filesystem/file-entry-to-uri-expected.txt b/LayoutTests/fast/filesystem/file-entry-to-uri-expected.txt
deleted file mode 100644 (file)
index c109e6b..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-Obtaining URL from FileEntry.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS testFileURL is 'filesystem:file:///temporary/testFileEntry.txt'
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/fast/filesystem/file-entry-to-uri.html b/LayoutTests/fast/filesystem/file-entry-to-uri.html
deleted file mode 100644 (file)
index 3ccf549..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<html>
-<head>
-<script src="../../resources/js-test-pre.js"></script>
-<script src="resources/fs-test-util.js"></script>
-</head>
-<body>
-<script src="resources/file-entry-to-uri.js"></script>
-<script src="../../resources/js-test-post.js"></script>
-</body>
-</html>
diff --git a/LayoutTests/fast/filesystem/file-from-file-entry-expected.txt b/LayoutTests/fast/filesystem/file-from-file-entry-expected.txt
deleted file mode 100644 (file)
index d2c64cf..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-Obtaining File from FileEntry.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS testFile.name is testFileEntry.name
-PASS testFile.type is 'text/plain'
-PASS testFile.size is 0
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/fast/filesystem/file-from-file-entry.html b/LayoutTests/fast/filesystem/file-from-file-entry.html
deleted file mode 100644 (file)
index 00cf336..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<html>
-<head>
-<script src="../../resources/js-test-pre.js"></script>
-<script src="resources/fs-test-util.js"></script>
-</head>
-<body>
-<script src="resources/file-from-file-entry.js"></script>
-<script src="../../resources/js-test-post.js"></script>
-</body>
-</html>
diff --git a/LayoutTests/fast/filesystem/file-metadata-after-write-expected.txt b/LayoutTests/fast/filesystem/file-metadata-after-write-expected.txt
deleted file mode 100644 (file)
index d6c591a..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-This verifies File.size (for a file from FileSystem API) always returns the fresh size even after the file is modified.
-Writing 1234567890 to the file...
-Created a writer.
-Write succeeded.
-PASS testFile.size is testText1.length
-Writing abcdefghijklmnopqrstuvwxyz to the file...
-Created a writer.
-Write succeeded.
-PASS testFile.size is testText2.length
-
diff --git a/LayoutTests/fast/filesystem/file-metadata-after-write.html b/LayoutTests/fast/filesystem/file-metadata-after-write.html
deleted file mode 100644 (file)
index 43da822..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script src="../../resources/js-test-pre.js"></script>
-</head>
-<body>
-<div>This verifies File.size (for a file from FileSystem API) always returns the fresh size even after the file is modified.</div>
-<div id='console'></div>
-<script>
-
-if (window.testRunner) {
-    testRunner.dumpAsText();
-    testRunner.waitUntilDone();
-}
-
-var fileEntryForCleanup;
-var testFile;
-var testText1 = '1234567890';
-var testText2 = 'abcdefghijklmnopqrstuvwxyz';
-
-webkitRequestFileSystem(
-    window.TEMPORARY, 100, function(fs) {
-        fs.root.getFile('test', {create:true}, function(entry) {
-            fileEntryForCleanup = entry;
-            writeTextToFile(entry, testText1, function() {
-                log('Write succeeded.');
-                entry.file(onWrittenFile.bind(this, entry), onError);
-            });
-        }, onError);
-    }, onError);
-
-function onWrittenFile(entry, file) {
-    testFile = file;
-    shouldBe('testFile.size', 'testText1.length');
-    // Write into this file again.
-    writeTextToFile(entry, testText2, function() {
-        log('Write succeeded.');
-        entry.file(function() {
-            // The file size should be updated.
-            shouldBe('testFile.size', 'testText2.length');
-            cleanup();
-        }, onError);
-    });
-}
-
-function writeTextToFile(entry, contents, successCallback)
-{
-    log('Writing ' + contents + ' to the file...');
-    entry.createWriter(function(writer) {
-        log('Created a writer.');
-        writer.write(new Blob([contents], {type:'plain/text'}));
-        writer.onwriteend = successCallback;
-        writer.onerror = onError;
-    });
-}
-
-function log(text)
-{
-    var console = document.getElementById('console');
-    console.appendChild(document.createTextNode(text));
-    console.appendChild(document.createElement('br'));
-}
-
-function onError(e)
-{
-    log('ERROR: ' + e.code);
-    console.log(e);
-    cleanup();
-}
-
-function cleanup()
-{
-    if (fileEntryForCleanup) {
-        fileEntryForCleanup.remove(endTest, endTest);
-        return;
-    }
-    endTest();
-}
-
-function endTest()
-{
-    if (testRunner)
-        testRunner.notifyDone();
-}
-
-</script>
-</body>
-</html>
diff --git a/LayoutTests/fast/filesystem/file-writer-abort-continue-expected.txt b/LayoutTests/fast/filesystem/file-writer-abort-continue-expected.txt
deleted file mode 100644 (file)
index 562b24e..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-Test that FileWriter can continue immediately after an abort.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-PASS 1100000 is blobSize
-starting test
-PASS Calling write.
-PASS Calling abort
-PASS Saw abort
-PASS writer.length is 0
-PASS Saw writeend 0.
-PASS Calling write.
-PASS writer.length is 1100000
-PASS Saw writeend 1.
-PASS Calling truncate.
-PASS writer.length is 0
-PASS Saw writeend 2.
-PASS Calling write.
-PASS Calling abort at the end of the write
-PASS Saw abort
-PASS writer.length is 1100000
-PASS Saw writeend 3.
-PASS Calling write.
-PASS writer.length is 2200000
-PASS Saw writeend 4.
-PASS Calling truncate.
-PASS writer.length is 0
-PASS Saw writeend 5.
-PASS Calling write.
-PASS Calling abort
-PASS Saw abort
-PASS writer.length is 0
-PASS Saw writeend 6.
-PASS Calling truncate.
-PASS writer.length is 7
-PASS Saw writeend 7.
-PASS All tests complete.
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/fast/filesystem/file-writer-abort-continue.html b/LayoutTests/fast/filesystem/file-writer-abort-continue.html
deleted file mode 100644 (file)
index afa0920..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<!DOCTYPE HTML>
-<html>
- <head>
-    <title>File Writer Abort and Continue</title>
-    <script src="../../resources/js-test-pre.js"></script>
-    <script src="resources/file-writer-utils.js"></script>
- </head>
- <body>
-    <div id="description"></div>
-    <div id="console"></div>
-    <script src="resources/file-writer-abort-continue.js"></script>
-    <script src="../../resources/js-test-post.js"></script>
- </body>
-</html>
-
diff --git a/LayoutTests/fast/filesystem/file-writer-abort-depth-expected.txt b/LayoutTests/fast/filesystem/file-writer-abort-depth-expected.txt
deleted file mode 100644 (file)
index f255a10..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-Test that FileWriter defends against infinite recursion via abort.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-starting test
-PASS Calling write.
-PASS Calling abort
-PASS Saw abort
-PASS Calling write.
-PASS Calling abort
-PASS Saw abort
-PASS Calling write.
-PASS Saw security error
-PASS Saw writeend.
-PASS Saw writeend.
-PASS Calling truncate.
-PASS Calling abort
-PASS Saw abort
-PASS Calling truncate.
-PASS Calling abort
-PASS Saw abort
-PASS Calling truncate.
-PASS Saw security error
-PASS Saw writeend.
-PASS Saw writeend.
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/fast/filesystem/file-writer-abort-depth.html b/LayoutTests/fast/filesystem/file-writer-abort-depth.html
deleted file mode 100644 (file)
index 2b27fe4..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<!DOCTYPE HTML>
-<html>
- <head>
-    <title>File Writer Abort Depth</title>
-    <script src="../../resources/js-test-pre.js"></script>
-    <script src="resources/file-writer-utils.js"></script>
- </head>
- <body>
-    <div id="description"></div>
-    <div id="console"></div>
-    <script src="resources/file-writer-abort-depth.js"></script>
-    <script src="../../resources/js-test-post.js"></script>
- </body>
-</html>
-
diff --git a/LayoutTests/fast/filesystem/file-writer-abort-expected.txt b/LayoutTests/fast/filesystem/file-writer-abort-expected.txt
deleted file mode 100644 (file)
index e39d534..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-Test that FileWriter handles abort properly.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-starting test
-PASS Calling abort
-PASS Saw abort
-PASS Saw writeend.
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/fast/filesystem/file-writer-abort.html b/LayoutTests/fast/filesystem/file-writer-abort.html
deleted file mode 100644 (file)
index 8b65ffb..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<!DOCTYPE HTML>
-<html>
- <head>
-    <title>File Writer Abort</title>
-    <script src="../../resources/js-test-pre.js"></script>
-    <script src="resources/file-writer-utils.js"></script>
- </head>
- <body>
-    <div id="description"></div>
-    <div id="console"></div>
-    <script src="resources/file-writer-abort.js"></script>
-    <script src="../../resources/js-test-post.js"></script>
- </body>
-</html>
-
diff --git a/LayoutTests/fast/filesystem/file-writer-empty-blob-expected.txt b/LayoutTests/fast/filesystem/file-writer-empty-blob-expected.txt
deleted file mode 100644 (file)
index 0920b0b..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-Test that FileWriter works without crash when trying to write an empty blob.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-starting test
-PASS Successfully wrote blob.
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/fast/filesystem/file-writer-empty-blob.html b/LayoutTests/fast/filesystem/file-writer-empty-blob.html
deleted file mode 100644 (file)
index 4b95c08..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<!DOCTYPE HTML>
-<html>
-<head>
-<title>File Writer with empty Blob</title>
-<script src="../../resources/js-test-pre.js"></script>
-<script src="resources/file-writer-utils.js"></script>
-</head>
-<body>
-<div id="description"></div>
-<div id="console"></div>
-<script src="resources/file-writer-empty-blob.js"></script>
-<script src="../../resources/js-test-post.js"></script>
-</body>
-</html>
-
diff --git a/LayoutTests/fast/filesystem/file-writer-events-expected.txt b/LayoutTests/fast/filesystem/file-writer-events-expected.txt
deleted file mode 100644 (file)
index f80288b..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-Test that FileWriter produces proper progress events.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-starting test
-PASS Saw all the right events.
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/fast/filesystem/file-writer-events.html b/LayoutTests/fast/filesystem/file-writer-events.html
deleted file mode 100644 (file)
index 9d9bae9..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<!DOCTYPE HTML>
-<html>
- <head>
-    <title>File Writer Events</title>
-    <script src="../../resources/js-test-pre.js"></script>
-    <script src="resources/file-writer-utils.js"></script>
- </head>
- <body>
-    <div id="description"></div>
-    <div id="console"></div>
-    <script src="resources/file-writer-events.js"></script>
-    <script src="../../resources/js-test-post.js"></script>
- </body>
-</html>
-
diff --git a/LayoutTests/fast/filesystem/file-writer-gc-blob-expected.txt b/LayoutTests/fast/filesystem/file-writer-gc-blob-expected.txt
deleted file mode 100644 (file)
index 5153145..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-Test that a blob won't get garbage-collected while being written out by a FileWriter.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-starting test
-PASS Successfully wrote blob.
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/fast/filesystem/file-writer-gc-blob.html b/LayoutTests/fast/filesystem/file-writer-gc-blob.html
deleted file mode 100644 (file)
index 77624c7..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<!DOCTYPE HTML>
-<html>
- <head>
-    <title>File Writer GC Blob</title>
-    <script src="../../resources/js-test-pre.js"></script>
-    <script src="resources/file-writer-utils.js"></script>
- </head>
- <body>
-    <div id="description"></div>
-    <div id="console"></div>
-    <script src="resources/file-writer-gc-blob.js"></script>
-    <script src="../../resources/js-test-post.js"></script>
- </body>
-</html>
diff --git a/LayoutTests/fast/filesystem/file-writer-truncate-extend-expected.txt b/LayoutTests/fast/filesystem/file-writer-truncate-extend-expected.txt
deleted file mode 100644 (file)
index 2b5a82d..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-Test of extending a file using truncate().
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-starting test
-PASS Truncate extension verified.
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/fast/filesystem/file-writer-truncate-extend.html b/LayoutTests/fast/filesystem/file-writer-truncate-extend.html
deleted file mode 100644 (file)
index a7bb0d0..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<!DOCTYPE HTML>
-<html>
- <head>
-    <title>File Writer Truncate-To-Extend</title>
-    <script src="../../resources/js-test-pre.js"></script>
-    <script src="resources/file-writer-utils.js"></script>
- </head>
- <body>
-    <div id="description"></div>
-    <div id="console"></div>
-    <script src="resources/file-writer-truncate-extend.js"></script>
-    <script src="../../resources/js-test-post.js"></script>
- </body>
-</html>
-
-
diff --git a/LayoutTests/fast/filesystem/file-writer-write-overlapped-expected.txt b/LayoutTests/fast/filesystem/file-writer-write-overlapped-expected.txt
deleted file mode 100644 (file)
index 0bf02db..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-Test using FileWriter.seek to write overlapping existing data in a file.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-starting test
-PASS Negative seek validated.
-PASS Positive seek validated.
-PASS Nonextending write validated.
-PASS All writes verified.
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/fast/filesystem/file-writer-write-overlapped.html b/LayoutTests/fast/filesystem/file-writer-write-overlapped.html
deleted file mode 100644 (file)
index 0f20703..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<!DOCTYPE HTML>
-<html>
- <head>
-    <title>File Writer Write Overlapped</title>
-    <script src="../../resources/js-test-pre.js"></script>
-    <script src="resources/file-writer-utils.js"></script>
- </head>
- <body>
-    <div id="description"></div>
-    <div id="console"></div>
-    <script src="resources/file-writer-write-overlapped.js"></script>
-    <script src="../../resources/js-test-post.js"></script>
- </body>
-</html>
diff --git a/LayoutTests/fast/filesystem/filesystem-missing-arguments-expected.txt b/LayoutTests/fast/filesystem/filesystem-missing-arguments-expected.txt
deleted file mode 100644 (file)
index a8b08be..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-Test how file system methods react to too few arguments.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS webkitRequestFileSystem() threw exception TypeError: Not enough arguments.
-PASS webkitRequestFileSystem(TEMPORARY) threw exception TypeError: Not enough arguments.
-PASS webkitResolveLocalFileSystemURL() threw exception TypeError: Not enough arguments.
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/fast/filesystem/filesystem-missing-arguments.html b/LayoutTests/fast/filesystem/filesystem-missing-arguments.html
deleted file mode 100644 (file)
index 83b1a9f..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<!DOCTYPE HTML>
-<html>
-<head>
-<script src="../../resources/js-test-pre.js"></script>
-</head>
-<body>
-<script>
-description('Test how file system methods react to too few arguments.');
-shouldThrow("webkitRequestFileSystem()");
-shouldThrow("webkitRequestFileSystem(TEMPORARY)");
-shouldThrow("webkitResolveLocalFileSystemURL()");
-</script>
-<script src="../../resources/js-test-post.js"></script>
-</body>
-</html>
diff --git a/LayoutTests/fast/filesystem/filesystem-no-callback-null-ptr-crash-expected.txt b/LayoutTests/fast/filesystem/filesystem-no-callback-null-ptr-crash-expected.txt
deleted file mode 100644 (file)
index 7ef22e9..0000000
+++ /dev/null
@@ -1 +0,0 @@
-PASS
diff --git a/LayoutTests/fast/filesystem/filesystem-no-callback-null-ptr-crash.html b/LayoutTests/fast/filesystem/filesystem-no-callback-null-ptr-crash.html
deleted file mode 100644 (file)
index 78ba6b9..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<!--
-  http://code.google.com/p/chromium/issues/detail?id=63204
-  https://bugs.webkit.org/show_bug.cgi?id=49539
--->
-<div id="log">FAIL</div>
-<script>
-  if (window.testRunner)
-      testRunner.dumpAsText();
-  if (window.webkitRequestFileSystem) {
-      // These two calls should throw an exception but should NOT cause a NULL pointer crash:
-      webkitResolveLocalFileSystemURL('', function() {});
-      try {
-          webkitRequestFileSystem(TEMPORARY, 100);
-      }
-      catch(e) {
-          document.getElementById('log').innerHTML = "PASS";
-      }
-  }
-</script>
diff --git a/LayoutTests/fast/filesystem/filesystem-reference-expected.txt b/LayoutTests/fast/filesystem/filesystem-reference-expected.txt
deleted file mode 100644 (file)
index bdee1bf..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-This tests if Entries returned by callbacks keep functioning even after we lose a reference to the filesystem in the script.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-Running runTest1()...
-Running runTest2()...
-Running runTest3()...
-Running runTest4()...
-PASS testEntries.length is 4
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/fast/filesystem/filesystem-reference.html b/LayoutTests/fast/filesystem/filesystem-reference.html
deleted file mode 100644 (file)
index 4d48695..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<html>
-<head>
-<script src="../../resources/js-test-pre.js"></script>
-<script src="resources/fs-test-util.js"></script>
-</head>
-<body>
-<script src="script-tests/filesystem-reference.js"></script>
-<script src="../../resources/js-test-post.js"></script>
-</body>
-</html>
diff --git a/LayoutTests/fast/filesystem/filesystem-unserializable-expected.txt b/LayoutTests/fast/filesystem/filesystem-unserializable-expected.txt
deleted file mode 100644 (file)
index e615336..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-This tests if the filesystem object is unserializable by default
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-DataCloneError: DOM Exception 25
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/fast/filesystem/filesystem-unserializable.html b/LayoutTests/fast/filesystem/filesystem-unserializable.html
deleted file mode 100644 (file)
index 01ea320..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<html>
-<head>
-<script src="../../resources/js-test-pre.js"></script>
-<script src="resources/fs-test-util.js"></script>
-</head>
-<body>
-<script src="script-tests/filesystem-unserializable.js"></script>
-<script src="../../resources/js-test-post.js"></script>
-</body>
-</html>
diff --git a/LayoutTests/fast/filesystem/filesystem-uri-origin-expected.txt b/LayoutTests/fast/filesystem/filesystem-uri-origin-expected.txt
deleted file mode 100644 (file)
index b8ff3e2..0000000
+++ /dev/null
@@ -1 +0,0 @@
-PASSED: origin was http://www.webkit.org:8080
diff --git a/LayoutTests/fast/filesystem/filesystem-uri-origin.html b/LayoutTests/fast/filesystem/filesystem-uri-origin.html
deleted file mode 100644 (file)
index bc80cbb..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<a style="display:none" href="filesystem:http://www.webkit.org:8080/temporary/a/b/c/file.txt">foo</a>
-<p>This text should not be visible. It should be overwritten by the running of the test.</p>
-<script>
-    if (window.testRunner)
-        testRunner.dumpAsText();
-    var expectedOrigin = 'http://www.webkit.org:8080';
-    var actualOrigin = document.getElementsByTagName('a')[0].origin;
-    var resultElt = document.getElementsByTagName('p')[0];
-    if (actualOrigin == expectedOrigin)
-        resultElt.innerText = 'PASSED: origin was ' + expectedOrigin;
-    else
-        resultElt.innerText = 'FAILED: expected origin: ' + expectedOrigin + ' but got: ' + actualOrigin;
-</script>
diff --git a/LayoutTests/fast/filesystem/flags-passing-expected.txt b/LayoutTests/fast/filesystem/flags-passing-expected.txt
deleted file mode 100644 (file)
index 5674339..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-Passing Flags parameter tests. This test checks if passing Flags parameters to DirectoryEntry.getFile does not crash and works as expected.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-* Passing JSON Flags object.
-* Passing JSON Flags object (with exclusive=true).
-* Passing null as a flags parameter.
-* Passing a number as a flags parameter.
-Caught exception: TypeError: Not an object.
-Finished running tests.
-PASS expectedCallbacksCount is 1
-PASS unexpectedCallbacksCount is 0
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/fast/filesystem/flags-passing.html b/LayoutTests/fast/filesystem/flags-passing.html
deleted file mode 100644 (file)
index 525d210..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<html>
-<head>
-<script src="../../resources/js-test-pre.js"></script>
-<script src="resources/fs-test-util.js"></script>
-</head>
-<body>
-<script src="script-tests/flags-passing.js"></script>
-<script src="../../resources/js-test-post.js"></script>
-</body>
-</html>
diff --git a/LayoutTests/fast/filesystem/input-access-entries-expected.txt b/LayoutTests/fast/filesystem/input-access-entries-expected.txt
deleted file mode 100644 (file)
index 26a4d4b..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-Tests accessing webkitEntries does not crash when input type is not file
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS input.webkitEntries.length is 0
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/fast/filesystem/input-access-entries.html b/LayoutTests/fast/filesystem/input-access-entries.html
deleted file mode 100644 (file)
index 3ac791d..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<!DOCTYPE html>
-<html>
-<body>
-<input name="input" id="input"></input>
-<script src="../../resources/js-test-pre.js"></script>
-<script>
-description('Tests accessing webkitEntries does not crash when input type is not file');
-
-var input = document.getElementById('input');
-shouldEvaluateTo('input.webkitEntries.length', 0);
-
-</script>
-<script src="../../resources/js-test-post.js"></script>
-</body>
-</html>
diff --git a/LayoutTests/fast/filesystem/not-enough-arguments-expected.txt b/LayoutTests/fast/filesystem/not-enough-arguments-expected.txt
deleted file mode 100644 (file)
index 24c2469..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-This test tries calling various filesystem functions with too few arguments.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS webkitResolveLocalFileSystemURL() threw exception TypeError: Not enough arguments.
-PASS webkitRequestFileSystem() threw exception TypeError: Not enough arguments.
-PASS webkitRequestFileSystem(PERSISTENT) threw exception TypeError: Not enough arguments.
-PASS webkitRequestFileSystem(PERSISTENT, 100) threw exception TypeError: Not enough arguments.
-Successfully obtained Persistent FileSystem:file__0:Temporary
-PASS fileSystem.root.removeRecursively() threw exception TypeError: Not enough arguments.
-PASS fileSystem.root.moveTo() threw exception TypeError: Not enough arguments.
-PASS fileSystem.root.copyTo() threw exception TypeError: Not enough arguments.
-PASS reader.readEntries() threw exception TypeError: Not enough arguments.
-PASS entries.item() threw exception TypeError: Not enough arguments.
-PASS entry.createWriter() threw exception TypeError: Not enough arguments.
-PASS entry.file() threw exception TypeError: Not enough arguments.
-PASS writer.write() threw exception TypeError: Not enough arguments.
-PASS writer.seek() threw exception TypeError: Not enough arguments.
-PASS writer.truncate() threw exception TypeError: Not enough arguments.
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/fast/filesystem/not-enough-arguments.html b/LayoutTests/fast/filesystem/not-enough-arguments.html
deleted file mode 100644 (file)
index 2df9e25..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-<html>
-<head>
-<script src="../../resources/js-test-pre.js"></script>
-<script src="resources/fs-test-util.js"></script>
-</head>
-<body>
-<script>
-description('This test tries calling various filesystem functions with too few arguments.');
-
-function errorCallback(error)
-{
-    debug("Error occured:" + error.code);
-    finishJSTest();
-}
-
-function successCallback(fs)
-{
-    fileSystem = fs;
-    debug("Successfully obtained Persistent FileSystem:" + fileSystem.name);
-
-    shouldThrow("fileSystem.root.removeRecursively()");
-    shouldThrow("fileSystem.root.moveTo()");
-    shouldThrow("fileSystem.root.copyTo()");
-    reader = fileSystem.root.createReader();
-    shouldThrow("reader.readEntries()");
-
-    reader.readEntries(function(entries) {
-        window.entries = entries;
-        shouldThrow("entries.item()");
-
-        fileSystem.root.getFile("/test", { create: true }, function(entry) {
-            window.entry = entry;
-            shouldThrow("entry.createWriter()");
-            shouldThrow("entry.file()");
-
-            entry.createWriter(function(writer) {
-                window.writer = writer;
-
-                shouldThrow("writer.write()");
-                shouldThrow("writer.seek()");
-                shouldThrow("writer.truncate()");
-
-                finishJSTest();
-            });
-        });
-    });
-}
-
-if (window.webkitRequestFileSystem) {
-    shouldThrow("webkitResolveLocalFileSystemURL()");
-    shouldThrow("webkitRequestFileSystem()");
-    shouldThrow("webkitRequestFileSystem(PERSISTENT)");
-    shouldThrow("webkitRequestFileSystem(PERSISTENT, 100)");
-    webkitRequestFileSystem(window.TEMPORARY, 100, successCallback, errorCallback);
-    window.jsTestIsAsync = true;
-} else
-    debug("This test requires FileSystem API support.");
-</script>
-<script src="../../resources/js-test-post.js"></script>
-</body>
-</html>
diff --git a/LayoutTests/fast/filesystem/op-copy-expected.txt b/LayoutTests/fast/filesystem/op-copy-expected.txt
deleted file mode 100644 (file)
index fc2aa4e..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-* Running: CopyFileSimple
-PASS Succeeded: "/a/b".copyTo("/a", "c")
-PASS Verified entry: ENTRY {path:/a name:a type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/a/b name:b type:FILE}
-PASS Verified entry: ENTRY {path:/a/c name:c type:FILE}
-* Running: CopyDirectorySimple
-PASS Succeeded: "/a/b".copyTo("/a", "c")
-PASS Verified entry: ENTRY {path:/a name:a type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/a/b name:b type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/a/c name:c type:DIRECTORY}
-* Running: CopyFileToDifferentDirectory
-PASS Succeeded: "/a/b".copyTo("/c", "d")
-PASS Verified entry: ENTRY {path:/a name:a type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/a/b name:b type:FILE}
-PASS Verified entry: ENTRY {path:/c/d name:d type:FILE}
-* Running: CopyFileWithEmptyName
-PASS Succeeded: "/a/b".copyTo("/c", "null")
-PASS Verified entry: ENTRY {path:/a name:a type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/a/b name:b type:FILE}
-PASS Verified entry: ENTRY {path:/c/b name:b type:FILE}
-* Running: CopyFileWithEmptyNameToSameDirectory
-PASS this.expectedErrorCode + "" is "9"
-PASS Verified entry: ENTRY {path:/a name:a type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/a/b name:b type:FILE}
-* Running: CopyFileWithSameName
-PASS this.expectedErrorCode + "" is "9"
-PASS Verified entry: ENTRY {path:/a name:a type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/a/b name:b type:FILE}
-* Running: CopyForNonExistentEntry
-PASS Succeeded: "/a/b".remove()
-PASS this.expectedErrorCode + "" is "1"
-PASS Verified entry: ENTRY {path:/a name:a type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/c name:c type:DIRECTORY}
-* Running: CopyEntryToNonExistentDirectory
-PASS Succeeded: "/c".remove()
-PASS this.expectedErrorCode + "" is "1"
-PASS Verified entry: ENTRY {path:/a name:a type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/a/b name:b type:FILE}
-* Running: CopyEntryToItsChild
-PASS this.expectedErrorCode + "" is "9"
-PASS this.expectedErrorCode + "" is "9"
-PASS Verified entry: ENTRY {path:/a name:a type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/a/b name:b type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/a/b/c name:c type:DIRECTORY}
-* Running: CopyRecursive
-PASS Succeeded: "/a".copyTo("/b", "a")
-PASS Verified entry: ENTRY {path:/a name:a type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/a/b name:b type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/a/b/c name:c type:FILE}
-PASS Verified entry: ENTRY {path:/a/b/d name:d type:FILE}
-PASS Verified entry: ENTRY {path:/b/a name:a type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/b/a/b name:b type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/b/a/b/c name:c type:FILE}
-PASS Verified entry: ENTRY {path:/b/a/b/d name:d type:FILE}
-* Running: OverwritingCopyFileToFile
-PASS Succeeded: "/a".copyTo("/", "b")
-PASS Verified entry: ENTRY {path:/a name:a type:FILE}
-PASS Verified entry: ENTRY {path:/b name:b type:FILE}
-* Running: OverwritingCopyDirectoryToEmptyDirectory
-PASS Succeeded: "/a".copyTo("/", "c")
-PASS Verified entry: ENTRY {path:/a name:a type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/a/b name:b type:FILE}
-PASS Verified entry: ENTRY {path:/c name:c type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/c/b name:b type:FILE}
-* Running: OverwritingCopyFileToDirectory
-PASS this.expectedErrorCode + "" is "9"
-PASS Verified entry: ENTRY {path:/a name:a type:FILE}
-PASS Verified entry: ENTRY {path:/b name:b type:DIRECTORY}
-* Running: OverwritingCopyDirectoryToFile
-PASS this.expectedErrorCode + "" is "9"
-PASS Verified entry: ENTRY {path:/a name:a type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/b name:b type:FILE}
-* Running: OverwritingCopyFileToNonemptyDirectory
-PASS this.expectedErrorCode + "" is "9"
-PASS Verified entry: ENTRY {path:/a name:a type:FILE}
-PASS Verified entry: ENTRY {path:/b name:b type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/b/c name:c type:FILE}
-* Running: OverwritingCopyDirectoryToNonemptyDirectory
-PASS this.expectedErrorCode + "" is "9"
-PASS Verified entry: ENTRY {path:/a name:a type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/a/b name:b type:FILE}
-PASS Verified entry: ENTRY {path:/c name:c type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/c/d name:d type:FILE}
-Finished running tests.
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/fast/filesystem/op-copy.html b/LayoutTests/fast/filesystem/op-copy.html
deleted file mode 100644 (file)
index ace7c63..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<html>
-<head>
-<script src="../../resources/js-test-pre.js"></script>
-<script src="resources/fs-test-util.js"></script>
-</head>
-<body>
-<div id="console"></div>
-<script src="resources/op-copy.js"></script>
-<script src="resources/op-tests-helper.js"></script>
-<script src="../../resources/js-test-post.js"></script>
-</body>
-</html>
diff --git a/LayoutTests/fast/filesystem/op-get-entry-expected.txt b/LayoutTests/fast/filesystem/op-get-entry-expected.txt
deleted file mode 100644 (file)
index ae72a60..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-* Running: CreateSimple
-PASS Succeeded: "/".getDirectory("a")
-PASS Succeeded: "/".getFile("b")
-PASS Verified entry: ENTRY {path:/a name:a type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/b name:b type:FILE}
-* Running: CreateNested
-PASS Succeeded: "/".getDirectory("a")
-PASS Succeeded: "/a".getDirectory("b")
-PASS Succeeded: "/a/b".getDirectory("c")
-PASS Succeeded: "/a/b/c".getDirectory("d")
-PASS Succeeded: "/a/b/c/d".getFile("e")
-PASS Verified entry: ENTRY {path:/a/b/c/d/e name:e type:FILE}
-* Running: CreateNestedWithAbsolutePath
-PASS Succeeded: "/dummy".getDirectory("/a")
-PASS Succeeded: "/dummy".getDirectory("/a/b")
-PASS Succeeded: "/dummy".getDirectory("/a/b/c")
-PASS Succeeded: "/dummy".getDirectory("/a/b/c/d")
-PASS Succeeded: "/dummy".getFile("/a/b/c/d/e")
-PASS Verified entry: ENTRY {path:/dummy name:dummy type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/a/b/c/d/e name:e type:FILE}
-* Running: CreateNestedWithRelativePath
-PASS Succeeded: "/a".getDirectory("./b")
-PASS Succeeded: "/a".getDirectory("./...")
-PASS Succeeded: "/a".getDirectory("../b")
-PASS Succeeded: "/a".getDirectory("../../b/c")
-PASS Succeeded: "/a".getDirectory("/a/../../d")
-PASS Succeeded: "/a".getDirectory("/a/../../b/./c/../../../../../e")
-PASS Succeeded: "/a".getDirectory(".../f")
-PASS this.expectedErrorCode + "" is "1"
-PASS Succeeded: "/a".getFile("./b.txt")
-PASS Succeeded: "/a".getFile("../b.txt")
-PASS Succeeded: "/a".getFile("../../b/c.txt")
-PASS Succeeded: "/a".getFile("/a/../../d.txt")
-PASS Succeeded: "/a".getFile("/a/../../b/./c/../../../../../e.txt")
-PASS Succeeded: "/a".getFile(".../f.txt")
-PASS this.expectedErrorCode + "" is "1"
-PASS Verified entry: ENTRY {path:/a name:a type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/a/b name:b type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/b name:b type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/b/c name:c type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/d name:d type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/e name:e type:DIRECTORY}
-PASS Verified entry does NOT exist: /f
-PASS Verified entry does NOT exist: /a/f
-PASS Verified entry does NOT exist: /g
-PASS Verified entry does NOT exist: /a/g
-PASS Verified entry: ENTRY {path:/a/b.txt name:b.txt type:FILE}
-PASS Verified entry: ENTRY {path:/b.txt name:b.txt type:FILE}
-PASS Verified entry: ENTRY {path:/b/c.txt name:c.txt type:FILE}
-PASS Verified entry: ENTRY {path:/d.txt name:d.txt type:FILE}
-PASS Verified entry: ENTRY {path:/e.txt name:e.txt type:FILE}
-PASS Verified entry does NOT exist: /f.txt
-PASS Verified entry does NOT exist: /a/f.txt
-PASS Verified entry does NOT exist: /g.txt
-PASS Verified entry does NOT exist: /a/g.txt
-* Running: GetExistingEntry
-PASS Succeeded: "/".getDirectory("a")
-PASS Succeeded: "/".getFile("b")
-PASS Succeeded: "/".getDirectory("a")
-PASS this.environment[this.entry.fullPath].fullPath is "/a"
-PASS this.environment[this.entry.fullPath].isFile + "" is "false"
-PASS this.environment[this.entry.fullPath].isDirectory + "" is "true"
-PASS Succeeded: "/".getFile("b")
-PASS this.environment[this.entry.fullPath].fullPath is "/b"
-PASS this.environment[this.entry.fullPath].isFile + "" is "true"
-PASS this.environment[this.entry.fullPath].isDirectory + "" is "false"
-PASS Verified entry: ENTRY {path:/a name:a type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/b name:b type:FILE}
-* Running: GetNonExistent
-PASS this.expectedErrorCode + "" is "1"
-PASS this.expectedErrorCode + "" is "1"
-PASS this.expectedErrorCode + "" is "1"
-PASS this.expectedErrorCode + "" is "1"
-* Running: GetFileForDirectory
-PASS this.expectedErrorCode + "" is "11"
-PASS this.expectedErrorCode + "" is "11"
-PASS Verified entry: ENTRY {path:/a name:a type:DIRECTORY}
-* Running: GetDirectoryForFile
-PASS this.expectedErrorCode + "" is "11"
-PASS this.expectedErrorCode + "" is "11"
-PASS Verified entry: ENTRY {path:/a name:a type:FILE}
-* Running: CreateWithExclusive
-PASS this.expectedErrorCode + "" is "9"
-PASS this.expectedErrorCode + "" is "9"
-PASS Verified entry: ENTRY {path:/a name:a type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/b name:b type:FILE}
-Finished running tests.
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/fast/filesystem/op-get-entry.html b/LayoutTests/fast/filesystem/op-get-entry.html
deleted file mode 100644 (file)
index d694b28..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<html>
-<head>
-<script src="../../resources/js-test-pre.js"></script>
-<script src="resources/fs-test-util.js"></script>
-</head>
-<body>
-<div id="console"></div>
-<script src="resources/op-get-entry.js"></script>
-<script src="resources/op-tests-helper.js"></script>
-<script src="../../resources/js-test-post.js"></script>
-</body>
-</html>
diff --git a/LayoutTests/fast/filesystem/op-get-metadata-expected.txt b/LayoutTests/fast/filesystem/op-get-metadata-expected.txt
deleted file mode 100644 (file)
index 3c764f9..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-* Running: GetMetadata
-PASS Succeeded: "/".getMetadata()
-PASS Succeeded: "/".getDirectory("/a")
-PASS Succeeded: "/a".getMetadata()
-PASS this.environment["/a.returned.modificationTime"] is >= this.roundedStartDate
-PASS Succeeded: "/file1".getMetadata()
-PASS this.environment["/file1.returned.modificationTime"] is >= this.roundedStartDate
-PASS Succeeded: "/file2".getMetadata()
-PASS this.environment["/file2.returned.modificationTime"] is >= this.roundedStartDate
-PASS this.environment["/file2.size"] is this.environment["/file2.returned.size"]
-PASS Succeeded: "/file3".getMetadata()
-PASS this.environment["/file3.returned.modificationTime"] is >= this.roundedStartDate
-PASS this.environment["/file3.size"] is this.environment["/file3.returned.size"]
-PASS Succeeded: "/".getFile("/b")
-PASS Succeeded: "/b".getMetadata()
-PASS this.environment["/b.returned.modificationTime"] is >= this.roundedStartDate
-PASS Succeeded: "/tmp".remove()
-PASS this.expectedErrorCode + "" is "1"
-PASS this.environment["/a.returned.modificationTime"] is >= this.environment["/.returned.modificationTime"]
-PASS this.environment["/b.returned.modificationTime"] is >= this.environment["/.returned.modificationTime"]
-PASS this.environment["/b.returned.modificationTime"] is >= this.environment["/a.returned.modificationTime"]
-Finished running tests.
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/fast/filesystem/op-get-metadata.html b/LayoutTests/fast/filesystem/op-get-metadata.html
deleted file mode 100644 (file)
index 9a3e98a..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<html>
-<head>
-<script src="../../resources/js-test-pre.js"></script>
-<script src="resources/fs-test-util.js"></script>
-</head>
-<body>
-<div id="console"></div>
-<script src="resources/op-get-metadata.js"></script>
-<script src="resources/op-tests-helper.js"></script>
-<script src="../../resources/js-test-post.js"></script>
-</body>
-</html>
-
-
diff --git a/LayoutTests/fast/filesystem/op-get-parent-expected.txt b/LayoutTests/fast/filesystem/op-get-parent-expected.txt
deleted file mode 100644 (file)
index ff9c129..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-* Running: GetParent
-PASS Succeeded: "/".getParent()
-Parent entry: ENTRY {path:/ name: type:DIRECTORY}
-PASS Succeeded: "/a".getParent()
-Parent entry: ENTRY {path:/ name: type:DIRECTORY}
-PASS Succeeded: "/a/b".getParent()
-Parent entry: ENTRY {path:/a name:a type:DIRECTORY}
-PASS Succeeded: "/a/b/c".getParent()
-Parent entry: ENTRY {path:/a/b name:b type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/a name:a type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/a/b name:b type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/a/b/c name:c type:FILE}
-Finished running tests.
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/fast/filesystem/op-get-parent.html b/LayoutTests/fast/filesystem/op-get-parent.html
deleted file mode 100644 (file)
index e2ed437..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<html>
-<head>
-<script src="../../resources/js-test-pre.js"></script>
-<script src="resources/fs-test-util.js"></script>
-</head>
-<body>
-<div id="console"></div>
-<script src="resources/op-get-parent.js"></script>
-<script src="resources/op-tests-helper.js"></script>
-<script src="../../resources/js-test-post.js"></script>
-</body>
-</html>
-
-
diff --git a/LayoutTests/fast/filesystem/op-move-expected.txt b/LayoutTests/fast/filesystem/op-move-expected.txt
deleted file mode 100644 (file)
index 6594210..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-* Running: MoveFileSimple
-PASS Succeeded: "/a/b".moveTo("/a", "c")
-PASS Verified entry: ENTRY {path:/a name:a type:DIRECTORY}
-PASS Verified entry does NOT exist: /a/b
-PASS Verified entry: ENTRY {path:/a/c name:c type:FILE}
-* Running: MoveDirectorySimple
-PASS Succeeded: "/a/b".moveTo("/a", "c")
-PASS Verified entry: ENTRY {path:/a name:a type:DIRECTORY}
-PASS Verified entry does NOT exist: /a/b
-PASS Verified entry: ENTRY {path:/a/c name:c type:DIRECTORY}
-* Running: MoveFileToDifferentDirectory
-PASS Succeeded: "/a/b".moveTo("/c", "d")
-PASS Verified entry: ENTRY {path:/a name:a type:DIRECTORY}
-PASS Verified entry does NOT exist: /a/b
-PASS Verified entry: ENTRY {path:/c/d name:d type:FILE}
-* Running: MoveFileWithEmptyName
-PASS Succeeded: "/a/b".moveTo("/c", "null")
-PASS Verified entry: ENTRY {path:/a name:a type:DIRECTORY}
-PASS Verified entry does NOT exist: /a/b
-PASS Verified entry: ENTRY {path:/c/b name:b type:FILE}
-* Running: MoveFileWithEmptyNameToSameDirectory
-PASS this.expectedErrorCode + "" is "9"
-PASS Verified entry: ENTRY {path:/a name:a type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/a/b name:b type:FILE}
-* Running: MoveFileWithSameName
-PASS this.expectedErrorCode + "" is "9"
-PASS Verified entry: ENTRY {path:/a name:a type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/a/b name:b type:FILE}
-* Running: MoveForNonExistentEntry
-PASS Succeeded: "/a/b".remove()
-PASS this.expectedErrorCode + "" is "1"
-PASS Verified entry: ENTRY {path:/a name:a type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/c name:c type:DIRECTORY}
-* Running: MoveEntryToNonExistentDirectory
-PASS Succeeded: "/c".remove()
-PASS this.expectedErrorCode + "" is "1"
-PASS Verified entry: ENTRY {path:/a name:a type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/a/b name:b type:FILE}
-* Running: MoveEntryToItsChild
-PASS this.expectedErrorCode + "" is "9"
-PASS this.expectedErrorCode + "" is "9"
-PASS Verified entry: ENTRY {path:/a name:a type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/a/b name:b type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/a/b/c name:c type:DIRECTORY}
-* Running: MoveRecursive
-PASS Succeeded: "/a".moveTo("/b", "a")
-PASS Verified entry does NOT exist: /a
-PASS Verified entry: ENTRY {path:/b/a name:a type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/b/a/b name:b type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/b/a/b/c name:c type:FILE}
-PASS Verified entry: ENTRY {path:/b/a/b/d name:d type:FILE}
-* Running: OverwritingMoveFileToFile
-PASS Succeeded: "/a".moveTo("/", "b")
-PASS Verified entry: ENTRY {path:/b name:b type:FILE}
-* Running: OverwritingMoveDirectoryToEmptyDirectory
-PASS Succeeded: "/a".moveTo("/", "c")
-PASS Verified entry: ENTRY {path:/c name:c type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/c/b name:b type:FILE}
-PASS Verified entry does NOT exist: /a
-* Running: OverwritingMoveFileToDirectory
-PASS this.expectedErrorCode + "" is "9"
-PASS Verified entry: ENTRY {path:/a name:a type:FILE}
-PASS Verified entry: ENTRY {path:/b name:b type:DIRECTORY}
-* Running: OverwritingMoveDirectoryToFile
-PASS this.expectedErrorCode + "" is "9"
-PASS Verified entry: ENTRY {path:/a name:a type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/b name:b type:FILE}
-* Running: OverwritingMoveFileToNonemptyDirectory
-PASS this.expectedErrorCode + "" is "9"
-PASS Verified entry: ENTRY {path:/a name:a type:FILE}
-PASS Verified entry: ENTRY {path:/b name:b type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/b/c name:c type:FILE}
-* Running: OverwritingMoveDirectoryToNonemptyDirectory
-PASS this.expectedErrorCode + "" is "9"
-PASS Verified entry: ENTRY {path:/a name:a type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/a/b name:b type:FILE}
-PASS Verified entry: ENTRY {path:/c name:c type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/c/d name:d type:FILE}
-Finished running tests.
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/fast/filesystem/op-move.html b/LayoutTests/fast/filesystem/op-move.html
deleted file mode 100644 (file)
index 005abcd..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<html>
-<head>
-<script src="../../resources/js-test-pre.js"></script>
-<script src="resources/fs-test-util.js"></script>
-</head>
-<body>
-<div id="console"></div>
-<script src="resources/op-move.js"></script>
-<script src="resources/op-tests-helper.js"></script>
-<script src="../../resources/js-test-post.js"></script>
-</body>
-</html>
diff --git a/LayoutTests/fast/filesystem/op-read-directory-expected.txt b/LayoutTests/fast/filesystem/op-read-directory-expected.txt
deleted file mode 100644 (file)
index f1f043c..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-* Running: ReadDirectory
-PASS Succeeded: "/".createReader().readEntries()
-Entries: [ENTRY {path:/a name:a type:DIRECTORY},
- ENTRY {path:/b name:b type:DIRECTORY},
- ENTRY {path:/c name:c type:FILE},
- ENTRY {path:/d name:d type:FILE},
- ENTRY {path:/e name:e type:DIRECTORY},
- ENTRY {path:/f name:f type:FILE},
- ENTRY {path:/g name:g type:DIRECTORY}]
-PASS Succeeded: "/c".remove()
-PASS Succeeded: "/e".remove()
-PASS Succeeded: "/f".remove()
-PASS Succeeded: "/".createReader().readEntries()
-Entries: [ENTRY {path:/a name:a type:DIRECTORY},
- ENTRY {path:/b name:b type:DIRECTORY},
- ENTRY {path:/d name:d type:FILE},
- ENTRY {path:/g name:g type:DIRECTORY}]
-Finished running tests.
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/fast/filesystem/op-read-directory.html b/LayoutTests/fast/filesystem/op-read-directory.html
deleted file mode 100644 (file)
index 78c4318..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<html>
-<head>
-<script src="../../resources/js-test-pre.js"></script>
-<script src="resources/fs-test-util.js"></script>
-</head>
-<body>
-<div id="console"></div>
-<script src="resources/op-read-directory.js"></script>
-<script src="resources/op-tests-helper.js"></script>
-<script src="../../resources/js-test-post.js"></script>
-</body>
-</html>
diff --git a/LayoutTests/fast/filesystem/op-remove-expected.txt b/LayoutTests/fast/filesystem/op-remove-expected.txt
deleted file mode 100644 (file)
index 82af44c..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-* Running: RemoveSimple
-PASS Succeeded: "/a".remove()
-PASS Succeeded: "/b".remove()
-PASS this.expectedErrorCode + "" is "9"
-PASS Verified entry does NOT exist: /a
-PASS Verified entry does NOT exist: /b
-* Running: RemoveNonRecursiveWithChildren
-PASS this.expectedErrorCode + "" is "9"
-PASS Verified entry: ENTRY {path:/a name:a type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/a/b name:b type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/a/c name:c type:FILE}
-* Running: RemoveRecursiveWithoutChildren
-PASS Succeeded: "/a".removeRecursively()
-PASS Verified entry does NOT exist: /a
-* Running: RemoveRecursiveWithChildren
-PASS Succeeded: "/a".removeRecursively()
-PASS this.expectedErrorCode + "" is "9"
-PASS Verified entry does NOT exist: /a
-Finished running tests.
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/fast/filesystem/op-remove.html b/LayoutTests/fast/filesystem/op-remove.html
deleted file mode 100644 (file)
index 3bf8db9..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<html>
-<head>
-<script src="../../resources/js-test-pre.js"></script>
-<script src="resources/fs-test-util.js"></script>
-</head>
-<body>
-<div id="console"></div>
-<script src="resources/op-remove.js"></script>
-<script src="resources/op-tests-helper.js"></script>
-<script src="../../resources/js-test-post.js"></script>
-</body>
-</html>
-
diff --git a/LayoutTests/fast/filesystem/op-restricted-chars-expected.txt b/LayoutTests/fast/filesystem/op-restricted-chars-expected.txt
deleted file mode 100644 (file)
index 2449446..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-* Running: RestrictedChars
-PASS Succeeded: "/".getFile("a<b")
-PASS Succeeded: "/".getFile("a>b")
-PASS Succeeded: "/".getFile("a:b")
-PASS Succeeded: "/".getFile("a?b")
-PASS Succeeded: "/".getFile("a*b")
-PASS Succeeded: "/".getFile("a"b")
-PASS Succeeded: "/".getFile("a|b")
-PASS Succeeded: "/".getFile("<ab")
-PASS Succeeded: "/".getFile(":ab")
-PASS Succeeded: "/".getFile("?ab")
-PASS Succeeded: "/".getFile("*ab")
-PASS Succeeded: "/".getFile(""ab")
-PASS Succeeded: "/".getFile("|ab")
-PASS Succeeded: "/".getFile("ab<")
-PASS Succeeded: "/".getFile("ab:")
-PASS Succeeded: "/".getFile("ab?")
-PASS Succeeded: "/".getFile("ab*")
-PASS Succeeded: "/".getFile("ab"")
-PASS Succeeded: "/".getFile("ab|")
-PASS this.expectedErrorCode + "" is "9"
-PASS Succeeded: "/ab".copyTo("/", " a<b")
-PASS Succeeded: "/ab".copyTo("/", " a:b")
-PASS Succeeded: "/ab".copyTo("/", " a?b")
-PASS Succeeded: "/ab".copyTo("/", " a*b")
-PASS Succeeded: "/ab".copyTo("/", " a"b")
-PASS Succeeded: "/ab".copyTo("/", " a|b")
-PASS this.expectedErrorCode + "" is "9"
-PASS this.expectedErrorCode + "" is "9"
-PASS Verified entry: ENTRY {path:/ab name:ab type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/a<b name:a<b type:FILE}
-PASS Verified entry: ENTRY {path:/ a|b name: a|b type:DIRECTORY}
-Finished running tests.
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/fast/filesystem/op-restricted-chars.html b/LayoutTests/fast/filesystem/op-restricted-chars.html
deleted file mode 100644 (file)
index 4e445fe..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<html>
-<head>
-<script src="../../resources/js-test-pre.js"></script>
-<script src="resources/fs-test-util.js"></script>
-</head>
-<body>
-<div id="console"></div>
-<script src="resources/op-restricted-chars.js"></script>
-<script src="resources/op-tests-helper.js"></script>
-<script src="../../resources/js-test-post.js"></script>
-</body>
-</html>
diff --git a/LayoutTests/fast/filesystem/op-restricted-names-expected.txt b/LayoutTests/fast/filesystem/op-restricted-names-expected.txt
deleted file mode 100644 (file)
index 89bd2d5..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-* Running: RestrictedNames
-PASS this.expectedErrorCode + "" is "2"
-PASS this.expectedErrorCode + "" is "2"
-PASS Succeeded: "/".getFile("con")
-PASS Succeeded: "/".getFile("CON")
-PASS Succeeded: "/".getFile("Con")
-PASS Succeeded: "/".getFile("cOn.txt")
-PASS Succeeded: "/".getFile("a/coN")
-PASS Succeeded: "/".getFile("prn")
-PASS Succeeded: "/".getFile("PRN")
-PASS Succeeded: "/".getFile("Prn")
-PASS Succeeded: "/".getFile("pRn.txt")
-PASS Succeeded: "/".getFile("a/prN")
-PASS Succeeded: "/".getFile("aux")
-PASS Succeeded: "/".getFile("AUX")
-PASS Succeeded: "/".getFile("Aux")
-PASS Succeeded: "/".getFile("aUx.txt")
-PASS Succeeded: "/".getFile("a/auX")
-PASS Succeeded: "/".getFile("nul")
-PASS Succeeded: "/".getFile("NUL")
-PASS Succeeded: "/".getFile("Nul")
-PASS Succeeded: "/".getFile("nUl.txt")
-PASS Succeeded: "/".getFile("a/nuL")
-PASS Succeeded: "/".getFile("com1")
-PASS Succeeded: "/".getFile("COM2")
-PASS Succeeded: "/".getFile("Com4")
-PASS Succeeded: "/".getFile("cOM7.foo")
-PASS Succeeded: "/".getFile("a/coM9")
-PASS Succeeded: "/".getFile("lpt1")
-PASS Succeeded: "/".getFile("LPT2")
-PASS Succeeded: "/".getFile("Lpt4")
-PASS Succeeded: "/".getFile("lPT7.foo")
-PASS Succeeded: "/".getFile("a/lpT9")
-PASS Succeeded: "/".getFile("foo ")
-PASS Succeeded: "/".getFile("foo
-")
-PASS Succeeded: "/".getFile("foo.")
-PASS Succeeded: "/a".copyTo("/", "foo  ")
-PASS Succeeded: "/a".copyTo("/", "foo  ")
-PASS Succeeded: "/a".copyTo("/", "foo..")
-PASS Succeeded: "/a".moveTo("/", "foo    ")
-PASS Succeeded: "/b".moveTo("/", "foo          ")
-PASS Succeeded: "/c".moveTo("/", "foo.....")
-PASS Verified entry: ENTRY {path:/foo     name:foo     type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/foo           name:foo                type:DIRECTORY}
-PASS Verified entry: ENTRY {path:/foo..... name:foo..... type:DIRECTORY}
-Finished running tests.
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/fast/filesystem/op-restricted-names.html b/LayoutTests/fast/filesystem/op-restricted-names.html
deleted file mode 100644 (file)
index 75dd343..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<html>
-<head>
-<script src="../../resources/js-test-pre.js"></script>
-<script src="resources/fs-test-util.js"></script>
-</head>
-<body>
-<div id="console"></div>
-<script src="resources/op-restricted-names.js"></script>
-<script src="resources/op-tests-helper.js"></script>
-<script src="../../resources/js-test-post.js"></script>
-</body>
-</html>
diff --git a/LayoutTests/fast/filesystem/op-restricted-unicode-expected.txt b/LayoutTests/fast/filesystem/op-restricted-unicode-expected.txt
deleted file mode 100644 (file)
index 8cbc0a2..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-* Running: RestrictedUnicodeChars
-PASS Succeeded: "/".getFile("ab")
-PASS this.expectedErrorCode + "" is "9"
-PASS Succeeded: "/".getFile("a\ 1b")
-PASS Succeeded: "/".getFile("a\ 2b")
-PASS Succeeded: "/".getFile("a\ 3b")
-PASS Succeeded: "/".getFile("a\ 4b")
-PASS Succeeded: "/".getFile("a\ 5b")
-PASS Succeeded: "/".getFile("a\ 6b")
-PASS Succeeded: "/".getFile("a\ab")
-PASS Succeeded: "/".getFile("a\bb")
-PASS Succeeded: "/".getFile("a b")
-PASS Succeeded: "/".getFile("a
-b")
-PASS Succeeded: "/".getFile("a\vb")
-PASS Succeeded: "/".getFile("a\fb")
-PASS Succeeded: "/".getFile("a
-b")
-PASS Succeeded: "/".getFile("a\ eb")
-PASS Succeeded: "/".getFile("a\ fb")
-PASS Succeeded: "/".getFile("a\10b")
-PASS Succeeded: "/".getFile("a\11b")
-PASS Succeeded: "/".getFile("a\12b")
-PASS Succeeded: "/".getFile("a\13b")
-PASS Succeeded: "/".getFile("a\14b")
-PASS Succeeded: "/".getFile("a\15b")
-PASS Succeeded: "/".getFile("a\16b")
-PASS Succeeded: "/".getFile("a\17b")
-PASS Succeeded: "/".getFile("a\18b")
-PASS Succeeded: "/".getFile("a\19b")
-PASS Succeeded: "/".getFile("a\1ab")
-PASS Succeeded: "/".getFile("a\eb")
-PASS Succeeded: "/".getFile("a\1cb")
-PASS Succeeded: "/".getFile("a\1db")
-PASS Succeeded: "/".getFile("a\1eb")
-PASS Verified entry: ENTRY {path:/ab name:ab type:FILE}
-Finished running tests.
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/fast/filesystem/op-restricted-unicode.html b/LayoutTests/fast/filesystem/op-restricted-unicode.html
deleted file mode 100644 (file)
index a3d6611..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<html>
-<head>
-<script src="../../resources/js-test-pre.js"></script>
-<script src="resources/fs-test-util.js"></script>
-</head>
-<body>
-<div id="console"></div>
-<script src="resources/op-restricted-unicode.js"></script>
-<script src="resources/op-tests-helper.js"></script>
-<script src="../../resources/js-test-post.js"></script>
-</body>
-</html>
diff --git a/LayoutTests/fast/filesystem/read-directory-expected.txt b/LayoutTests/fast/filesystem/read-directory-expected.txt
deleted file mode 100644 (file)
index 92d1487..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-DirectoryReader.readEntries() test.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-Successfully obtained Persistent FileSystem:file__0:Temporary
-PASS readEntriesCount is entriesCallbackCount
-PASS resultEntries.length is testEntriesCount
-Entry:/a isDirectory:true
-PASS testEntries[entry.fullPath] is entry.isDirectory
-Entry:/b isDirectory:false
-PASS testEntries[entry.fullPath] is entry.isDirectory
-Entry:/c isDirectory:true
-PASS testEntries[entry.fullPath] is entry.isDirectory
-Entry:/d isDirectory:false
-PASS testEntries[entry.fullPath] is entry.isDirectory
-Entry:/e isDirectory:false
-PASS testEntries[entry.fullPath] is entry.isDirectory
-Entry:/f isDirectory:true
-PASS testEntries[entry.fullPath] is entry.isDirectory
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/fast/filesystem/read-directory.html b/LayoutTests/fast/filesystem/read-directory.html
deleted file mode 100644 (file)
index db843f3..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<html>
-<head>
-<script src="../../resources/js-test-pre.js"></script>
-<script src="resources/fs-test-util.js"></script>
-</head>
-<body>
-<script src="script-tests/read-directory.js"></script>
-<script src="../../resources/js-test-post.js"></script>
-</body>
-</html>
diff --git a/LayoutTests/fast/filesystem/resources/async-operations.js b/LayoutTests/fast/filesystem/resources/async-operations.js
deleted file mode 100644 (file)
index 062bf6b..0000000
+++ /dev/null
@@ -1,106 +0,0 @@
-if (this.importScripts) {
-    importScripts('../resources/fs-worker-common.js');
-    importScripts('../../../resources/js-test-pre.js');
-    importScripts('../resources/fs-test-util.js');
-}
-
-description("Test making multiple async FileSystem operations.");
-
-var fileSystem = null;
-
-var a;
-var b;
-var c;
-var d;
-
-var paths = [];
-var dirsCount = 0;
-var reader = null;
-
-function errorCallback(error) {
-    debug("Got error: " + error.code);
-    removeAllInDirectory(fileSystem.root);
-    finishJSTest();
-}
-
-function entriesCallback(entries) {
-    for (var i = 0; i < entries.length; ++i) {
-        paths.push(entries[i].fullPath);
-        if (entries[i].isDirectory)
-            dirsCount++;
-    }
-    if (!entries.length) {
-        reader.readEntries(entriesCallback, errorCallback);
-    } else {
-        paths.sort();
-        shouldBe('"' + paths.join(',') + '"', '"/a,/b,/c,/d2,/e,/f"');
-        shouldBe("dirsCount", "3");
-        removeAllInDirectory(fileSystem.root);
-        finishJSTest();
-    }
-}
-
-function verify() {
-    debug("Verifying the FileSystem status.");
-    reader = fileSystem.root.createReader();
-    reader.readEntries(entriesCallback, errorCallback);
-}
-
-function asyncTest2() {
-    debug("Starting async test stage 2.");
-
-    var helper = new JoinHelper();
-    var done = function() { helper.done(); };
-
-    helper.run(function() { a.copyTo(b, 'tmp', done, errorCallback); });
-    helper.run(function() { a.getMetadata(done, errorCallback); });
-    helper.run(function() { b.getParent(done, errorCallback); });
-    helper.run(function() { c.copyTo(fileSystem.root, 'f', done, errorCallback); });
-    helper.run(function() { d.moveTo(fileSystem.root, 'd2', done, errorCallback); });
-    helper.run(function() { fileSystem.root.getFile('e', {create:true}, done, errorCallback); });
-
-    helper.join(verify);
-}
-
-function asyncTest1() {
-    debug("Starting async test stage 1.");
-
-    var helper = new JoinHelper();
-    var root = fileSystem.root;
-
-    helper.run(function() { root.getFile('a', {create:true}, function(entry) {
-        a = entry;
-        helper.done();
-    }, errorCallback); });
-
-    helper.run(function() { root.getDirectory('b', {create:true}, function(entry) {
-        b = entry;
-        helper.done();
-    }, errorCallback); });
-
-    helper.run(function() { root.getDirectory('c', {create:true}, function(entry) {
-        c = entry;
-        helper.done();
-    }, errorCallback); });
-
-    helper.run(function() { root.getFile('d', {create:true}, function(entry) {
-        d = entry;
-        helper.done();
-    }, errorCallback); });
-
-    helper.join(asyncTest2);
-}
-
-if (this.webkitRequestFileSystem) {
-    jsTestIsAsync = true;
-    var helper = new JoinHelper();
-    helper.run(function() {
-    webkitRequestFileSystem.apply(this, [this.TEMPORARY, 100, function(fs) {
-        debug("Got FileSystem:" + fs.name);
-        fileSystem = fs;
-        removeAllInDirectory(fileSystem.root, function(){ helper.done(); }, errorCallback);
-    }, errorCallback]); });
-    debug("requested FileSystem.");
-    helper.join(asyncTest1);
-} else
-    debug("This test requires FileSystem API support.");
diff --git a/LayoutTests/fast/filesystem/resources/directory-entry-to-uri.js b/LayoutTests/fast/filesystem/resources/directory-entry-to-uri.js
deleted file mode 100644 (file)
index 3249ede..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-if (this.importScripts) {
-    importScripts('fs-worker-common.js');
-    importScripts('../../../resources/js-test-pre.js');
-    importScripts('fs-test-util.js');
-}
-
-description("Obtaining URL from DirectoryEntry.");
-
-var fileSystem = null;
-var testDirectoryName = 'testDirectory';
-var testDirectoryURI = null;
-
-function errorCallback(error) {
-    testFailed("Error occured:" + error.code);
-    finishJSTest();
-}
-
-function entryToURL(entry) {
-    testDirectoryURL = entry.toURL();
-    shouldBe("testDirectoryURL", "'filesystem:file:///temporary/testDirectory'");
-    finishJSTest();
-}
-
-function createTestDirectory() {
-    fileSystem.root.getDirectory(testDirectoryName, {create:true}, entryToURL, errorCallback);
-}
-
-function fileSystemCallback(fs) {
-    fileSystem = fs;
-    removeAllInDirectory(fileSystem.root, createTestDirectory, errorCallback);
-}
-
-var jsTestIsAsync = true;
-webkitRequestFileSystem(TEMPORARY, 100, fileSystemCallback, errorCallback);
diff --git a/LayoutTests/fast/filesystem/resources/file-entry-to-uri-sync.js b/LayoutTests/fast/filesystem/resources/file-entry-to-uri-sync.js
deleted file mode 100644 (file)
index 142bb49..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-importScripts('fs-worker-common.js');
-importScripts('../../../resources/js-test-pre.js');
-
-description("Obtaining URL from FileEntry.");
-
-var fileSystem = webkitRequestFileSystemSync(TEMPORARY, 100);
-removeAllInDirectorySync(fileSystem.root);
-
-var testFileName = 'testFileEntry.txt';
-var testFileEntry = fileSystem.root.getFile(testFileName, {create:true});
-
-shouldBe("testFileEntry.toURL()", "'filesystem:file:///temporary/testFileEntry.txt'");
-
-removeAllInDirectorySync(fileSystem.root);
-finishJSTest();
diff --git a/LayoutTests/fast/filesystem/resources/file-entry-to-uri.js b/LayoutTests/fast/filesystem/resources/file-entry-to-uri.js
deleted file mode 100644 (file)
index cca549a..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-if (this.importScripts) {
-    importScripts('fs-worker-common.js');
-    importScripts('../../../resources/js-test-pre.js');
-    importScripts('fs-test-util.js');
-}
-
-description("Obtaining URL from FileEntry.");
-
-var fileSystem = null;
-var testFileName = 'testFileEntry.txt';
-var testFileURI = null;
-
-function errorCallback(error) {
-    testFailed("Error occured:" + error.code);
-    finishJSTest();
-}
-
-function entryToURL(entry) {
-    testFileURL = entry.toURL();
-    shouldBe("testFileURL", "'filesystem:file:///temporary/testFileEntry.txt'");
-    finishJSTest();
-}
-
-function createTestFile() {
-    fileSystem.root.getFile(testFileName, {create:true}, entryToURL, errorCallback);
-}
-
-function fileSystemCallback(fs) {
-    fileSystem = fs;
-    removeAllInDirectory(fileSystem.root, createTestFile, errorCallback);
-}
-
-var jsTestIsAsync = true;
-webkitRequestFileSystem(TEMPORARY, 100, fileSystemCallback, errorCallback);
diff --git a/LayoutTests/fast/filesystem/resources/file-from-file-entry-sync.js b/LayoutTests/fast/filesystem/resources/file-from-file-entry-sync.js
deleted file mode 100644 (file)
index c1bf558..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-// FIXME: move this under workers/resources
-importScripts('fs-worker-common.js');
-importScripts('../../../resources/js-test-pre.js');
-
-description("Obtaining File from FileEntrySync.");
-
-var fileSystem = webkitRequestFileSystemSync(this.TEMPORARY, 100);
-removeAllInDirectorySync(fileSystem.root);
-
-var testFileName = '/testFileEntry.txt';
-
-var testFileEntry = fileSystem.root.getFile(testFileName, {create:true});
-var testFile = testFileEntry.file();
-
-shouldBe("testFile.name", "testFileEntry.name");
-shouldBe("testFile.type", "'text/plain'");
-shouldBe("testFile.size", "0");
-
-removeAllInDirectorySync(fileSystem.root);
-finishJSTest();
diff --git a/LayoutTests/fast/filesystem/resources/file-from-file-entry.js b/LayoutTests/fast/filesystem/resources/file-from-file-entry.js
deleted file mode 100644 (file)
index fda9f6e..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-if (this.importScripts) {
-    importScripts('fs-worker-common.js');
-    importScripts('../../../resources/js-test-pre.js');
-    importScripts('fs-test-util.js');
-}
-
-description("Obtaining File from FileEntry.");
-
-var fileSystem = null;
-var testFileName = '/testFileEntry.txt';
-var testFileEntry = null;
-var testFile = null;
-
-function errorCallback(error) {
-    testFailed("Error occured:" + error.code);
-    finishJSTest();
-}
-
-function fileCallback(file) {
-    testFile = file;
-    shouldBe("testFile.name", "testFileEntry.name");
-    shouldBe("testFile.type", "'text/plain'");
-    shouldBe("testFile.size", "0");
-    finishJSTest();
-}
-
-function getFileFromEntry(entry) {
-    testFileEntry = entry;
-    entry.file(fileCallback, errorCallback);
-}
-
-function createTestFile() {
-    fileSystem.root.getFile(testFileName, {create:true}, getFileFromEntry, errorCallback);
-}
-
-function fileSystemCallback(fs) {
-    fileSystem = fs;
-    removeAllInDirectory(fileSystem.root, createTestFile, errorCallback);
-}
-
-var jsTestIsAsync = true;
-webkitRequestFileSystem(TEMPORARY, 100, fileSystemCallback, errorCallback);
diff --git a/LayoutTests/fast/filesystem/resources/file-writer-abort-continue.js b/LayoutTests/fast/filesystem/resources/file-writer-abort-continue.js
deleted file mode 100644 (file)
index a951ebd..0000000
+++ /dev/null
@@ -1,188 +0,0 @@
-if (this.importScripts) {
-    importScripts('fs-worker-common.js');
-    importScripts('../../../resources/js-test-pre.js');
-    importScripts('file-writer-utils.js');
-}
-
-description("Test that FileWriter can continue immediately after an abort.");
-
-var sawWriteStart;
-var sawAbort;
-var sawWriteEnd;
-var writer;
-var expectedLength;
-var truncateLength;
-var blobSize = 1100000;
-var currentTest = 0;
-var blob = getBlob();
-
-// fileSystemOverhead is an estimate of extra size needed to save a full file
-// system, it need to be large enough to avoid test failure due to file system
-// quota limit.
-var fileSystemOverhead = blobSize * 5 / 1000 + 1024;
-var fileSystemSize = blobSize * 2 + fileSystemOverhead;
-
-var methodSet = [
-  {  // Setup method set that writes, then aborts that write before completion.
-    action : startWrite,
-    verifyLength : 0,
-    onwritestart : abortWrite,
-    onprogress : nop,
-    onwrite : onError,
-    onabort : logAbort,
-    onwriteend : checkLengthAndStartNextTest
-  },
-  {  // Method set that does a complete write.
-    action : startWrite,
-    verifyLength : blobSize,
-    onwritestart : nop,
-    onprogress : nop,
-    onwrite : nop,
-    onabort : onError,
-    onwriteend : checkLengthAndStartNextTest
-  },
-  { // Method set that does a complete truncate, just to clean up.
-    action : startTruncate,
-    truncateLength : 0,
-    verifyLength : 0,
-    onwritestart : nop,
-    onprogress : nop,
-    onwrite : nop,
-    onabort : onError,
-    onwriteend : checkLengthAndStartNextTest
-  },
-  {  // Setup method set that writes, then aborts that write just at completion.
-    action : startWrite,
-    verifyLength : blobSize,
-    onwritestart : nop,
-    onprogress : abortOnComplete,
-    onwrite : nop,
-    onabort : logAbort,
-    onwriteend : checkLengthAndStartNextTest
-  },
-  {  // Method set that does a complete write.
-    action : startWrite,
-    verifyLength : blobSize * 2, // Add in leftovers from previous method.
-    onwritestart : nop,
-    onprogress : nop,
-    onwrite : nop,
-    onabort : onError,
-    onwriteend : checkLengthAndStartNextTest
-  },
-  { // Method set that does a complete truncate, just to clean up.
-    action : startTruncate,
-    truncateLength : 0,
-    verifyLength : 0,
-    onwritestart : nop,
-    onprogress : nop,
-    onwrite : nop,
-    onabort : onError,
-    onwriteend : checkLengthAndStartNextTest
-  },
-  {  // Setup method set that writes, then aborts that write as it starts.
-    action : startWrite,
-    verifyLength : 0,
-    onwritestart : abortWrite,
-    onprogress : nop,
-    onwrite : onError,
-    onabort : logAbort,
-    onwriteend : checkLengthAndStartNextTest
-  },
-  { // Method set that does a complete truncate.
-    action : startTruncate,
-    truncateLength : 7,
-    verifyLength : 7,
-    onwritestart : nop,
-    onprogress : nop,
-    onwrite : nop,
-    onabort : onError,
-    onwriteend : checkLengthAndStartNextTest
-  }
-];
-
-function nop() {
-}
-
-function tenXBlob(blob) {
-    var bb = [];
-    for (var i = 0; i < 10; ++i) {
-        bb.push(blob);
-    }
-    return new Blob(bb);
-}
-
-function getBlob() {
-    // Let's make it about a megabyte.
-    var blob = tenXBlob(new Blob(["lorem ipsum"]));
-    blob = tenXBlob(blob);
-    blob = tenXBlob(blob);
-    blob = tenXBlob(blob);
-    blob = tenXBlob(blob);
-    var size = blob.size;
-    shouldBe("" + size, "blobSize");
-    return blob;
-}
-
-function abortWrite(e) {
-    testPassed("Calling abort");
-    writer.abort();
-}
-
-function abortOnComplete(e) {
-    if (e.loaded == e.total) {
-        testPassed("Calling abort at the end of the write");
-        writer.abort();
-    }
-}
-
-function logAbort(e) {
-    testPassed("Saw abort");
-}
-
-function checkLengthAndStartNextTest(e) {
-    shouldBe("writer.length", "" + expectedLength);
-    testPassed("Saw writeend " + currentTest + ".");
-    ++currentTest;
-    if (currentTest < methodSet.length)
-        runTest();
-    else {
-        testPassed("All tests complete.");
-        cleanUp();
-    }
-}
-
-function startWrite() {
-    testPassed("Calling write.");
-    writer.write(blob);
-}
-
-function startTruncate() {
-    testPassed("Calling truncate.");
-    writer.truncate(truncateLength);
-}
-
-function setupWriter(methodSetIndex, writer) {
-    writer.onerror = onError;
-
-    var methods = methodSet[methodSetIndex];
-    writer.onabort = methods.onabort;
-    writer.onwritestart = methods.onwritestart;
-    writer.onprogress = methods.onprogress;
-    writer.onwrite = methods.onwrite;
-    writer.onwriteend = methods.onwriteend;
-    expectedLength = methods.verifyLength;
-    truncateLength = methods.truncateLength;
-    methods.action();
-}
-
-function runTest() {
-    setupWriter(currentTest, writer);
-}
-
-var jsTestIsAsync = true;
-setupAndRunTest(fileSystemSize, 'file-writer-abort',
-                function (fileEntry, fileWriter) {
-                    fileEntryForCleanup = fileEntry;
-                    writer = fileWriter;
-                    runTest();
-                });
diff --git a/LayoutTests/fast/filesystem/resources/file-writer-abort-depth.js b/LayoutTests/fast/filesystem/resources/file-writer-abort-depth.js
deleted file mode 100644 (file)
index 7809dbf..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-if (this.importScripts) {
-    importScripts('fs-worker-common.js');
-    importScripts('../../../resources/js-test-pre.js');
-    importScripts('file-writer-utils.js');
-}
-
-description("Test that FileWriter defends against infinite recursion via abort.");
-
-var sawWriteStart;
-var sawAbort;
-var sawWriteEnd;
-var writer;
-var blob = new Blob(["lorem ipsum"]);
-var recursionDepth = 0;
-var method;
-var testsRun = 0;
-
-function onWriteStart(e) {
-    testPassed("Calling abort");
-    ++recursionDepth;
-    writer.abort();
-}
-
-// We should always abort before completion.
-function onWrite(e) {
-    testFailed("In onWrite.");
-}
-
-function onAbort(e) {
-    testPassed("Saw abort");
-    try {
-      method();
-    } catch (ex) {
-      assert(ex.code == 2);  // Security error
-      testPassed("Saw security error");
-    }
-}
-
-function onWriteEnd(e) {
-    --recursionDepth;
-    testPassed("Saw writeend.");
-    if (!recursionDepth) {
-        ++testsRun;
-        if (testsRun == 1) {
-            method = function() {
-                testPassed("Calling truncate.");
-                writer.truncate(7);
-            }
-            setTimeout(method, 0);  // Invoke from the top level, so that we're not already in a handler.
-        } else {
-            cleanUp();
-        }
-    }
-}
-
-function runTest(unusedFileEntry, fileWriter) {
-    writer = fileWriter;
-    method = function () {
-        testPassed("Calling write.");
-        writer.write(blob);
-    }
-    fileWriter.onerror = onError;
-    fileWriter.onabort = onAbort;
-    fileWriter.onwritestart = onWriteStart;
-    fileWriter.onwrite = onWrite;
-    fileWriter.onwriteend = onWriteEnd;
-    method();
-}
-
-var jsTestIsAsync = true;
-setupAndRunTest(2*1024*1024, 'file-writer-abort-depth', runTest);
diff --git a/LayoutTests/fast/filesystem/resources/file-writer-abort.js b/LayoutTests/fast/filesystem/resources/file-writer-abort.js
deleted file mode 100644 (file)
index 82c27d4..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-if (this.importScripts) {
-    importScripts('fs-worker-common.js');
-    importScripts('../../../resources/js-test-pre.js');
-    importScripts('file-writer-utils.js');
-}
-
-description("Test that FileWriter handles abort properly.");
-
-var sawWriteStart;
-var sawAbort;
-var sawWriteEnd;
-var writer;
-
-function tenXBlob(blob) {
-    var bb = [];
-    for (var i = 0; i < 10; ++i) {
-        bb.push(blob);
-    }
-    return new Blob(bb);
-}
-
-function onWriteStart(e) {
-    assert(writer);
-    assert(writer.readyState == writer.WRITING);
-    assert(e.type == "writestart");
-    assert(!sawWriteStart);
-    assert(!sawWriteEnd);
-    assert(!e.loaded);
-    sawWriteStart = true;
-    testPassed("Calling abort");
-    writer.abort();
-}
-
-// We should always abort before completion.
-function onWrite(e) {
-    testFailed("In onWrite.");
-}
-
-function onAbort(e) {
-    assert(writer.readyState == writer.DONE);
-    assert(writer.error.code == writer.error.ABORT_ERR);
-    assert(sawWriteStart);
-    assert(!sawWriteEnd);
-    assert(!sawAbort);
-    assert(e.type == "abort");
-    sawAbort = true;
-    testPassed("Saw abort");
-}
-
-function onWriteEnd(e) {
-    assert(writer.readyState == writer.DONE);
-    assert(writer.error.code == writer.error.ABORT_ERR);
-    assert(sawWriteStart);
-    assert(sawAbort);
-    assert(!sawWriteEnd);
-    assert(e.type == "writeend");
-    sawWriteEnd = true;
-    testPassed("Saw writeend.");
-    writer.abort();  // Verify that this does nothing in readyState DONE.
-    cleanUp();
-}
-
-function startWrite(fileWriter) {
-    // Let's make it about a megabyte.
-    var blob = tenXBlob(new Blob(["lorem ipsum"]));
-    blob = tenXBlob(blob);
-    blob = tenXBlob(blob);
-    blob = tenXBlob(blob);
-    blob = tenXBlob(blob);
-    writer = fileWriter;
-    fileWriter.onerror = onError;
-    fileWriter.onabort = onAbort;
-    fileWriter.onwritestart = onWriteStart;
-    fileWriter.onwrite = onWrite;
-    fileWriter.onwriteend = onWriteEnd;
-    fileWriter.abort();  // Verify that this does nothing in readyState INIT.
-    fileWriter.write(blob);
-}
-
-function runTest(unusedFileEntry, fileWriter) {
-    startWrite(fileWriter);
-}
-var jsTestIsAsync = true;
-setupAndRunTest(2*1024*1024, 'file-writer-abort', runTest);
diff --git a/LayoutTests/fast/filesystem/resources/file-writer-empty-blob.js b/LayoutTests/fast/filesystem/resources/file-writer-empty-blob.js
deleted file mode 100644 (file)
index 13534ba..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-if (this.importScripts) {
-    importScripts('fs-worker-common.js');
-    importScripts('../../../resources/js-test-pre.js');
-    importScripts('file-writer-utils.js');
-}
-
-description("Test that FileWriter works without crash when trying to write an empty blob.");
-
-var fileEntry;
-
-function onTestSuccess() {
-    testPassed("Successfully wrote blob.");
-    cleanUp();
-}
-
-function startWrite(writer) {
-    var blob = new Blob([""]);
-    writer.onerror = onError;
-    writer.onwriteend = onTestSuccess;
-    writer.write(blob);
-}
-
-function runTest(unusedFileEntry, fileWriter) {
-    startWrite(fileWriter);
-    gc();
-}
-var jsTestIsAsync = true;
-setupAndRunTest(2 * 1024 * 1024, 'file-writer-empty-blob', runTest);
-
diff --git a/LayoutTests/fast/filesystem/resources/file-writer-events.js b/LayoutTests/fast/filesystem/resources/file-writer-events.js
deleted file mode 100644 (file)
index 6201a41..0000000
+++ /dev/null
@@ -1,104 +0,0 @@
-if (this.importScripts) {
-    importScripts('fs-worker-common.js');
-    if (!('description' in self))  // Shared workers will already have imported this, and importing twice would break it.
-        importScripts('../../../resources/js-test-pre.js');
-    importScripts('file-writer-utils.js');
-}
-
-description("Test that FileWriter produces proper progress events.");
-
-var fileEntry;
-var sawWriteStart;
-var sawWrite;
-var sawWriteEnd;
-var sawProgress;
-var writer;
-var lastProgress = 0;
-var toBeWritten;
-
-function tenXBlob(blob) {
-    var bb = [];
-    for (var i = 0; i < 10; ++i) {
-        bb.push(blob);
-    }
-    return new Blob(bb);
-}
-
-function onWriteStart(e) {
-    assert(writer);
-    assert(writer.readyState == writer.WRITING);
-    assert(e.type == "writestart");
-    assert(!sawWriteStart);
-    assert(!sawProgress);
-    assert(!sawWrite);
-    assert(!sawWriteEnd);
-    assert(!e.loaded);
-    assert(e.total == toBeWritten);
-    sawWriteStart = true;
-}
-
-function onProgress(e) {
-    assert(writer.readyState == writer.WRITING);
-    assert(sawWriteStart);
-    assert(!sawWrite);
-    assert(!sawWriteEnd);
-    assert(e.type == "progress");
-    assert(e.loaded <= e.total);
-    assert(lastProgress < e.loaded);
-    assert(e.total == toBeWritten);
-    lastProgress = e.loaded;
-    sawProgress = true;
-}
-
-function onWrite(e) {
-    assert(writer.readyState == writer.DONE);
-    assert(sawWriteStart);
-    assert(sawProgress);
-    assert(lastProgress == e.total);
-    assert(!sawWrite);
-    assert(!sawWriteEnd);
-    assert(e.type == "write");
-    assert(e.loaded == e.total);
-    assert(e.total == toBeWritten);
-    sawWrite = true;
-}
-
-function onWriteEnd(e) {
-    assert(writer.readyState == writer.DONE);
-    assert(sawWriteStart);
-    assert(sawProgress);
-    assert(sawWrite);
-    assert(!sawWriteEnd);
-    assert(e.type == "writeend");
-    assert(e.loaded == e.total);
-    assert(e.total == toBeWritten);
-    sawWriteEnd = true;
-    testPassed("Saw all the right events.");
-    cleanUp();
-}
-
-function startWrite(fileWriter) {
-    // Let's make it about a megabyte.
-    var blob = tenXBlob(new Blob(["lorem ipsum"]));
-    blob = tenXBlob(blob);
-    blob = tenXBlob(blob);
-    blob = tenXBlob(blob);
-    blob = tenXBlob(blob);
-    toBeWritten = blob.size;
-    writer = fileWriter;
-    fileWriter.onerror = onError;
-    fileWriter.onwritestart = onWriteStart;
-    fileWriter.onprogress = onProgress;
-    fileWriter.onwrite = onWrite;
-    fileWriter.onwriteend = onWriteEnd;
-    fileWriter.write(blob);
-}
-
-function runTest(unusedFileEntry, fileWriter) {
-    assert(typeof fileWriter.addEventListener === 'function');
-    assert(typeof fileWriter.removeEventListener === 'function');
-    assert(typeof fileWriter.dispatchEvent === 'function');
-    startWrite(fileWriter);
-}
-var jsTestIsAsync = true;
-setupAndRunTest(2*1024*1024, 'file-writer-events', runTest);
diff --git a/LayoutTests/fast/filesystem/resources/file-writer-gc-blob.js b/LayoutTests/fast/filesystem/resources/file-writer-gc-blob.js
deleted file mode 100644 (file)
index 9a0b406..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-if (this.importScripts) {
-    importScripts('fs-worker-common.js');
-    importScripts('../../../resources/js-test-pre.js');
-    importScripts('file-writer-utils.js');
-}
-
-description("Test that a blob won't get garbage-collected while being written out by a FileWriter.");
-
-var fileEntry;
-
-function onTestSuccess() {
-    testPassed("Successfully wrote blob.");
-    cleanUp();
-}
-
-function tenXBlob(blob) {
-    var bb = [];
-    for (var i = 0; i < 10; ++i) {
-        bb.push(blob);
-    }
-    return new Blob(bb);
-}
-
-function startWrite(writer) {
-    // Let's make it about a megabyte.
-    var blob = tenXBlob(new Blob(["lorem ipsum"]));
-    blob = tenXBlob(blob);
-    blob = tenXBlob(blob);
-    blob = tenXBlob(blob);
-    blob = tenXBlob(blob);
-    writer.onerror = onError;
-    writer.onwriteend = onTestSuccess;
-    writer.write(blob);
-}
-
-function runTest(unusedFileEntry, fileWriter) {
-    startWrite(fileWriter);
-    gc();
-}
-var jsTestIsAsync = true;
-setupAndRunTest(2*1024*1024, 'file-writer-gc-blob', runTest);
diff --git a/LayoutTests/fast/filesystem/resources/file-writer-sync-truncate-extend.js b/LayoutTests/fast/filesystem/resources/file-writer-sync-truncate-extend.js
deleted file mode 100644 (file)
index 8a6cd08..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-if (this.importScripts) {
-    importScripts('../resources/fs-worker-common.js');
-    importScripts('../../../resources/js-test-pre.js');
-    importScripts('../resources/fs-test-util.js');
-    importScripts('../resources/file-writer-utils.js');
-}
-
-description("Test using FileWriterSync.truncate to extend a file.");
-
-// Start with an empty FileSystem.
-var fileSystem = webkitRequestFileSystemSync(this.TEMPORARY, 100);
-removeAllInDirectorySync(fileSystem.root);
-
-// Prepare a file with sample contents.
-var entry = fileSystem.root.getFile('a', {create:true, exclusive:true});
-var writer = entry.createWriter();
-assert(!writer.position);
-var testData = "test data";
-writer.write(new Blob([testData]));
-assert(writer.length == testData.length);
-assert(writer.position == writer.length);
-
-// Extend the file via truncate.
-var extensionLength = 10;
-writer.truncate(writer.length + extensionLength);
-
-// Verify the contents.
-assert(writer.length == testData.length + extensionLength);
-assert(writer.position == testData.length);
-var file = entry.file();
-var reader = new FileReaderSync();
-var contents = reader.readAsBinaryString(file);
-var i;
-for (i = 0; i < testData.length; ++i)
-    assert(contents.charCodeAt(i) == testData.charCodeAt(i));
-for (; i < writer.length; ++i)
-    assert(!contents.charCodeAt(i));
-
-testPassed("Truncate extension verified.");
-finishJSTest();
diff --git a/LayoutTests/fast/filesystem/resources/file-writer-sync-write-overlapped.js b/LayoutTests/fast/filesystem/resources/file-writer-sync-write-overlapped.js
deleted file mode 100644 (file)
index 17c3c0e..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-if (this.importScripts) {
-    importScripts('../resources/fs-worker-common.js');
-    importScripts('../../../resources/js-test-pre.js');
-    importScripts('../resources/fs-test-util.js');
-    importScripts('../resources/file-writer-utils.js');
-}
-
-description("Test using FileWriterSync.seek to write overlapping existing data in a file.");
-
-// Start with an empty FileSystem.
-var fileSystem = webkitRequestFileSystemSync(this.TEMPORARY, 100);
-removeAllInDirectorySync(fileSystem.root);
-
-// Prepare a file with sample contents.
-var entry = fileSystem.root.getFile('a', {create:true, exclusive:true});
-var writer = entry.createWriter();
-assert(!writer.position);
-var testData = "test data";
-var blob = new Blob([testData]);
-writer.write(blob);
-assert(writer.length == testData.length);
-assert(writer.position == writer.length);
-
-// Seek back to from the end, then overwrite, extending the file.
-var extensionOffset = -4;
-writer.seek(extensionOffset);
-writer.write(blob);
-
-// Verify the contents.
-assert(writer.length == 2 * testData.length + extensionOffset);
-assert(writer.position == writer.length);
-var file = entry.file();
-var reader = new FileReaderSync();
-var contents = reader.readAsBinaryString(file);
-var i;
-for (i = 0; i < testData.length + extensionOffset; ++i)
-    assert(contents.charCodeAt(i) == testData.charCodeAt(i));
-var j;
-for (j = 0; i < writer.length; ++i, ++j)
-    assert(contents.charCodeAt(i) == testData.charCodeAt(j));
-testPassed("Overlapped write 1 verified.");
-
-// Truncate back to empty and reset the contents.
-writer.truncate(0);
-assert(!writer.position);
-assert(!writer.length);
-writer.write(blob);
-assert(writer.length == testData.length);
-assert(writer.position == writer.length);
-
-// Seek forward from the beginning, then overwrite, extending the file.
-extensionOffset = 4;
-writer.seek(extensionOffset);
-writer.write(blob);
-assert(writer.length == testData.length + extensionOffset);
-assert(writer.position == writer.length);
-
-// Verify the contents.
-contents = reader.readAsBinaryString(file);
-for (i = 0; i < extensionOffset; ++i)
-    assert(contents.charCodeAt(i) == testData.charCodeAt(i));
-for (j = 0; i < writer.length; ++i, ++j)
-    assert(contents.charCodeAt(i) == testData.charCodeAt(j));
-testPassed("Overlapped write 2 verified.");
-
-// Truncate back to empty and reset the contents.
-writer.truncate(0);
-assert(!writer.position);
-assert(!writer.length);
-writer.write(blob);
-writer.write(blob);
-assert(writer.length == 2 * testData.length);
-assert(writer.position == writer.length);
-
-// Seek forward from the beginning, then overwrite in the middle of the file.
-extensionOffset = 4;
-writer.seek(extensionOffset);
-writer.write(blob);
-assert(writer.length == 2 * testData.length);
-assert(writer.position == testData.length + extensionOffset);
-
-// Verify the contents.
-contents = reader.readAsBinaryString(file);
-for (i = 0; i < extensionOffset; ++i)
-    assert(contents.charCodeAt(i) == testData.charCodeAt(i));
-for (j = 0; i < testData.length + extensionOffset; ++i, ++j)
-    assert(contents.charCodeAt(i) == testData.charCodeAt(j));
-for (j = extensionOffset; i < writer.length; ++i, ++j)
-    assert(contents.charCodeAt(i) == testData.charCodeAt(j));
-testPassed("Overlapped write 3 verified.");
-finishJSTest();
diff --git a/LayoutTests/fast/filesystem/resources/file-writer-truncate-extend.js b/LayoutTests/fast/filesystem/resources/file-writer-truncate-extend.js
deleted file mode 100644 (file)
index fa29552..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-if (this.importScripts) {
-    importScripts('fs-worker-common.js');
-    importScripts('../../../resources/js-test-pre.js');
-    importScripts('file-writer-utils.js');
-}
-
-description("Test of extending a file using truncate().");
-
-function onTestSucceeded()
-{
-    testPassed("Truncate extension verified.");
-    cleanUp();
-}
-
-function truncateToExtend(fileEntry, fileWriter, contents, onSuccess)
-{
-    var extension = 5;
-    var lengthChecker = function() {
-        verifyFileLength(fileEntry, contents.length + extension, onSuccess);
-    };
-    var extensionChecker = function() {
-        verifyByteRangeIsZeroes(fileEntry, contents.length, extension, lengthChecker);
-    };
-    fileWriter.onwrite = function() {
-        verifyByteRangeAsString(fileEntry, 0, contents, extensionChecker);
-    };
-    fileWriter.truncate(contents.length + extension);
-}
-
-function runTest(fileEntry, fileWriter) {
-    var contents = "Lorem ipsum";
-    writeString(fileEntry, fileWriter, 0, contents,
-                function() {
-                    truncateToExtend(fileEntry, fileWriter, contents, onTestSucceeded);
-                });
-}
-
-var jsTestIsAsync = true;
-setupAndRunTest(1024, 'file-writer-truncate-extend', runTest);
diff --git a/LayoutTests/fast/filesystem/resources/file-writer-utils.js b/LayoutTests/fast/filesystem/resources/file-writer-utils.js
deleted file mode 100644 (file)
index 5960922..0000000
+++ /dev/null
@@ -1,169 +0,0 @@
-function stringifyObj(o)
-{
-    s = "";
-    if (o)
-        for (index in o) {
-            s += index + ": " + o[index] + ";";
-        }
-    return s;
-}
-
-function onError(e)
-{
-    testFailed("Got error: " + stringifyObj(e));
-    cleanUp();
-}
-
-function assert(s)
-{
-    if (!s) {
-        var e = new Error("Assertion failed. ");
-        onError(e);
-        throw e;
-    }
-}
-
-var fileEntryForCleanup;  // Set as soon as we have one.
-
-function cleanUp()
-{
-    if (fileEntryForCleanup) {
-        try {
-            fileEntryForCleanup.remove(finishJSTest, finishJSTest);
-            return;
-        } catch (ex) {
-        }
-    }
-    finishJSTest();
-}
-
-// Generic function that gets a File from a FileEntry and calls a custom verification function on it.
-function verifyFileContents(fileEntry, verifyFunc, arg0, arg1, onSuccess)
-{
-    fileEntry.file(
-        function(file) {
-            verifyFunc(file, arg0, arg1, onSuccess);
-        },
-        onError);
-}
-
-// Helper function used with verifyFileContents.
-function verifyFileLengthHelper(file, length, unused, onSuccess)
-{
-    assert(file.size == length);
-    onSuccess();
-}
-
-// Verifies that the contents of fileEntry have the supplied length.
-function verifyFileLength(fileEntry, length, onSuccess)
-{
-    verifyFileContents(fileEntry, verifyFileLengthHelper, length, null, onSuccess);
-}
-
-// Helper function used with verifyFileContents.
-function verifyByteRangeIsZeroesHelper(file, start, length, onSuccess)
-{
-    var fileReader = new FileReader();
-    fileReader.onerror = onError;
-    fileReader.onload =
-        function() {
-            var result = fileReader.result;
-            for (var i = 0; i < length; i++)
-                assert(result.charCodeAt(i) == 0);
-            onSuccess();
-        };
-    fileReader.readAsBinaryString(file.slice(start, start + length));
-}
-
-// Verifies that fileEntry, at offset, is all zeroes for length bytes.
-function verifyByteRangeIsZeroes(fileEntry, offset, length, onSuccess)
-{
-    verifyFileContents(fileEntry, verifyByteRangeIsZeroesHelper, offset, length, onSuccess);
-}
-
-// Helper function used with verifyFileContents.
-function verifyByteRangeAsStringHelper(file, start, data, onSuccess)
-{
-    var fileReader = new FileReader();
-    fileReader.onerror = onError;
-    fileReader.onload =
-        function() {
-            assert(fileReader.result == data);
-            onSuccess();
-        };
-    fileReader.readAsText(file.slice(start, start + data.length));
-}
-
-// Verifies that the contents of fileEntry, at offset, match contents [a string].
-function verifyByteRangeAsString(fileEntry, offset, contents, onSuccess)
-{
-    verifyFileContents(fileEntry, verifyByteRangeAsStringHelper, offset, contents, onSuccess);
-}
-
-// Creates a file called fileName in fileSystem's root directory, truncates it to zero length just in case, and calls onSuccess, passing it a FileEntry and FileWriter for the new file.
-function createEmptyFile(fileSystem, fileName, onSuccess)
-{
-    function getSuccessFunc(fileEntry) {
-        // Create a fresh FileWriter here, rather than pass in the used one.
-        // This way we don't accidentally leave our event handlers attached.
-        return function() {
-            fileEntry.createWriter(function(fw) {
-                onSuccess(fileEntry, fw);
-            }, onError);
-        }
-    }
-    function getFileWriterCallback(fileEntry) {
-        return function(fileWriter) {
-            var successFunc = getSuccessFunc(fileEntry);
-            fileWriter.onError = onError;
-            fileWriter.onwrite = function() {
-                fileWriter.onwrite = null;
-                verifyFileLength(fileEntry, 0, successFunc);
-            };
-            fileWriter.truncate(0);
-        }
-    }
-    function onFileEntry(fileEntry) {
-        fileEntryForCleanup = fileEntry;
-        var onFileWriter = getFileWriterCallback(fileEntry);
-        fileEntry.createWriter(onFileWriter, onError);
-    }
-    assert(fileSystem);
-    fileSystem.root.getFile(fileName, {create:true}, onFileEntry, onError);
-}
-
-function writeString(fileEntry, fileWriter, offset, data, onSuccess)
-{
-    var blob = new Blob([data]);
-    fileWriter.seek(offset);
-    fileWriter.write(blob);
-    fileWriter.onerror = onError;
-    if (offset < 0)
-        offset += fileWriter.length;
-    assert(offset >= 0);
-    fileWriter.onwrite = function() {
-        fileWriter.onwrite = null;
-        verifyByteRangeAsString(fileEntry, offset, data, onSuccess);
-    };
-}
-
-function setFileContents(fileEntry, fileWriter, contents, onSuccess) {
-    fileWriter.onerror = onError;
-    fileWriter.onwrite = function() {
-        fileWriter.onwrite = null;
-        writeString(fileEntry, fileWriter, 0, contents, onSuccess);
-    };
-    fileWriter.truncate(0);
-}
-
-function setupAndRunTest(size, testName, testFunc)
-{
-    if (!webkitRequestFileSystem) {
-        debug("This test requires FileSystem API support.");
-        return;
-    }
-    debug("starting test");
-    webkitRequestFileSystem(TEMPORARY, size, function(fs) {
-        createEmptyFile(fs, testName, testFunc);
-    }, onError);
-}
diff --git a/LayoutTests/fast/filesystem/resources/file-writer-write-overlapped.js b/LayoutTests/fast/filesystem/resources/file-writer-write-overlapped.js
deleted file mode 100644 (file)
index b5376c1..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-if (this.importScripts) {
-    importScripts('fs-worker-common.js');
-    importScripts('../../../resources/js-test-pre.js');
-    importScripts('file-writer-utils.js');
-}
-
-description("Test using FileWriter.seek to write overlapping existing data in a file.");
-
-var fileEntry;
-var fileWriter;
-var testData = "Lorem ipsum";
-var seekBackwardOffset = -4;
-var seekForwardOffset = 4;
-
-function onTestSucceeded()
-{
-    testPassed("All writes verified.");
-    cleanUp();
-}
-
-function validateNonextendingWriteEnd() {
-    verifyByteRangeAsString(fileEntry, testData.length + seekForwardOffset, testData.slice(seekForwardOffset), onTestSucceeded);
-}
-
-function validateNonextendingWriteStart() {
-    testPassed("Nonextending write validated.");
-    assert(fileWriter.length == testData.length * 2);
-    verifyByteRangeAsString(fileEntry, 0, testData.slice(0, seekForwardOffset), validateNonextendingWriteEnd);
-}
-
-function testNonextendingWrite() {
-    writeString(fileEntry, fileWriter, seekForwardOffset, testData, validateNonextendingWriteStart);
-}
-
-function setupNonextendingWrite() {
-    testPassed("Positive seek validated.");
-    setFileContents(fileEntry, fileWriter, testData + testData, testNonextendingWrite);
-}
-
-function validateSeekForward() {
-    assert(fileWriter.length == testData.length + seekForwardOffset);
-    verifyByteRangeAsString(fileEntry, 0, testData.slice(0, seekForwardOffset), setupNonextendingWrite);
-}
-
-function testSeekForward() {
-    writeString(fileEntry, fileWriter, seekForwardOffset, testData, validateSeekForward);
-}
-
-function setupSeekForward() {
-    testPassed("Negative seek validated.");
-    setFileContents(fileEntry, fileWriter, testData, testSeekForward);
-}
-
-function validateSeekBackward() {
-    assert(fileWriter.length == 2 * testData.length + seekBackwardOffset);
-    verifyByteRangeAsString(fileEntry, 0, testData.slice(0, testData.length + seekBackwardOffset), setupSeekForward);
-}
-
-function testSeekBackward() {
-    writeString(fileEntry, fileWriter, seekBackwardOffset, testData, validateSeekBackward);
-}
-
-// Each test has 3 phases: setup, execution, and validation.  In the setup phase, we make sure that there's a FileWriter pointing at a file with appropriate
-// data for the test we want to run.  In the execution phase, we do a seek and a write, and the utility function that does those also validates that the data
-// actually got written.  So in the validation phase, we only have to check that the rest of the file didn't get corrupted while we were writing our bit.
-function runTest(fileEntryIn, fileWriterIn) {
-    fileEntry = fileEntryIn;
-    fileWriter = fileWriterIn;
-    setFileContents(fileEntry, fileWriter, testData, testSeekBackward);
-}
-
-var jsTestIsAsync = true;
-setupAndRunTest(1024, 'file-writer-truncate-extend', runTest);
diff --git a/LayoutTests/fast/filesystem/resources/fs-test-util.js b/LayoutTests/fast/filesystem/resources/fs-test-util.js
deleted file mode 100644 (file)
index 80c11c1..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-function bindCallback(obj, callback, arg1, arg2, arg3)
-{
-    return function(arg) {
-        if (arg == undefined)
-            callback.apply(obj, [arg1, arg2, arg3]);
-        else
-            callback.apply(obj, [arg, arg1, arg2, arg3]);
-    };
-}
-
-// Usage:
-//   var helper = new JoinHelper;
-//
-//   helper.run(function() { /* do something that eventually calls helper.done(); */ });
-//   helper.run(function() { /* do something that eventually calls helper.done(); */ });
-//   ...
-//   helper.join(joinCallback);
-//
-var JoinHelper = function()
-{
-    this.pendingOperations = [];
-    this.pendingOperationCount = 0;
-    this.joinCallback = null;
-
-    this.run = function(operation)
-    {
-        this.pendingOperationCount++;
-        operation();
-    };
-
-    // Call this when an operation is done.
-    this.done = function()
-    {
-        this.pendingOperationCount--;
-        if (this.pendingOperationCount == 0 && this.joinCallback)
-            this.joinCallback();
-    };
-
-    // This eventually calls the joinCallback when helper.done() is called as many times as helper.run() is called.
-    this.join = function(joinCallback)
-    {
-        if (this.pendingOperationCount == 0)
-            joinCallback();
-        else
-            this.joinCallback = joinCallback;
-    };
-};
-
-// Remove everything in the given directory.
-function removeAllInDirectory(directory, successCallback, errorCallback) {
-    var RemoveAllInDirectoryHelper = function(successCallback, errorCallback) {
-        this.entriesCount = 0;
-        this.done = false;
-        this.reader = null;
-        this.successCallback = successCallback;
-        this.errorCallback = errorCallback;
-
-        this.entryRemovedCallback = bindCallback(this, function(entry)
-        {
-            if (--this.entriesCount == 0 && this.successCallback && this.done) {
-                this.successCallback();
-                this.successCallback = null;
-            }
-        });
-
-        this.entriesCallback = bindCallback(this, function(entries)
-        {
-            for (var i = 0; i < entries.length; ++i) {
-                this.entriesCount++;
-                if (entries[i].isDirectory)
-                    entries[i].removeRecursively(this.entryRemovedCallback, this.errorCallback);
-                else
-                    entries[i].remove(this.entryRemovedCallback, this.errorCallback);
-            }
-            if (entries.length)
-                this.reader.readEntries(this.entriesCallback, this.errorCallback);
-            else if (this.entriesCount > 0)
-                this.done = true;
-            else if (this.successCallback)
-                this.successCallback();
-        });
-
-        this.removeAllInDirectory = function(directory)
-        {
-            this.reader = directory.createReader();
-            this.reader.readEntries(this.entriesCallback, this.errorCallback);
-        };
-    };
-
-    var helper = new RemoveAllInDirectoryHelper(successCallback, errorCallback);
-    helper.removeAllInDirectory(directory);
-}
diff --git a/LayoutTests/fast/filesystem/resources/fs-worker-common.js b/LayoutTests/fast/filesystem/resources/fs-worker-common.js
deleted file mode 100644 (file)
index 56c2a2b..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-function removeAllInDirectorySync(directory) {
-    if (!directory)
-        return;
-    var reader = directory.createReader();
-    do {
-        var entries = reader.readEntries();
-        for (var i = 0; i < entries.length; ++i) {
-            if (entries[i].isDirectory)
-                entries[i].removeRecursively();
-            else
-                entries[i].remove();
-        }
-    } while (entries.length);
-}
-
-if (this.importScripts && !this.webkitRequestFileSystem) {
-    debug('This test requires FileSystem API.');
-    finishJSTest();
-}
diff --git a/LayoutTests/fast/filesystem/resources/op-copy.js b/LayoutTests/fast/filesystem/resources/op-copy.js
deleted file mode 100644 (file)
index 1717529..0000000
+++ /dev/null
@@ -1,257 +0,0 @@
-var testCases = [
-    {
-        name: 'CopyFileSimple',
-        precondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b'}
-        ],
-        tests: [
-            function(helper) { helper.copy('/a/b', '/a', 'c'); }
-        ],
-        postcondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b'},
-            {fullPath:'/a/c'}
-        ],
-    },
-    {
-        name: 'CopyDirectorySimple',
-        precondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b', isDirectory:true}
-        ],
-        tests: [
-            function(helper) { helper.copy('/a/b', '/a', 'c'); },
-        ],
-        postcondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b', isDirectory:true},
-            {fullPath:'/a/c', isDirectory:true}
-        ],
-    },
-    {
-        name: 'CopyFileToDifferentDirectory',
-        precondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b'},
-            {fullPath:'/c', isDirectory:true}
-        ],
-        tests: [
-            function(helper) { helper.copy('/a/b', '/c', 'd'); },
-        ],
-        postcondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b'},
-            {fullPath:'/c/d'}
-        ],
-    },
-    {
-        name: 'CopyFileWithEmptyName',
-        precondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b'},
-            {fullPath:'/c', isDirectory:true},
-        ],
-        tests: [
-            function(helper) { helper.copy('/a/b', '/c', null); },
-        ],
-        postcondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b'},
-            {fullPath:'/c/b'}
-        ],
-    },
-    {
-        name: 'CopyFileWithEmptyNameToSameDirectory',
-        precondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b'},
-        ],
-        tests: [
-            function(helper) { helper.copy('/a/b', '/a', null, FileError.INVALID_MODIFICATION_ERR); },
-        ],
-        postcondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b'},
-        ],
-    },
-    {
-        name: 'CopyFileWithSameName',
-        precondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b'},
-        ],
-        tests: [
-            function(helper) { helper.copy('/a/b', '/a', 'b', FileError.INVALID_MODIFICATION_ERR); },
-        ],
-        postcondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b'},
-        ],
-    },
-    {
-        name: 'CopyForNonExistentEntry',
-        precondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b'},
-            {fullPath:'/c', isDirectory:true},
-        ],
-        tests: [
-            function(helper) { helper.remove('/a/b'); },
-            function(helper) { helper.copy('/a/b', '/c', 'b', FileError.NOT_FOUND_ERR); },
-        ],
-        postcondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/c', isDirectory:true},
-        ],
-    },
-    {
-        name: 'CopyEntryToNonExistentDirectory',
-        precondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b'},
-            {fullPath:'/c', isDirectory:true},
-        ],
-        tests: [
-            function(helper) { helper.remove('/c'); },
-            function(helper) { helper.copy('/a/b', '/c', 'b', FileError.NOT_FOUND_ERR); },
-        ],
-        postcondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b'},
-        ],
-    },
-    {
-        name: 'CopyEntryToItsChild',
-        precondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b', isDirectory:true},
-            {fullPath:'/a/b/c', isDirectory:true},
-        ],
-        tests: [
-            function(helper) { helper.copy('/a', '/a/b', 'd', FileError.INVALID_MODIFICATION_ERR); },
-            function(helper) { helper.copy('/a/b', '/a/b/c', 'd', FileError.INVALID_MODIFICATION_ERR); },
-        ],
-        postcondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b', isDirectory:true},
-            {fullPath:'/a/b/c', isDirectory:true},
-        ],
-    },
-    {
-        name: 'CopyRecursive',
-        precondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b', isDirectory:true},
-            {fullPath:'/a/b/c'},
-            {fullPath:'/a/b/d'},
-            {fullPath:'/b', isDirectory:true},
-        ],
-        tests: [
-            function(helper) { helper.copy('/a', '/b', 'a'); },
-        ],
-        postcondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b', isDirectory:true},
-            {fullPath:'/a/b/c'},
-            {fullPath:'/a/b/d'},
-            {fullPath:'/b/a', isDirectory:true},
-            {fullPath:'/b/a/b', isDirectory:true},
-            {fullPath:'/b/a/b/c'},
-            {fullPath:'/b/a/b/d'},
-        ],
-    },
-    {
-        name: "OverwritingCopyFileToFile",
-        precondition: [
-            {fullPath:"/a"},
-            {fullPath:"/b"},
-        ],
-        tests: [
-            function(helper) {helper.copy("/a","/","b");}
-        ],
-        postcondition: [
-            {fullPath:"/a"},
-            {fullPath:"/b"},
-        ],
-    },
-    {
-        name: "OverwritingCopyDirectoryToEmptyDirectory",
-        precondition: [
-            {fullPath:"/a", isDirectory:true},
-            {fullPath:"/a/b"},
-            {fullPath:"/c", isDirectory:true},
-        ],
-        tests: [
-            function(helper) {helper.copy("/a","/","c");}
-        ],
-        postcondition: [
-            {fullPath:"/a", isDirectory:true},
-            {fullPath:"/a/b"},
-            {fullPath:"/c", isDirectory:true},
-            {fullPath:"/c/b"},
-        ],
-    },
-    {
-        name: "OverwritingCopyFileToDirectory",
-        precondition: [
-            {fullPath:"/a"},
-            {fullPath:"/b", isDirectory: true},
-        ],
-        tests: [
-            function(helper) {helper.copy("/a","/","b",FileError.INVALID_MODIFICATION_ERR);}
-        ],
-        postcondition: [
-            {fullPath:"/a"},
-            {fullPath:"/b", isDirectory: true},
-        ],
-    },
-    {
-        name: "OverwritingCopyDirectoryToFile",
-        precondition: [
-            {fullPath:"/a", isDirectory: true},
-            {fullPath:"/b"},
-        ],
-        tests: [
-            function(helper) {helper.copy("/a","/","b",FileError.INVALID_MODIFICATION_ERR);}
-        ],
-        postcondition: [
-            {fullPath:"/a", isDirectory: true},
-            {fullPath:"/b"},
-        ],
-    },
-    {
-        name: "OverwritingCopyFileToNonemptyDirectory",
-        precondition: [
-            {fullPath:"/a"},
-            {fullPath:"/b", isDirectory: true},
-            {fullPath:"/b/c"},
-        ],
-        tests: [
-            function(helper) {helper.copy("/a","/","b",FileError.INVALID_MODIFICATION_ERR);}
-        ],
-        postcondition: [
-            {fullPath:"/a"},
-            {fullPath:"/b", isDirectory: true},
-            {fullPath:"/b/c"},
-        ],
-    },
-    {
-        name: "OverwritingCopyDirectoryToNonemptyDirectory",
-        precondition: [
-            {fullPath:"/a", isDirectory: true},
-            {fullPath:"/a/b"},
-            {fullPath:"/c", isDirectory: true},
-            {fullPath:"/c/d"},
-        ],
-        tests: [
-            function(helper) {helper.copy("/a","/","c",FileError.INVALID_MODIFICATION_ERR);}
-        ],
-        postcondition: [
-            {fullPath:"/a", isDirectory: true},
-            {fullPath:"/a/b"},
-            {fullPath:"/c", isDirectory: true},
-            {fullPath:"/c/d"},
-        ],
-    },
-];
diff --git a/LayoutTests/fast/filesystem/resources/op-get-entry.js b/LayoutTests/fast/filesystem/resources/op-get-entry.js
deleted file mode 100644 (file)
index ee8917f..0000000
+++ /dev/null
@@ -1,155 +0,0 @@
-var testCases = [
-    {
-        name: 'CreateSimple',
-        precondition: [ ],
-        tests: [
-            function(helper) { helper.getDirectory('/', 'a', {create:true}); },
-            function(helper) { helper.getFile('/', 'b', {create:true}); }
-        ],
-        postcondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/b'},
-        ],
-    },
-    {
-        name: 'CreateNested',
-        precondition: [ ],
-        tests: [
-            function(helper) { helper.getDirectory('/', 'a', {create:true}); },
-            function(helper) { helper.getDirectory('/a', 'b', {create:true}); },
-            function(helper) { helper.getDirectory('/a/b', 'c', {create:true}); },
-            function(helper) { helper.getDirectory('/a/b/c', 'd', {create:true}); },
-            function(helper) { helper.getFile('/a/b/c/d', 'e', {create:true}); },
-        ],
-        postcondition: [
-            {fullPath:'/a/b/c/d/e'},
-        ],
-    },
-    {
-        name: 'CreateNestedWithAbsolutePath',
-        precondition: [
-            {fullPath:'/dummy', isDirectory:true},
-        ],
-        tests: [
-            function(helper) { helper.getDirectory('/dummy', '/a', {create:true}); },
-            function(helper) { helper.getDirectory('/dummy', '/a/b', {create:true}); },
-            function(helper) { helper.getDirectory('/dummy', '/a/b/c', {create:true}); },
-            function(helper) { helper.getDirectory('/dummy', '/a/b/c/d', {create:true}); },
-            function(helper) { helper.getFile('/dummy', '/a/b/c/d/e', {create:true}); }
-        ],
-        postcondition: [
-            {fullPath:'/dummy', isDirectory:true},
-            {fullPath:'/a/b/c/d/e'},
-        ],
-    },
-    {
-        name: 'CreateNestedWithRelativePath',
-        precondition: [
-            {fullPath:'/a', isDirectory:true},
-        ],
-        tests: [
-            function(helper) { helper.getDirectory('/a', './b', {create:true}); },
-            function(helper) { helper.getDirectory('/a', './...', {create:true}); },
-            function(helper) { helper.getDirectory('/a', '../b', {create:true}); },
-            function(helper) { helper.getDirectory('/a', '../../b/c', {create:true}); },
-            function(helper) { helper.getDirectory('/a', '/a/../../d', {create:true}); },
-            function(helper) { helper.getDirectory('/a', '/a/../../b/./c/../../../../../e', {create:true}); },
-            function(helper) { helper.getDirectory('/a', '.../f', {create:true}); },
-            function(helper) { helper.getDirectory('/a', '/a/../.../g', {create:true}, FileError.NOT_FOUND_ERR); },
-            function(helper) { helper.getFile('/a', './b.txt', {create:true}); },
-            function(helper) { helper.getFile('/a', '../b.txt', {create:true}); },
-            function(helper) { helper.getFile('/a', '../../b/c.txt', {create:true}); },
-            function(helper) { helper.getFile('/a', '/a/../../d.txt', {create:true}); },
-            function(helper) { helper.getFile('/a', '/a/../../b/./c/../../../../../e.txt', {create:true}); },
-            function(helper) { helper.getFile('/a', '.../f.txt', {create:true}); },
-            function(helper) { helper.getFile('/a', '/a/../.../g.txt', {create:true}, FileError.NOT_FOUND_ERR); },
-        ],
-        postcondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b', isDirectory:true},
-            {fullPath:'/b', isDirectory:true},
-            {fullPath:'/b/c', isDirectory:true},
-            {fullPath:'/d', isDirectory:true},
-            {fullPath:'/e', isDirectory:true},
-            {fullPath:'/f', nonexistent:true},
-            {fullPath:'/a/f', nonexistent:true},
-            {fullPath:'/g', nonexistent:true},
-            {fullPath:'/a/g', nonexistent:true},
-            {fullPath:'/a/b.txt'},
-            {fullPath:'/b.txt'},
-            {fullPath:'/b/c.txt'},
-            {fullPath:'/d.txt'},
-            {fullPath:'/e.txt'},
-            {fullPath:'/f.txt', nonexistent:true},
-            {fullPath:'/a/f.txt', nonexistent:true},
-            {fullPath:'/g.txt', nonexistent:true},
-            {fullPath:'/a/g.txt', nonexistent:true},
-        ],
-    },
-    {
-        name: 'GetExistingEntry',
-        precondition: [ ],
-        tests: [
-            function(helper) { helper.getDirectory('/', 'a', {create:true}); },
-            function(helper) { helper.getFile('/', 'b', {create:true}); },
-            function(helper) { helper.getDirectory('/', 'a'); },
-            function(helper) { helper.getFile('/', 'b'); }
-        ],
-        postcondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/b'},
-        ],
-    },
-    {
-        name: 'GetNonExistent',
-        precondition: [ ],
-        tests: [
-            function(helper) { helper.getDirectory('/', 'a', {}, FileError.NOT_FOUND_ERR); },
-            function(helper) { helper.getFile('/', 'b', {}, FileError.NOT_FOUND_ERR); },
-            function(helper) { helper.getDirectory('/', '/nonexistent/a', {create:true}, FileError.NOT_FOUND_ERR); },
-            function(helper) { helper.getFile('/', '/nonexistent/b', {create:true}, FileError.NOT_FOUND_ERR); }
-        ],
-        postcondition: [ ],
-    },
-    {
-        name: 'GetFileForDirectory',
-        precondition: [
-            {fullPath:'/a', isDirectory:true}
-        ],
-        tests: [
-            function(helper) { helper.getFile('/', 'a', {}, FileError.TYPE_MISMATCH_ERR); },
-            function(helper) { helper.getFile('/', '/a', {}, FileError.TYPE_MISMATCH_ERR); },
-        ],
-        postcondition: [
-            {fullPath:'/a', isDirectory:true}
-        ],
-    },
-    {
-        name: 'GetDirectoryForFile',
-        precondition: [
-            {fullPath:'/a'}
-        ],
-        tests: [
-            function(helper) { helper.getDirectory('/', 'a', {}, FileError.TYPE_MISMATCH_ERR); },
-            function(helper) { helper.getDirectory('/', '/a', {}, FileError.TYPE_MISMATCH_ERR); },
-        ],
-        postcondition: [
-            {fullPath:'/a'}
-        ],
-    },
-    {
-        name: 'CreateWithExclusive',
-        precondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/b'}
-        ],
-        tests: [
-            function(helper) { helper.getDirectory('/', 'a', {create:true, exclusive:true}, FileError.INVALID_MODIFICATION_ERR); },
-            function(helper) { helper.getFile('/', 'b', {create:true, exclusive:true}, FileError.INVALID_MODIFICATION_ERR); }
-        ],
-        postcondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/b'}
-        ],
-    },
-];
diff --git a/LayoutTests/fast/filesystem/resources/op-get-metadata.js b/LayoutTests/fast/filesystem/resources/op-get-metadata.js
deleted file mode 100644 (file)
index 8356030..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-var testCases = [
-    {
-        name: 'GetMetadata',
-        precondition: [
-            {fullPath:'/tmp'},
-            {fullPath:'/file1', size:0},
-            {fullPath:'/file2', size:10},
-            {fullPath:'/file3', size:90},
-        ],
-        tests: [
-            function(helper) { helper.getMetadata('/'); },
-            function(helper) { helper.getDirectory('/', '/a', {create:true}); },
-            function(helper) { helper.getMetadata('/a'); },
-            function(helper) { helper.getMetadata('/file1'); },
-            function(helper) { helper.getMetadata('/file2'); },
-            function(helper) { helper.getMetadata('/file3'); },
-            function(helper) { helper.getFile('/', '/b', {create:true}); },
-            function(helper) { helper.getMetadata('/b'); },
-            function(helper) { helper.remove('/tmp'); },
-            function(helper) { helper.getMetadata('/tmp', FileError.NOT_FOUND_ERR); },
-            function(helper) { helper.shouldBeGreaterThanOrEqual('/a.returned.modificationTime', '/.returned.modificationTime'); },
-            function(helper) { helper.shouldBeGreaterThanOrEqual('/b.returned.modificationTime', '/.returned.modificationTime'); },
-            function(helper) { helper.shouldBeGreaterThanOrEqual('/b.returned.modificationTime', '/a.returned.modificationTime'); }
-        ],
-        postcondition: [ ],
-    },
-];
diff --git a/LayoutTests/fast/filesystem/resources/op-get-parent.js b/LayoutTests/fast/filesystem/resources/op-get-parent.js
deleted file mode 100644 (file)
index bde953c..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-var testCases = [
-    {
-        name: 'GetParent',
-        precondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b', isDirectory:true},
-            {fullPath:'/a/b/c'},
-        ],
-        tests: [
-            function(helper) { helper.getParent('/'); },
-            function(helper) { helper.getParent('/a'); },
-            function(helper) { helper.getParent('/a/b'); },
-            function(helper) { helper.getParent('/a/b/c'); }
-        ],
-        postcondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b', isDirectory:true},
-            {fullPath:'/a/b/c'},
-        ],
-    },
-];
diff --git a/LayoutTests/fast/filesystem/resources/op-move.js b/LayoutTests/fast/filesystem/resources/op-move.js
deleted file mode 100644 (file)
index 1341a43..0000000
+++ /dev/null
@@ -1,252 +0,0 @@
-var testCases = [
-    {
-        name: 'MoveFileSimple',
-        precondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b'}
-        ],
-        tests: [
-            function(helper) { helper.move('/a/b', '/a', 'c'); }
-        ],
-        postcondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b', nonexistent:true},
-            {fullPath:'/a/c'}
-        ],
-    },
-    {
-        name: 'MoveDirectorySimple',
-        precondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b', isDirectory:true}
-        ],
-        tests: [
-            function(helper) { helper.move('/a/b', '/a', 'c'); },
-        ],
-        postcondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b', nonexistent:true},
-            {fullPath:'/a/c', isDirectory:true}
-        ],
-    },
-    {
-        name: 'MoveFileToDifferentDirectory',
-        precondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b'},
-            {fullPath:'/c', isDirectory:true}
-        ],
-        tests: [
-            function(helper) { helper.move('/a/b', '/c', 'd'); },
-        ],
-        postcondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b', nonexistent:true},
-            {fullPath:'/c/d'}
-        ],
-    },
-    {
-        name: 'MoveFileWithEmptyName',
-        precondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b'},
-            {fullPath:'/c', isDirectory:true},
-        ],
-        tests: [
-            function(helper) { helper.move('/a/b', '/c', null); },
-        ],
-        postcondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b', nonexistent:true},
-            {fullPath:'/c/b'}
-        ],
-    },
-    {
-        name: 'MoveFileWithEmptyNameToSameDirectory',
-        precondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b'},
-        ],
-        tests: [
-            function(helper) { helper.move('/a/b', '/a', null, FileError.INVALID_MODIFICATION_ERR); },
-        ],
-        postcondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b'},
-        ],
-    },
-    {
-        name: 'MoveFileWithSameName',
-        precondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b'},
-        ],
-        tests: [
-            function(helper) { helper.move('/a/b', '/a', 'b', FileError.INVALID_MODIFICATION_ERR); },
-        ],
-        postcondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b'},
-        ],
-    },
-    {
-        name: 'MoveForNonExistentEntry',
-        precondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b'},
-            {fullPath:'/c', isDirectory:true},
-        ],
-        tests: [
-            function(helper) { helper.remove('/a/b'); },
-            function(helper) { helper.move('/a/b', '/c', 'b', FileError.NOT_FOUND_ERR); },
-        ],
-        postcondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/c', isDirectory:true},
-        ],
-    },
-    {
-        name: 'MoveEntryToNonExistentDirectory',
-        precondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b'},
-            {fullPath:'/c', isDirectory:true},
-        ],
-        tests: [
-            function(helper) { helper.remove('/c'); },
-            function(helper) { helper.move('/a/b', '/c', 'b', FileError.NOT_FOUND_ERR); },
-        ],
-        postcondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b'},
-        ],
-    },
-    {
-        name: 'MoveEntryToItsChild',
-        precondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b', isDirectory:true},
-            {fullPath:'/a/b/c', isDirectory:true},
-        ],
-        tests: [
-            function(helper) { helper.move('/a', '/a/b', 'd', FileError.INVALID_MODIFICATION_ERR); },
-            function(helper) { helper.move('/a/b', '/a/b/c', 'd', FileError.INVALID_MODIFICATION_ERR); },
-        ],
-        postcondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b', isDirectory:true},
-            {fullPath:'/a/b/c', isDirectory:true},
-        ],
-    },
-    {
-        name: 'MoveRecursive',
-        precondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b', isDirectory:true},
-            {fullPath:'/a/b/c'},
-            {fullPath:'/a/b/d'},
-            {fullPath:'/b', isDirectory:true},
-        ],
-        tests: [
-            function(helper) { helper.move('/a', '/b', 'a'); },
-        ],
-        postcondition: [
-            {fullPath:'/a', nonexistent:true},
-            {fullPath:'/b/a', isDirectory:true},
-            {fullPath:'/b/a/b', isDirectory:true},
-            {fullPath:'/b/a/b/c'},
-            {fullPath:'/b/a/b/d'},
-        ],
-    },
-    {
-        name: "OverwritingMoveFileToFile",
-        precondition: [
-            {fullPath:"/a"},
-            {fullPath:"/b"},
-        ],
-        tests: [
-            function(helper) {helper.move("/a","/","b");}
-        ],
-        postcondition: [
-            {fullPath:"/b"},
-        ],
-    },
-    {
-        name: "OverwritingMoveDirectoryToEmptyDirectory",
-        precondition: [
-            {fullPath:"/a", isDirectory:true},
-            {fullPath:"/a/b"},
-            {fullPath:"/c", isDirectory:true},
-        ],
-        tests: [
-            function(helper) {helper.move("/a","/","c");}
-        ],
-        postcondition: [
-            {fullPath:"/c", isDirectory:true},
-            {fullPath:"/c/b"},
-            {fullPath:"/a", nonexistent:true},
-        ],
-    },
-    {
-        name: "OverwritingMoveFileToDirectory",
-        precondition: [
-            {fullPath:"/a"},
-            {fullPath:"/b", isDirectory: true},
-        ],
-        tests: [
-            function(helper) {helper.move("/a","/","b",FileError.INVALID_MODIFICATION_ERR);}
-        ],
-        postcondition: [
-            {fullPath:"/a"},
-            {fullPath:"/b", isDirectory: true},
-        ],
-    },
-    {
-        name: "OverwritingMoveDirectoryToFile",
-        precondition: [
-            {fullPath:"/a", isDirectory: true},
-            {fullPath:"/b"},
-        ],
-        tests: [
-            function(helper) {helper.move("/a","/","b",FileError.INVALID_MODIFICATION_ERR);}
-        ],
-        postcondition: [
-            {fullPath:"/a", isDirectory: true},
-            {fullPath:"/b"},
-        ],
-    },
-    {
-        name: "OverwritingMoveFileToNonemptyDirectory",
-        precondition: [
-            {fullPath:"/a"},
-            {fullPath:"/b", isDirectory: true},
-            {fullPath:"/b/c"},
-        ],
-        tests: [
-            function(helper) {helper.move("/a","/","b",FileError.INVALID_MODIFICATION_ERR);}
-        ],
-        postcondition: [
-            {fullPath:"/a"},
-            {fullPath:"/b", isDirectory: true},
-            {fullPath:"/b/c"},
-        ],
-    },
-    {
-        name: "OverwritingMoveDirectoryToNonemptyDirectory",
-        precondition: [
-            {fullPath:"/a", isDirectory: true},
-            {fullPath:"/a/b"},
-            {fullPath:"/c", isDirectory: true},
-            {fullPath:"/c/d"},
-        ],
-        tests: [
-            function(helper) {helper.move("/a","/","c",FileError.INVALID_MODIFICATION_ERR);}
-        ],
-        postcondition: [
-            {fullPath:"/a", isDirectory: true},
-            {fullPath:"/a/b"},
-            {fullPath:"/c", isDirectory: true},
-            {fullPath:"/c/d"},
-        ],
-    },
-];
diff --git a/LayoutTests/fast/filesystem/resources/op-read-directory.js b/LayoutTests/fast/filesystem/resources/op-read-directory.js
deleted file mode 100644 (file)
index bef2a48..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-var testCases = [
-    {
-        name: 'ReadDirectory',
-        precondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/b', isDirectory:true},
-            {fullPath:'/c', },
-            {fullPath:'/d', },
-            {fullPath:'/e', isDirectory:true},
-            {fullPath:'/f', },
-            {fullPath:'/g', isDirectory:true},
-            {fullPath:'/a/b'},
-            {fullPath:'/a/c'},
-        ],
-        tests: [
-            function(helper) { helper.readDirectory('/'); },
-            function(helper) { helper.remove('/c'); },
-            function(helper) { helper.remove('/e'); },
-            function(helper) { helper.remove('/f'); },
-            function(helper) { helper.readDirectory('/'); }
-        ],
-    },
-];
diff --git a/LayoutTests/fast/filesystem/resources/op-remove.js b/LayoutTests/fast/filesystem/resources/op-remove.js
deleted file mode 100644 (file)
index bd168d6..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-var testCases = [
-    {
-        name: 'RemoveSimple',
-        precondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/b'}
-        ],
-        tests: [
-            function(helper) { helper.remove('/a'); },
-            function(helper) { helper.remove('/b'); },
-            function(helper) { helper.remove('/', FileError.INVALID_MODIFICATION_ERR); }
-        ],
-        postcondition: [
-            {fullPath:'/a', nonexistent:true},
-            {fullPath:'/b', nonexistent:true}
-        ],
-    },
-    {
-        name: 'RemoveNonRecursiveWithChildren',
-        precondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b', isDirectory:true},
-            {fullPath:'/a/c',}
-        ],
-        tests: [
-            function(helper) { helper.remove('/a', FileError.INVALID_MODIFICATION_ERR); }
-        ],
-        postcondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b', isDirectory:true},
-            {fullPath:'/a/c',}
-        ],
-    },
-    {
-        name: 'RemoveRecursiveWithoutChildren',
-        precondition: [
-            {fullPath:'/a', isDirectory:true},
-        ],
-        tests: [
-            function(helper) { helper.removeRecursively('/a'); }
-        ],
-        postcondition: [
-            {fullPath:'/a', nonexistent:true},
-        ],
-    },
-    {
-        name: 'RemoveRecursiveWithChildren',
-        precondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/a/b', isDirectory:true},
-            {fullPath:'/a/c',}
-        ],
-        tests: [
-            function(helper) { helper.removeRecursively('/a'); },
-            function(helper) { helper.removeRecursively('/', FileError.INVALID_MODIFICATION_ERR); }
-        ],
-        postcondition: [
-            {fullPath:'/a', nonexistent:true},
-        ],
-    },
-];
-
diff --git a/LayoutTests/fast/filesystem/resources/op-restricted-chars.js b/LayoutTests/fast/filesystem/resources/op-restricted-chars.js
deleted file mode 100644 (file)
index bb7b974..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-var testCases = [
-    {
-        name: 'RestrictedChars',
-        precondition: [
-            {fullPath:'/ab', isDirectory:true},
-        ],
-        tests: [
-            // Test for difficult characters in 'path' parameters.
-            function(helper) { helper.getFile('/', 'a<b', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a>b', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a:b', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a?b', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a*b', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a"b', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a|b', {create:true}, 0); },
-
-            function(helper) { helper.getFile('/', '<ab', {create:true}, 0); },
-            function(helper) { helper.getFile('/', ':ab', {create:true}, 0); },
-            function(helper) { helper.getFile('/', '?ab', {create:true}, 0); },
-            function(helper) { helper.getFile('/', '*ab', {create:true}, 0); },
-            function(helper) { helper.getFile('/', '"ab', {create:true}, 0); },
-            function(helper) { helper.getFile('/', '|ab', {create:true}, 0); },
-
-            function(helper) { helper.getFile('/', 'ab<', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'ab:', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'ab?', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'ab*', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'ab"', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'ab|', {create:true}, 0); },
-
-            // Only '\\' is disallowed.
-            function(helper) { helper.getFile('/', 'a\\b', {create:true}, FileError.INVALID_MODIFICATION_ERR); },
-
-            // Test for difficult characters in 'name' parameters.
-            function(helper) { helper.copy('/ab', '/', ' a<b', 0); },
-            function(helper) { helper.copy('/ab', '/', ' a:b', 0); },
-            function(helper) { helper.copy('/ab', '/', ' a?b', 0); },
-            function(helper) { helper.copy('/ab', '/', ' a*b', 0); },
-            function(helper) { helper.copy('/ab', '/', ' a"b', 0); },
-            function(helper) { helper.copy('/ab', '/', ' a|b', 0); },
-
-            // 'Name' parameter cannot contain '/' or '\\'.
-            function(helper) { helper.copy('/ab', '/', 'a/b', FileError.INVALID_MODIFICATION_ERR); },
-            function(helper) { helper.copy('/ab', '/', 'a\\b', FileError.INVALID_MODIFICATION_ERR); },
-        ],
-        postcondition: [
-            {fullPath:'/ab', isDirectory:true},
-            {fullPath:'a<b', isDirectory:false},
-            {fullPath:' a|b', isDirectory:true}
-        ],
-    },
-];
diff --git a/LayoutTests/fast/filesystem/resources/op-restricted-names.js b/LayoutTests/fast/filesystem/resources/op-restricted-names.js
deleted file mode 100644 (file)
index 5419d45..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-var testCases = [
-    {
-        name: 'RestrictedNames',
-        precondition: [
-            {fullPath:'/a', isDirectory:true},
-            {fullPath:'/b', isDirectory:true},
-            {fullPath:'/c', isDirectory:true}
-        ],
-        tests: [
-            function(helper) { helper.getFile('/', '.', {create:true}, FileError.SECURITY_ERR); },
-            function(helper) { helper.getFile('/', '..', {create:true}, FileError.SECURITY_ERR); },
-            function(helper) { helper.getFile('/', 'con', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'CON', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'Con', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'cOn.txt', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a/coN', {create:true}, 0); },
-
-            function(helper) { helper.getFile('/', 'prn', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'PRN', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'Prn', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'pRn.txt', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a/prN', {create:true}, 0); },
-
-            function(helper) { helper.getFile('/', 'aux', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'AUX', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'Aux', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'aUx.txt', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a/auX', {create:true}, 0); },
-
-            function(helper) { helper.getFile('/', 'nul', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'NUL', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'Nul', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'nUl.txt', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a/nuL', {create:true}, 0); },
-
-            function(helper) { helper.getFile('/', 'com1', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'COM2', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'Com4', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'cOM7.foo', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a/coM9', {create:true}, 0); },
-
-            function(helper) { helper.getFile('/', 'lpt1', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'LPT2', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'Lpt4', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'lPT7.foo', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a/lpT9', {create:true}, 0); },
-
-            function(helper) { helper.getFile('/', 'foo ', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'foo\n', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'foo.', {create:true}, 0); },
-            function(helper) { helper.copy('/a', '/', 'foo  ', 0); },
-            function(helper) { helper.copy('/a', '/', 'foo\t', 0); },
-            function(helper) { helper.copy('/a', '/', 'foo..', 0); },
-            function(helper) { helper.move('/a', '/', 'foo    ', 0); },
-            function(helper) { helper.move('/b', '/', 'foo\t\t', 0); },
-            function(helper) { helper.move('/c', '/', 'foo.....', 0); },
-        ],
-        postcondition: [
-            {fullPath:'/foo    ', isDirectory:true},
-            {fullPath:'/foo\t\t', isDirectory:true},
-            {fullPath:'/foo.....', isDirectory:true}
-        ],
-    },
-];
diff --git a/LayoutTests/fast/filesystem/resources/op-restricted-unicode.js b/LayoutTests/fast/filesystem/resources/op-restricted-unicode.js
deleted file mode 100644 (file)
index 5c1f1bf..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-var testCases = [
-    {
-        name: 'RestrictedUnicodeChars',
-        precondition: [ ],
-        tests: [
-            function(helper) { helper.getFile('/', 'ab', {create:true}); },
-
-            // Embedded NULs aren't allowed; anything else in the first 32 is fair game.
-            function(helper) { helper.getFile('/', 'a\u0000b', {create:true}, FileError.INVALID_MODIFICATION_ERR); },
-            function(helper) { helper.getFile('/', 'a\u0001b', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a\u0002b', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a\u0003b', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a\u0004b', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a\u0005b', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a\u0006b', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a\u0007b', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a\u0008b', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a\u0009b', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a\u000ab', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a\u000bb', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a\u000cb', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a\u000db', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a\u000eb', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a\u000fb', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a\u0010b', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a\u0011b', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a\u0012b', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a\u0013b', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a\u0014b', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a\u0015b', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a\u0016b', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a\u0017b', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a\u0018b', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a\u0019b', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a\u001ab', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a\u001bb', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a\u001cb', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a\u001db', {create:true}, 0); },
-            function(helper) { helper.getFile('/', 'a\u001eb', {create:true}, 0); }
-        ],
-        postcondition: [
-            {fullPath:'/ab'},
-        ],
-    },
-];
diff --git a/LayoutTests/fast/filesystem/resources/op-tests-helper.js b/LayoutTests/fast/filesystem/resources/op-tests-helper.js
deleted file mode 100644 (file)
index 42e9ef5..0000000
+++ /dev/null
@@ -1,413 +0,0 @@
-// Helper routine.
-function toString(obj) {
-    if (obj == undefined) {
-        return "undefined";
-    } else if (typeof obj == 'object') {
-        if (obj.length != undefined) {
-            var stringArray = [];
-            for (var i = 0; i < obj.length; ++i)
-                stringArray.push(toString(obj[i]));
-            stringArray.sort();
-            return '[' + stringArray.join(',\n ') + ']';
-        } else if (obj.isDirectory || obj.isFile) {
-            return 'ENTRY {path:' + obj.fullPath + ' name:' + obj.name + (obj.isDirectory ? ' type:DIRECTORY' : ' type:FILE') + '}';
-        } else {
-            return obj + "";
-        }
-    } else
-        return obj + "";
-}
-
-// Creates a test environment for the given entries where entries is an array of {fullPath:String, isDirectory:boolean} object.
-// When the world is created successfully, successCallback is called with an object that holds all the created entry objects.
-function createTestEnvironment(fileSystem, entries, successCallback, errorCallback)
-{
-    var Helper = function(fileSystem, entries, successCallback, errorCallback)
-    {
-        this.fileSystem = fileSystem;
-        this.entries = entries;
-        this.current = 0;
-        this.successCallback = successCallback;
-        this.errorCallback = errorCallback;
-        this.environment = {};
-
-        this.createSuccessCallback = function(entry, size)
-        {
-            if (entry.isFile && size > 0) {
-                entry.createWriter(bindCallback(this, function(writer) {
-                    writer.truncate(size);
-                    writer.onerror = bindCallback(this, this.createErrorCallback);
-                    writer.onwriteend = bindCallback(this, function() {
-                        this.environment[entry.fullPath] = entry;
-                        this.environment[entry.fullPath + '.size'] = size;
-                        this.createNextEntry();
-                    });
-                }), bindCallback(this, this.createErrorCallback));
-                return;
-            }
-            this.environment[entry.fullPath] = entry;
-            this.environment[entry.fullPath + '.size'] = 0;
-            this.createNextEntry();
-        }
-
-        this.createErrorCallback = function(error, entry)
-        {
-            testFailed('Got unexpected error ' + error.code + ' while creating ' + toString(entry));
-            this.errorCallback(error);
-        }
-
-        this.createNextEntry = function()
-        {
-            if (this.current >= this.entries.length) {
-                this.successCallback(this.environment);
-                return;
-            }
-            var entry = this.entries[this.current++];
-            if (entry.isDirectory)
-                fileSystem.root.getDirectory(entry.fullPath, {create:true}, bindCallback(this, this.createSuccessCallback), bindCallback(this, this.createErrorCallback));
-            else
-                fileSystem.root.getFile(entry.fullPath, {create:true}, bindCallback(this, this.createSuccessCallback, entry.size), bindCallback(this, this.createErrorCallback));
-        };
-    };
-
-    if (!entries || !entries.length) {
-        successCallback({});
-        return;
-    }
-    var helper = new Helper(fileSystem, entries, successCallback, errorCallback);
-    helper.createNextEntry();
-}
-
-function verifyTestEnvironment(fileSystem, entries, successCallback, errorCallback)
-{
-    var Helper = function(fileSystem, entries, successCallback, errorCallback)
-    {
-        this.fileSystem = fileSystem;
-        this.entries = entries;
-        this.current = 0;
-        this.successCallback = successCallback;
-        this.errorCallback = errorCallback;
-        this.expectedNonexistent = false;
-
-        this.verifySuccessCallback = function(entry)
-        {
-            if (this.expectedNonexistent) {
-                testFailed('Found unexpected entry ' + entry.fullPath);
-                this.errorCallback();
-                return;
-            }
-            testPassed('Verified entry: ' + toString(entry));
-            this.verifyNextEntry();
-        }
-
-        this.verifyErrorCallback = function(error, entry)
-        {
-            if (this.expectedNonexistent) {
-                testPassed('Verified entry does NOT exist: ' + entry.fullPath);
-                this.verifyNextEntry();
-                return;
-            }
-            if (error == FileError.NOT_FOUND_ERR)
-                testFailed('Not found: ' + entry.fullPath);
-            else
-                testFailed('Got unexpected error ' + error.code + ' for ' + entry.fullPath);
-            this.errorCallback(error);
-        }
-
-        this.verifyNextEntry = function()
-        {
-            if (this.current >= this.entries.length) {
-                this.successCallback();
-                return;
-            }
-            var entry = this.entries[this.current++];
-            this.expectedNonexistent = entry.nonexistent;
-            if (entry.isDirectory)
-                fileSystem.root.getDirectory(entry.fullPath, {}, bindCallback(this, this.verifySuccessCallback), bindCallback(this, this.verifyErrorCallback, entry));
-            else
-                fileSystem.root.getFile(entry.fullPath, {}, bindCallback(this, this.verifySuccessCallback), bindCallback(this, this.verifyErrorCallback, entry));
-        };
-    };
-
-    if (!entries || !entries.length) {
-        successCallback();
-        return;
-    }
-    var helper = new Helper(fileSystem, entries, successCallback, errorCallback);
-    helper.verifyNextEntry();
-}
-
-// testCase must have precondition, postcondition and test function field.
-// (See resources/op-*.js for examples.)
-function runOperationTest(fileSystem, testCase, successCallback, errorCallback)
-{
-    var OperationTestHelper = function(fileSystem, testCase, successCallback, errorCallback)
-    {
-        this.fileSystem = fileSystem;
-        this.testCase = testCase;
-        this.successCallback = successCallback;
-        this.errorCallback = errorCallback;
-        this.stage = '';
-        this.environment = {};
-        this.currentTest = 0;
-
-        this.currentReader = null;
-        this.readEntries = [];
-
-        this.getSymbolString = function(symbol)
-        {
-            return 'this.environment["' + symbol + '"]';
-        };
-
-        this.testSuccessCallback = function()
-        {
-            if (!this.expectedErrorCode) {
-                testPassed('Succeeded: ' + this.stage);
-                this.runNextTest();
-            } else
-                testFailed('Unexpectedly succeeded while ' + this.stage);
-        };
-
-        this.entry = null;
-        this.testGetSuccessCallback = function(entry)
-        {
-            if (!this.expectedErrorCode) {
-                testPassed('Succeeded: ' + this.stage);
-                this.entry = entry;
-                shouldBe.apply(this, ['this.environment[this.entry.fullPath].fullPath', '"' + entry.fullPath + '"']);
-                shouldBe.apply(this, ['this.environment[this.entry.fullPath].isFile + ""', '"' + entry.isFile + '"']);
-                shouldBe.apply(this, ['this.environment[this.entry.fullPath].isDirectory + ""', '"' + entry.isDirectory + '"']);
-                this.runNextTest();
-            } else
-                testFailed('Unexpectedly succeeded while ' + this.stage);
-        };
-
-        this.testCreateSuccessCallback = function(entry)
-        {
-            if (!this.expectedErrorCode) {
-                testPassed('Succeeded: ' + this.stage);
-                this.environment[entry.fullPath] = entry;
-                this.runNextTest();
-            } else
-                testFailed('Unexpectedly succeeded while ' + this.stage);
-        };
-
-        this.testGetParentSuccessCallback = function(entry)
-        {
-            if (!this.expectedErrorCode) {
-                testPassed('Succeeded: ' + this.stage);
-                debug('Parent entry: ' + toString(entry));
-                this.runNextTest();
-            } else
-                testFailed('Unexpectedly succeeded while ' + this.stage);
-        };
-
-        this.testReadEntriesSuccessCallback = function(entries)
-        {
-            if (this.expectedErrorCode)
-                testFailed('Unexpectedly succeeded while ' + this.stage);
-
-            for (var i = 0; i < entries.length; ++i)
-                this.readEntries.push(entries[i]);
-
-            if (entries.length) {
-                this.currentReader.readEntries(bindCallback(this, this.testReadEntriesSuccessCallback), bindCallback(this, this.testErrorCallback));
-                return;
-            }
-
-            testPassed('Succeeded: ' + this.stage);
-            debug('Entries: ' + toString(this.readEntries));
-            this.runNextTest();
-        };
-
-        this.testMetadataSuccessCallback = function(metadata, entry)
-        {
-            if (!this.expectedErrorCode) {
-                testPassed('Succeeded: ' + this.stage);
-                var symbol = entry + '.returned.modificationTime';
-                this.environment[symbol] = metadata.modificationTime;
-                var entryMetadataString = this.getSymbolString(symbol);
-                if (entry != '/') {
-                    shouldBeGreaterThanOrEqual.apply(this, [entryMetadataString, 'this.roundedStartDate']);
-                }
-                if (metadata.size) {
-                    this.environment[entry + '.returned.size'] = metadata.size;
-                    var entrySizeString = this.getSymbolString(entry + '.returned.size');
-                    var expectedSizeString = this.getSymbolString(entry + '.size');
-                    shouldBe.apply(this, [expectedSizeString, entrySizeString]);
-                }
-                this.runNextTest();
-            } else
-                testFailed('Unexpectedly succeeded while ' + this.stage);
-        };
-
-        this.testErrorCallback = function(error)
-        {
-            if (this.expectedErrorCode) {
-                shouldBe.apply(this, ['this.expectedErrorCode + ""', '"' + error.code + '"']);
-                this.runNextTest();
-            } else {
-                testFailed('Got unexpected error ' + error.code + ' while ' + this.stage);
-                this.errorCallback(error);
-            }
-        };
-
-        // Operations ---------------------------------------------------
-
-        this.getFile = function(entry, path, flags, expectedErrorCode)
-        {
-            this.expectedErrorCode = expectedErrorCode;
-            this.stage = '"' + entry + '".getFile("' + path + '")';
-            var successCallback = (flags && flags.create) ? this.testCreateSuccessCallback : this.testGetSuccessCallback;
-            this.environment[entry].getFile(path, flags, bindCallback(this, successCallback), bindCallback(this, this.testErrorCallback));
-        };
-
-        this.getDirectory = function(entry, path, flags, expectedErrorCode)
-        {
-            this.expectedErrorCode = expectedErrorCode;
-            this.stage = '"' + entry + '".getDirectory("' + path + '")';
-            var successCallback = (flags && flags.create) ? this.testCreateSuccessCallback : this.testGetSuccessCallback;
-            this.environment[entry].getDirectory(path, flags, bindCallback(this, successCallback), bindCallback(this, this.testErrorCallback));
-        };
-
-        this.getParent = function(entry, expectedErrorCode)
-        {
-            this.expectedErrorCode = expectedErrorCode;
-            this.stage = '"' + entry + '".getParent()';
-            this.environment[entry].getParent(bindCallback(this, this.testGetParentSuccessCallback), bindCallback(this, this.testErrorCallback));
-        };
-
-        this.getMetadata = function(entry, expectedErrorCode)
-        {
-            this.expectedErrorCode = expectedErrorCode;
-            this.stage = '"' + entry + '".getMetadata()';
-            this.environment[entry].getMetadata(bindCallback(this, this.testMetadataSuccessCallback, entry), bindCallback(this, this.testErrorCallback));
-        };
-
-        this.remove = function(entry, expectedErrorCode)
-        {
-            this.expectedErrorCode = expectedErrorCode;
-            this.stage = '"' + entry + '".remove()';
-            this.environment[entry].remove(bindCallback(this, this.testSuccessCallback), bindCallback(this, this.testErrorCallback));
-        };
-
-        this.removeRecursively = function(entry, expectedErrorCode)
-        {
-            this.expectedErrorCode = expectedErrorCode;
-            this.stage = '"' + entry + '".removeRecursively()';
-            this.environment[entry].removeRecursively(bindCallback(this, this.testSuccessCallback), bindCallback(this, this.testErrorCallback));
-        };
-
-        this.readDirectory = function(entry, expectedErrorCode)
-        {
-            this.expectedErrorCode = expectedErrorCode;
-            this.readEntries = [];
-            this.stage = '"' + entry + '".createReader().readEntries()';
-            this.currentReader = this.environment[entry].createReader();
-            this.currentReader.readEntries(bindCallback(this, this.testReadEntriesSuccessCallback), bindCallback(this, this.testErrorCallback));
-        };
-
-        this.copy = function(entry, destinationParent, newName, expectedErrorCode)
-        {
-            this.expectedErrorCode = expectedErrorCode;
-            this.stage = '"' + entry + '".copyTo("' + destinationParent + '", "' + newName + '")';
-            this.environment[entry].copyTo(this.environment[destinationParent], newName, bindCallback(this, this.testSuccessCallback), bindCallback(this, this.testErrorCallback));
-        };
-
-        this.move = function(entry, destinationParent, newName, expectedErrorCode)
-        {
-            this.expectedErrorCode = expectedErrorCode;
-            this.stage = '"' + entry + '".moveTo("' + destinationParent + '", "' + newName + '")';
-            this.environment[entry].moveTo(this.environment[destinationParent], newName, bindCallback(this, this.testSuccessCallback), bindCallback(this, this.testErrorCallback));
-        };
-
-        this.shouldBe = function(symbol1, symbol2)
-        {
-            shouldBe.apply(this, [this.getSymbolString(symbol1), this.getSymbolString(symbol2)]);
-            this.runNextTest();
-        };
-
-        this.shouldBeGreaterThanOrEqual = function(symbol1, symbol2)
-        {
-            shouldBeGreaterThanOrEqual.apply(this, [this.getSymbolString(symbol1), this.getSymbolString(symbol2)]);
-            this.runNextTest();
-        };
-
-        //---------------------------------------------------------------
-        this.start = function()
-        {
-            this.expectedErrorCode = '';
-            this.stage = 'resetting filesystem';
-            // Record rounded start date (current time minus 999 msec) here for the comparison. Entry.getMetadata() may return the last mod time in seconds accuracy while new Date() is milliseconds accuracy.
-            this.roundedStartDate = new Date((new Date()).getTime() - 999);
-            removeAllInDirectory(this.fileSystem.root, bindCallback(this, this.setUp), bindCallback(this, this.testErrorCallback));
-        };
-
-        this.setUp = function()
-        {
-            this.expectedErrorCode = '';
-            this.stage = 'setting up test precondition';
-            createTestEnvironment(this.fileSystem, this.testCase.precondition, bindCallback(this, this.runTests), bindCallback(this, this.testErrorCallback));
-        };
-
-        this.runNextTest = function()
-        {
-            if (this.currentTest >= this.testCase.tests.length) {
-                this.verify();
-                return;
-            }
-            this.testCase.tests[this.currentTest++](this);
-        };
-
-        this.runTests = function(environment)
-        {
-            this.environment = environment;
-            this.environment['/'] = this.fileSystem.root;
-            this.currentTest = 0;
-            this.runNextTest();
-        };
-
-        this.verify = function()
-        {
-            this.expectedErrorCode = '';
-            if (!this.testCase.postcondition) {
-                this.successCallback();
-                return;
-            }
-            this.stage = 'verifying test postcondition';
-            verifyTestEnvironment(this.fileSystem, this.testCase.postcondition, this.successCallback, bindCallback(this, this.testErrorCallback));
-        };
-    };
-
-    var helper = new OperationTestHelper(fileSystem, testCase, successCallback, errorCallback);
-    helper.start();
-}
-
-var currentTest = 0;
-var fileSystem = null;
-function runNextTest() {
-    if (currentTest >= testCases.length) {
-        debug('Finished running tests.');
-        finishJSTest();
-        return;
-    }
-
-    var testCase = testCases[currentTest++];
-    debug('* Running: ' + testCase.name);
-    runOperationTest(fileSystem, testCase, runNextTest, errorCallback);
-}
-
-function errorCallback(error) {
-    if (error && error.code)
-        testFailed('Got error ' + error.code);
-    finishJSTest();
-}
-
-function fileSystemCallback(fs)
-{
-    fileSystem = fs;
-    runNextTest();
-}
-
-var jsTestIsAsync = true;
-webkitRequestFileSystem(TEMPORARY, 100, fileSystemCallback, errorCallback);
diff --git a/LayoutTests/fast/filesystem/resources/shared-worker-stub.js b/LayoutTests/fast/filesystem/resources/shared-worker-stub.js
deleted file mode 100644 (file)
index 7ed33cb..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-// We don't start js-test-pre.js directly as the worker script because it screws
-// up the base of all relative paths passed to importScripts.
-importScripts('../../../resources/js-test-pre.js');
diff --git a/LayoutTests/fast/filesystem/resources/simple-persistent-sync.js b/LayoutTests/fast/filesystem/resources/simple-persistent-sync.js
deleted file mode 100644 (file)
index 9bfcf59..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-if (this.importScripts) {
-    importScripts('../resources/fs-worker-common.js');
-    importScripts('../../../resources/js-test-pre.js');
-    importScripts('../resources/fs-test-util.js');
-}
-
-description("webkitRequestFileSystemSync PERSISTENT test.");
-
-var fileSystem = webkitRequestFileSystemSync(PERSISTENT, 100);
-
-debug("Successfully obtained PERSISTENT FileSystem:" + fileSystem.name);
-shouldBeTrue("fileSystem.name.length > 0");
-shouldBe("fileSystem.root.fullPath", '"/"');
-finishJSTest();
diff --git a/LayoutTests/fast/filesystem/resources/simple-persistent.js b/LayoutTests/fast/filesystem/resources/simple-persistent.js
deleted file mode 100644 (file)
index 6a20b0b..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-if (this.importScripts) {
-    importScripts('../resources/fs-worker-common.js');
-    importScripts('../../../resources/js-test-pre.js');
-    importScripts('../resources/fs-test-util.js');
-}
-
-description("requestFileSystem PERSISTENT test.");
-
-var fileSystem = null;
-
-function errorCallback(error) {
-    debug("Error occured while requesting a PERSISTENT file system:" + error.code);
-    finishJSTest();
-}
-
-function successCallback(fs) {
-    fileSystem = fs;
-    debug("Successfully obtained PERSISTENT FileSystem:" + fileSystem.name);
-    shouldBeTrue("fileSystem.name.length > 0");
-    shouldBe("fileSystem.root.fullPath", '"/"');
-    finishJSTest();
-}
-
-var jsTestIsAsync = true;
-webkitRequestFileSystem(PERSISTENT, 100, successCallback, errorCallback);
diff --git a/LayoutTests/fast/filesystem/resources/simple-readonly.js b/LayoutTests/fast/filesystem/resources/simple-readonly.js
deleted file mode 100644 (file)
index ef7d96b..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-if (this.importScripts) {
-    importScripts('../resources/fs-worker-common.js');
-    importScripts('../../../resources/js-test-pre.js');
-    importScripts('../resources/fs-test-util.js');
-}
-
-description("FileSystem API readonly attributes test.");
-
-var fileSystem;
-var fileEntry;
-var fileMetadata;
-
-function setReadonlyProperty(property, value)
-{
-    oldValue = eval(property);
-    debug("trying to set readonly property " + property);
-    evalAndLog(property + " = " + value);
-    newValue = eval(property);
-    if (oldValue == newValue) {
-        testPassed(property + " is still " + oldValue);
-    } else {
-        testFailed(property + " value was changed");
-    }
-}
-
-function errorCallback(err) {
-  testFailed(err);
-  finishJSTest();
-}
-
-function getFileCallback(entry) {
-  fileEntry = entry;
-  setReadonlyProperty("fileEntry.isFile", "false");
-  setReadonlyProperty("fileEntry.isDirectory", "true");
-  setReadonlyProperty("fileEntry.name", "'bar'");
-  setReadonlyProperty("fileEntry.fullPath", "'bar'");
-  setReadonlyProperty("fileEntry.filesystem", "null");
-  finishJSTest();
-}
-
-function successCallback(fs) {
-  fileSystem = fs;
-  setReadonlyProperty("fileSystem.name", "'bar'");
-  root = evalAndLog("root = fileSystem.root");
-  evalAndLog("root.getFile('foo', {create:true}, getFileCallback, errorCallback)");
-}
-
-var jsTestIsAsync = true;
-evalAndLog("webkitRequestFileSystem(TEMPORARY, 100, successCallback, errorCallback)");
diff --git a/LayoutTests/fast/filesystem/resources/simple-required-arguments-getdirectory.js b/LayoutTests/fast/filesystem/resources/simple-required-arguments-getdirectory.js
deleted file mode 100644 (file)
index 99bc4d1..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-if (this.importScripts) {
-    importScripts('../resources/fs-worker-common.js');
-    importScripts('../../../resources/js-test-pre.js');
-    importScripts('../resources/fs-test-util.js');
-}
-
-description("DirectoryEntry required arguments test.");
-
-var fileSystem = null;
-
-function errorCallback(error) {
-    debug("Error occured while requesting a TEMPORARY file system:" + error.code);
-    finishJSTest();
-}
-
-function successCallback(fs) {
-    fileSystem = fs;
-    debug("Successfully obtained TEMPORARY FileSystem:" + fileSystem.name);
-    root = evalAndLog("root = fileSystem.root");
-    shouldThrow("root.getDirectory()");
-    finishJSTest();
-}
-
-var jsTestIsAsync = true;
-evalAndLog("webkitRequestFileSystem(TEMPORARY, 100, successCallback, errorCallback);");
-var successfullyParsed = true;
diff --git a/LayoutTests/fast/filesystem/resources/simple-required-arguments-getfile.js b/LayoutTests/fast/filesystem/resources/simple-required-arguments-getfile.js
deleted file mode 100644 (file)
index 00beed9..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-if (this.importScripts) {
-    importScripts('../resources/fs-worker-common.js');
-    importScripts('../../../resources/js-test-pre.js');
-    importScripts('../resources/fs-test-util.js');
-}
-
-description("DirectoryEntry required arguments test.");
-
-var fileSystem = null;
-
-function errorCallback(error) {
-    debug("Error occured while requesting a TEMPORARY file system:" + error.code);
-    finishJSTest();
-}
-
-function successCallback(fs) {
-    fileSystem = fs;
-    debug("Successfully obtained TEMPORARY FileSystem:" + fileSystem.name);
-    root = evalAndLog("root = fileSystem.root");
-    shouldThrow("root.getFile()");
-    finishJSTest();
-}
-
-var jsTestIsAsync = true;
-evalAndLog("webkitRequestFileSystem(TEMPORARY, 100, successCallback, errorCallback);");
-var successfullyParsed = true;
diff --git a/LayoutTests/fast/filesystem/resources/simple-required-arguments-getmetadata.js b/LayoutTests/fast/filesystem/resources/simple-required-arguments-getmetadata.js
deleted file mode 100644 (file)
index c1a3757..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-if (this.importScripts) {
-    importScripts('../resources/fs-worker-common.js');
-    importScripts('../../../resources/js-test-pre.js');
-    importScripts('../resources/fs-test-util.js');
-}
-
-description("DirectoryEntry.getMetadata required arguments test.");
-
-var fileSystem = null;
-
-function errorCallback(error) {
-    debug("Error occured while requesting a TEMPORARY file system:" + error.code);
-    finishJSTest();
-}
-
-function successCallback(fs) {
-    fileSystem = fs;
-    debug("Successfully obtained TEMPORARY FileSystem:" + fileSystem.name);
-    root = evalAndLog("root = fileSystem.root");
-    shouldThrow("root.getMetadata()");
-    finishJSTest();
-}
-
-var jsTestIsAsync = true;
-evalAndLog("webkitRequestFileSystem(TEMPORARY, 100, successCallback, errorCallback);");
-var successfullyParsed = true;
diff --git a/LayoutTests/fast/filesystem/resources/simple-required-arguments-remove.js b/LayoutTests/fast/filesystem/resources/simple-required-arguments-remove.js
deleted file mode 100644 (file)
index 0cb28c6..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-if (this.importScripts) {
-    importScripts('../resources/fs-worker-common.js');
-    importScripts('../../../resources/js-test-pre.js');
-    importScripts('../resources/fs-test-util.js');
-}
-
-description("Entry.remove() required arguments test.");
-
-var fileSystem = null;
-
-function errorCallback(error) {
-    debug("Error occured while requesting a TEMPORARY file system:" + error.code);
-    finishJSTest();
-}
-
-function successCallback(fs) {
-    fileSystem = fs;
-    debug("Successfully obtained TEMPORARY FileSystem:" + fileSystem.name);
-    root = evalAndLog("root = fileSystem.root");
-    shouldThrow("root.remove()");
-    finishJSTest();
-}
-
-var jsTestIsAsync = true;
-evalAndLog("webkitRequestFileSystem(TEMPORARY, 100, successCallback, errorCallback);");
-var successfullyParsed = true;
diff --git a/LayoutTests/fast/filesystem/resources/simple-temporary-sync.js b/LayoutTests/fast/filesystem/resources/simple-temporary-sync.js
deleted file mode 100644 (file)
index 91231e0..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-if (this.importScripts) {
-    importScripts('../resources/fs-worker-common.js');
-    importScripts('../../../resources/js-test-pre.js');
-    importScripts('../resources/fs-test-util.js');
-}
-
-description("requestFileSystemSync TEMPORARY test.");
-
-var fileSystem = webkitRequestFileSystemSync(TEMPORARY, 100);
-
-debug("Successfully obtained TEMPORARY FileSystem:" + fileSystem.name);
-shouldBeTrue("fileSystem.name.length > 0");
-shouldBe("fileSystem.root.fullPath", '"/"');
-finishJSTest();
diff --git a/LayoutTests/fast/filesystem/resources/simple-temporary.js b/LayoutTests/fast/filesystem/resources/simple-temporary.js
deleted file mode 100644 (file)
index 32e79d5..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-if (this.importScripts) {
-    importScripts('../resources/fs-worker-common.js');
-    importScripts('../../../resources/js-test-pre.js');
-    importScripts('../resources/fs-test-util.js');
-}
-
-description("requestFileSystem TEMPORARY test.");
-
-var fileSystem = null;
-
-function errorCallback(error) {
-    debug('Error occured while requesting a TEMPORARY file system:' + error.code);
-    finishJSTest();
-}
-
-function successCallback(fs) {
-    fileSystem = fs;
-    debug("Successfully obtained TEMPORARY FileSystem:" + fileSystem.name);
-    shouldBeTrue("fileSystem.name.length > 0");
-    shouldBe("fileSystem.root.fullPath", '"/"');
-    finishJSTest();
-}
-
-var jsTestIsAsync = true;
-webkitRequestFileSystem(TEMPORARY, 100, successCallback, errorCallback);
diff --git a/LayoutTests/fast/filesystem/resources/sync-operations.js b/LayoutTests/fast/filesystem/resources/sync-operations.js
deleted file mode 100644 (file)
index 878cbc8..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-if (this.importScripts) {
-    importScripts('../resources/fs-worker-common.js');
-    importScripts('../../../resources/js-test-pre.js');
-    importScripts('../resources/fs-test-util.js');
-}
-
-description("Test making multiple synchronous FileSystem operations.");
-
-var fileSystem = webkitRequestFileSystemSync(this.TEMPORARY, 100);
-removeAllInDirectorySync(fileSystem.root);
-
-// Stage 1 (prepare)
-var a = fileSystem.root.getFile('a', {create:true});
-var b = fileSystem.root.getDirectory('b', {create:true});
-var c = fileSystem.root.getDirectory('c', {create:true});
-var d = fileSystem.root.getFile('d', {create:true});
-
-// Stage 2 (test)
-var a_copy = a.copyTo(b, 'tmp');
-var metadata = a.getMetadata();
-var b_parent = b.getParent();
-var c_copy = c.copyTo(fileSystem.root, 'f');
-var d_new = d.moveTo(fileSystem.root, 'd2');
-var e = fileSystem.root.getFile('e', {create:true});
-
-// Verify
-var reader = fileSystem.root.createReader();
-var dirsCount = 0;
-var paths = [];
-do {
-    var entries = reader.readEntries();
-    for (var i = 0; i < entries.length; ++i) {
-        paths.push(entries[i].fullPath);
-        if (entries[i].isDirectory)
-            dirsCount++;
-    }
-} while (entries.length);
-
-paths.sort();
-shouldBe('"' + paths.join(',') + '"', '"/a,/b,/c,/d2,/e,/f"');
-shouldBe("dirsCount", "3");
-removeAllInDirectorySync(fileSystem.root);
-finishJSTest();
diff --git a/LayoutTests/fast/filesystem/script-tests/TEMPLATE.html b/LayoutTests/fast/filesystem/script-tests/TEMPLATE.html
deleted file mode 100644 (file)
index 2ff82c9..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<html>
-<head>
-<script src="../../resources/js-test-pre.js"></script>
-<script src="resources/fs-test-util.js"></script>
-</head>
-<body>
-<script src="YOUR_JS_FILE_HERE"></script>
-<script src="../../resources/js-test-post.js"></script>
-</body>
-</html>
diff --git a/LayoutTests/fast/filesystem/script-tests/filesystem-reference.js b/LayoutTests/fast/filesystem/script-tests/filesystem-reference.js
deleted file mode 100644 (file)
index 7f755f3..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-description("This tests if Entries returned by callbacks keep functioning even after we lose a reference to the filesystem in the script.");
-
-var testDirectory = null;
-var testEntries = null;
-
-function errorCallback(error)
-{
-    testFailed("Error occurred: " + error.code);
-    finishJSTest();
-}
-
-function runTest1(root)
-{
-    debug("Running runTest1()...");
-    var helper = new JoinHelper();
-    var done = function() { helper.done(); };
-
-    helper.run(function() { root.getFile('a', {create:true}, done, errorCallback); });
-    helper.run(function() { root.getDirectory('b', {create:true}, done, errorCallback); });
-    helper.run(function() { root.getDirectory('c', {create:true}, done, errorCallback); });
-
-    gc();
-    helper.join(function() { runTest2(root); });
-}
-
-function runTest2(root)
-{
-    debug("Running runTest2()...");
-    var helper = new JoinHelper();
-    var done = function() { helper.done(); };
-
-    helper.run(function() { root.getFile('/b/1', {create:true}, done, errorCallback); });
-    helper.run(function() { root.getFile('/b/2', {create:true}, done, errorCallback); });
-    helper.run(function() { root.getFile('/b/3', {create:true}, done, errorCallback); });
-    helper.run(function() { root.getFile('/b/4', {create:true}, done, errorCallback); });
-    helper.run(function() { root.getDirectory('b', {create:false}, function(entry) { testDirectory = entry; helper.done(); }, errorCallback); });
-
-    gc();
-    helper.join(function() { runTest3(); });
-}
-
-function runTest3()
-{
-    debug("Running runTest3()...");
-    testDirectory.createReader().readEntries(entriesCallback, errorCallback);
-    testDirectory = null;
-    gc();
-}
-
-function entriesCallback(entries)
-{
-    debug("Running runTest4()...");
-    testEntries = entries;
-    shouldBe("testEntries.length", "4");
-    finishJSTest();
-}
-
-function fileSystemCallback(fs)
-{
-    var root = fs.root;
-    removeAllInDirectory(fs.root, function() { runTest1(root); }, errorCallback);
-    fs = null;
-    gc();
-}
-
-if (window.webkitRequestFileSystem) {
-    window.jsTestIsAsync = true;
-    webkitRequestFileSystem(window.TEMPORARY, 100, fileSystemCallback, errorCallback);
-} else
-    debug("This test requires FileSystem API support.");
diff --git a/LayoutTests/fast/filesystem/script-tests/filesystem-unserializable.js b/LayoutTests/fast/filesystem/script-tests/filesystem-unserializable.js
deleted file mode 100644 (file)
index da40914..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-description("This tests if the filesystem object is unserializable by default");
-
-function errorCallback(error)
-{
-    testFailed("Error occurred: " + error.code);
-    finishJSTest();
-}
-
-function fileSystemCallback(fs)
-{
-    try {
-        postMessage(fs, '*');
-    } catch (e) {
-        debug(e.message);
-    }
-
-    finishJSTest();
-}
-
-function onmessage()
-{
-}
-
-if (window.webkitRequestFileSystem) {
-    window.addEventListener('message', onmessage, false);
-    window.jsTestIsAsync = true;
-    webkitRequestFileSystem(window.TEMPORARY, 100, fileSystemCallback, errorCallback);
-} else
-    debug("This test requires FileSystem API support.");
diff --git a/LayoutTests/fast/filesystem/script-tests/flags-passing.js b/LayoutTests/fast/filesystem/script-tests/flags-passing.js
deleted file mode 100644 (file)
index 92e0c49..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-description("Passing Flags parameter tests. This test checks if passing Flags parameters to DirectoryEntry.getFile does not crash and works as expected.");
-
-var testFileName = '/non_existent_file';
-var fileSystem = null;
-var expectedCallbacksCount = 0;
-var unexpectedCallbacksCount = 0;
-var expected = function(e) { expectedCallbacksCount++; };
-var unexpected = function(e) { unexpectedCallbacksCount++; };
-
-var testsList = [
-    runObjectTest,
-    cleanupAndRunNext,
-    runJSONTest,
-    runJSONTestWithExclusive,
-    runNullTest,
-    runNonObjectTest
-];
-var testCounter = 0;
-
-function runNextTest(v) {
-    if (testCounter == testsList.length) {
-        debug("Finished running tests.");
-        shouldBe('expectedCallbacksCount', '1');
-        shouldBe('unexpectedCallbacksCount', '0');
-        finishJSTest();
-    } else
-        (testsList[testCounter++])();
-}
-
-function errorCallback(error) {
-    debug("Error occured during requesting Temporary FileSystem:" + error.code);
-    finishJSTest();
-}
-
-// Test body functions ----------------------------------------------------
-function runNullTest(v) {
-    debug("* Passing null as a flags parameter.");
-
-    // This should be ok and we treat it as {false, false} Flags.
-    fileSystem.root.getFile(testFileName, null, runNextTest, errorCallback);
-}
-
-function runNonObjectTest(v) {
-    debug("* Passing a number as a flags parameter.");
-
-    try {
-        // This should be not be ok because 7 is not an object.
-        fileSystem.root.getFile(testFileName, 7, errorCallback, errorCallback);
-    } catch (ex) {
-        debug("Caught exception: " + ex);
-        runNextTest();
-    }
-}
-
-function runObjectTest(v) {
-    // WebKitFlags no longer has a visible constructor.
-    if (window.WebKitFlags)
-        throw "There should be no constructor for WebKitFlags!";
-    runNextTest();
-}
-
-function runJSONTest(v) {
-    debug("* Passing JSON Flags object.");
-
-    fileSystem.root.getFile(testFileName, {create:false}, unexpected, expected);
-    fileSystem.root.getFile(testFileName, {create:true}, runNextTest, errorCallback);
-}
-
-function runJSONTestWithExclusive(v) {
-    debug("* Passing JSON Flags object (with exclusive=true).");
-
-    // This should fail.
-    fileSystem.root.getFile(testFileName, {create:true, exclusive:true}, errorCallback, runNextTest);
-}
-
-// End of test body functions ---------------------------------------------
-
-function cleanupAndRunNext(v) {
-    fileSystem.root.getFile(testFileName, {create:false}, function(entry) {
-        // Remove the entry before start testing.
-        entry.remove(runNextTest, errorCallback);
-    }, runNextTest);
-}
-
-function fileSystemCallback(fs) {
-    fileSystem = fs;
-    cleanupAndRunNext();
-}
-
-if (window.webkitRequestFileSystem) {
-    window.jsTestIsAsync = true;
-    webkitRequestFileSystem(window.TEMPORARY, 100, fileSystemCallback, errorCallback);
-} else
-    debug("This test requires FileSystem API support.");
diff --git a/LayoutTests/fast/filesystem/script-tests/read-directory.js b/LayoutTests/fast/filesystem/script-tests/read-directory.js
deleted file mode 100644 (file)
index e88ff31..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
-description("DirectoryReader.readEntries() test.");
-var fileSystem = null;
-var reader = null;
-var resultEntries = [];
-
-var readEntriesCount = 0;
-var entriesCallbackCount = 0;
-
-// path: isDirectory map.
-var testEntries = {
-    '/a': true,
-    '/b': false,
-    '/c': true,
-    '/d': false,
-    '/e': false,
-    '/f': true,
-};
-var testEntriesCount = 0;
-
-function endTest()
-{
-    removeAllInDirectory(fileSystem.root);
-    finishJSTest();
-}
-
-function errorCallback(error)
-{
-    debug("Error occured:" + error.code);
-    endTest();
-}
-
-var entry = null;
-function verifyTestResult()
-{
-    shouldBe('readEntriesCount', 'entriesCallbackCount');
-    shouldBe('resultEntries.length', 'testEntriesCount');
-    resultEntries.sort(function(a, b) { return (a.fullPath > b.fullPath) ? 1 : (a.fullPath < b.fullPath) ? -1 : 0; });
-    for (i = 0; i < resultEntries.length; ++i) {
-        entry = resultEntries[i];
-        debug('Entry:' + entry.fullPath + ' isDirectory:' + entry.isDirectory);
-        shouldBe('testEntries[entry.fullPath]', 'entry.isDirectory');
-    }
-}
-
-function entriesCallback(entries)
-{
-    entriesCallbackCount++;
-
-    for (var i = 0; i < entries.length; ++i)
-        resultEntries.push(entries[i]);
-
-    if (entries.length) {
-        readEntriesCount++;
-        reader.readEntries(entriesCallback, errorCallback);
-    } else {
-        // Must have read all the entries.
-        verifyTestResult();
-        endTest();
-    }
-}
-
-function runReadDirectoryTest()
-{
-    readEntriesCount++;
-    reader = fileSystem.root.createReader();
-    reader.readEntries(entriesCallback, errorCallback);
-}
-
-function prepareForTest()
-{
-    var helper = new JoinHelper();
-    var done = function() { helper.done(); };
-
-    for (var path in testEntries) {
-        testEntriesCount++;
-        if (testEntries[path])
-            helper.run(function() { fileSystem.root.getDirectory(path, {create:true}, done, errorCallback); });
-        else
-            helper.run(function() { fileSystem.root.getFile(path, {create:true}, done, errorCallback); });
-    }
-    helper.join(runReadDirectoryTest);
-}
-
-function successCallback(fs)
-{
-    fileSystem = fs;
-    debug("Successfully obtained Persistent FileSystem:" + fileSystem.name);
-    removeAllInDirectory(fileSystem.root, prepareForTest, errorCallback);
-}
-
-if (window.webkitRequestFileSystem) {
-    webkitRequestFileSystem(window.TEMPORARY, 100, successCallback, errorCallback);
-    window.jsTestIsAsync = true;
-} else
-    debug("This test requires FileSystem API support.");
diff --git a/LayoutTests/fast/filesystem/simple-persistent-expected.txt b/LayoutTests/fast/filesystem/simple-persistent-expected.txt
deleted file mode 100644 (file)
index 7dbcca9..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-requestFileSystem PERSISTENT test.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-Successfully obtained PERSISTENT FileSystem:file__0:Persistent
-PASS fileSystem.name.length > 0 is true
-PASS fileSystem.root.fullPath is "/"
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/fast/filesystem/simple-persistent.html b/LayoutTests/fast/filesystem/simple-persistent.html
deleted file mode 100644 (file)
index db8ffd2..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<html>
-<head>
-<script src="../../resources/js-test-pre.js"></script>
-</head>
-<body>
-<script src="resources/simple-persistent.js"></script>
-<script src="../../resources/js-test-post.js"></script>
-</body>
-</html>
diff --git a/LayoutTests/fast/filesystem/simple-readonly-expected.txt b/LayoutTests/fast/filesystem/simple-readonly-expected.txt
deleted file mode 100644 (file)
index 0ae04b6..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-FileSystem API readonly attributes test.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-webkitRequestFileSystem(TEMPORARY, 100, successCallback, errorCallback)
-trying to set readonly property fileSystem.name
-fileSystem.name = 'bar'
-PASS fileSystem.name is still file__0:Temporary
-root = fileSystem.root
-root.getFile('foo', {create:true}, getFileCallback, errorCallback)
-trying to set readonly property fileEntry.isFile
-fileEntry.isFile = false
-PASS fileEntry.isFile is still true
-trying to set readonly property fileEntry.isDirectory
-fileEntry.isDirectory = true
-PASS fileEntry.isDirectory is still false
-trying to set readonly property fileEntry.name
-fileEntry.name = 'bar'
-PASS fileEntry.name is still foo
-trying to set readonly property fileEntry.fullPath
-fileEntry.fullPath = 'bar'
-PASS fileEntry.fullPath is still /foo
-trying to set readonly property fileEntry.filesystem
-fileEntry.filesystem = null
-PASS fileEntry.filesystem is still [object DOMFileSystem]
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/fast/filesystem/simple-readonly-file-object-expected.txt b/LayoutTests/fast/filesystem/simple-readonly-file-object-expected.txt
deleted file mode 100644 (file)
index 077f41c..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-Test readonly attributes of File.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-webkitRequestFileSystem(TEMPORARY, 100, fileSystemCallback, errorCallback);
-removeAllInDirectory(fileSystem.root, createTestFile, errorCallback);
-fileSystem.root.getFile(testFileName, {create:true}, getFileFromEntry, errorCallback);
-testFileEntry.file(fileCallback, errorCallback);
-trying to set readonly property testFile.size
-testFile.size = 1
-PASS testFile.size is still 0
-trying to set readonly property testFile.type
-testFile.type = 'application/octet-stream'
-PASS testFile.type is still text/plain
-trying to set readonly property testFile.name
-testFile.name = 'bar'
-PASS testFile.name is still testFileEntry.txt
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/fast/filesystem/simple-readonly-file-object.html b/LayoutTests/fast/filesystem/simple-readonly-file-object.html
deleted file mode 100644 (file)
index 8e62733..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script src="resources/fs-test-util.js"></script>
-<script src="../../resources/js-test-pre.js"></script>
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-<script>
-description("Test readonly attributes of File.");
-
-var fileSystem = null;
-var testFileName = '/testFileEntry.txt';
-var testFileEntry = null;
-var testFile = null;
-
-function setReadonlyProperty(property, value)
-{
-    oldValue = eval(property);
-    debug("trying to set readonly property " + property);
-    evalAndLog(property + " = " + value);
-    newValue = eval(property);
-    if (oldValue == newValue) {
-        testPassed(property + " is still " + oldValue);
-    } else {
-        testFailed(property + " value was changed");
-    }
-}
-
-function errorCallback(error) {
-    testFailed("Error occured:" + error.code);
-    finishJSTest();
-}
-
-function fileCallback(file) {
-    testFile = file;
-    setReadonlyProperty("testFile.size", "1");
-    setReadonlyProperty("testFile.type", "'application/octet-stream'");
-    setReadonlyProperty("testFile.name", "'bar'");
-    finishJSTest();
-}
-
-function getFileFromEntry(entry) {
-    testFileEntry = entry;
-    evalAndLog("testFileEntry.file(fileCallback, errorCallback);");
-}
-
-function createTestFile() {
-    evalAndLog("fileSystem.root.getFile(testFileName, {create:true}, getFileFromEntry, errorCallback);");
-}
-
-function fileSystemCallback(fs) {
-    fileSystem = fs;
-    evalAndLog("removeAllInDirectory(fileSystem.root, createTestFile, errorCallback);");
-}
-
-var jsTestIsAsync = true;
-evalAndLog("webkitRequestFileSystem(TEMPORARY, 100, fileSystemCallback, errorCallback);");
-</script>
-<script src="../../resources/js-test-post.js"></script>
-</body>
-</html>
diff --git a/LayoutTests/fast/filesystem/simple-readonly.html b/LayoutTests/fast/filesystem/simple-readonly.html
deleted file mode 100644 (file)
index 9b3c04a..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<html>
-<head>
-<script src="../../resources/js-test-pre.js"></script>
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-<script src="resources/simple-readonly.js"></script>
-<script src="../../resources/js-test-post.js"></script>
-</body>
-</html>
diff --git a/LayoutTests/fast/filesystem/simple-required-arguments-getdirectory-expected.txt b/LayoutTests/fast/filesystem/simple-required-arguments-getdirectory-expected.txt
deleted file mode 100644 (file)
index acb1256..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-DirectoryEntry required arguments test.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-webkitRequestFileSystem(TEMPORARY, 100, successCallback, errorCallback);
-Successfully obtained TEMPORARY FileSystem:file__0:Temporary
-root = fileSystem.root
-PASS root.getDirectory() threw exception TypeError: Not enough arguments.
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/fast/filesystem/simple-required-arguments-getdirectory.html b/LayoutTests/fast/filesystem/simple-required-arguments-getdirectory.html
deleted file mode 100644 (file)
index 94670b0..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<html>
-<head>
-<script src="../../resources/js-test-pre.js"></script>
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-<script src="resources/simple-required-arguments-getdirectory.js"></script>
-<script src="../../resources/js-test-post.js"></script>
-</body>
-</html>
diff --git a/LayoutTests/fast/filesystem/simple-required-arguments-getfile-expected.txt b/LayoutTests/fast/filesystem/simple-required-arguments-getfile-expected.txt
deleted file mode 10