gecko-dev/dom/indexedDB/test/mochitest.ini

269 строки
8.5 KiB
INI
Исходник Обычный вид История

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
[DEFAULT]
support-files =
bfcache_iframe1.html
bfcache_iframe2.html
blob_worker_crash_iframe.html
error_events_abort_transactions_iframe.html
event_propagation_iframe.html
exceptions_in_events_iframe.html
file.js
helpers.js
leaving_page_iframe.html
third_party_iframe1.html
third_party_iframe2.html
unit/test_abort_deleted_index.js
unit/test_abort_deleted_objectStore.js
unit/test_add_put.js
unit/test_add_twice_failure.js
unit/test_advance.js
unit/test_autoIncrement.js
unit/test_autoIncrement_indexes.js
unit/test_blob_file_backed.js
unit/test_blocked_order.js
unit/test_clear.js
unit/test_complex_keyPaths.js
unit/test_count.js
unit/test_create_index.js
unit/test_create_index_with_integer_keys.js
unit/test_create_locale_aware_index.js
unit/test_create_objectStore.js
unit/test_cursor_mutation.js
unit/test_cursor_update_updates_indexes.js
unit/test_cursors.js
unit/test_database_onclose.js
unit/test_deleteDatabase.js
unit/test_deleteDatabase_interactions.js
unit/test_deleteDatabase_onblocked.js
unit/test_deleteDatabase_onblocked_duringVersionChange.js
unit/test_event_source.js
unit/test_filehandle_append_read_data.js
unit/test_getAll.js
unit/test_globalObjects_ipc.js
unit/test_globalObjects_other.js
unit/test_globalObjects_xpc.js
unit/test_global_data.js
unit/test_index_empty_keyPath.js
unit/test_index_getAll.js
unit/test_index_getAllObjects.js
unit/test_index_object_cursors.js
unit/test_index_update_delete.js
unit/test_indexes.js
unit/test_indexes_bad_values.js
unit/test_indexes_funny_things.js
2014-11-08 03:42:53 +03:00
unit/test_invalid_cursor.js
unit/test_invalid_version.js
unit/test_invalidate.js
unit/test_key_requirements.js
unit/test_keys.js
unit/test_locale_aware_indexes.js
unit/test_locale_aware_index_getAll.js
unit/test_locale_aware_index_getAllObjects.js
unit/test_lowDiskSpace.js
unit/test_maximal_serialized_object_size.js
unit/test_multientry.js
unit/test_names_sorted.js
unit/test_objectCursors.js
unit/test_objectStore_getAllKeys.js
unit/test_objectStore_inline_autoincrement_key_added_on_put.js
unit/test_objectStore_openKeyCursor.js
unit/test_objectStore_remove_values.js
unit/test_object_identity.js
unit/test_odd_result_order.js
unit/test_open_empty_db.js
unit/test_open_for_principal.js
unit/test_open_objectStore.js
unit/test_optionalArguments.js
unit/test_overlapping_transactions.js
unit/test_persistenceType.js
unit/test_put_get_values.js
unit/test_put_get_values_autoIncrement.js
unit/test_readonly_transactions.js
unit/test_readwriteflush_disabled.js
unit/test_remove_index.js
unit/test_rename_index.js
unit/test_rename_index_errors.js
unit/test_remove_objectStore.js
unit/test_rename_objectStore.js
unit/test_rename_objectStore_errors.js
unit/test_request_readyState.js
unit/test_setVersion.js
unit/test_setVersion_abort.js
unit/test_setVersion_events.js
unit/test_setVersion_exclusion.js
unit/test_setVersion_throw.js
unit/test_storage_manager_estimate.js
unit/test_success_events_after_abort.js
unit/test_table_locks.js
unit/test_table_rollback.js
unit/test_temporary_storage.js
unit/test_traffic_jam.js
unit/test_transaction_abort.js
unit/test_transaction_abort_hang.js
unit/test_transaction_duplicate_store_names.js
unit/test_transaction_error.js
unit/test_transaction_lifetimes.js
unit/test_transaction_lifetimes_nested.js
unit/test_transaction_ordering.js
unit/test_unique_index_update.js
unit/test_view_put_get_values.js
unit/test_wasm_cursors.js
unit/test_wasm_getAll.js
unit/test_wasm_index_getAllObjects.js
unit/test_wasm_indexes.js
unit/test_wasm_put_get_values.js
unit/test_writer_starvation.js
[test_abort_deleted_index.html]
[test_abort_deleted_objectStore.html]
[test_add_put.html]
[test_add_twice_failure.html]
[test_advance.html]
[test_autoIncrement.html]
[test_autoIncrement_indexes.html]
[test_bfcache.html]
[test_blob_file_backed.html]
[test_blob_simple.html]
[test_blob_worker_crash.html]
skip-if = e10s && os == 'win' && os_version == '6.1' # Bug 1342415
[test_blob_worker_xhr_post.html]
skip-if = e10s && os == 'win' && os_version == '6.1' # Bug 1342415
[test_blob_worker_xhr_post_multifile.html]
skip-if = e10s && os == 'win' && os_version == '6.1' # Bug 1342415
[test_blob_worker_xhr_read.html]
[test_blob_worker_xhr_read_slice.html]
[test_blocked_order.html]
[test_bug937006.html]
[test_clear.html]
[test_complex_keyPaths.html]
[test_count.html]
[test_create_index.html]
[test_create_index_with_integer_keys.html]
[test_create_objectStore.html]
[test_cursor_mutation.html]
[test_cursor_update_updates_indexes.html]
[test_cursors.html]
[test_database_onclose.html]
[test_deleteDatabase.html]
[test_deleteDatabase_interactions.html]
[test_deleteDatabase_onblocked.html]
[test_deleteDatabase_onblocked_duringVersionChange.html]
[test_error_events_abort_transactions.html]
[test_event_propagation.html]
[test_event_source.html]
[test_exceptions_in_events.html]
[test_file_array.html]
[test_file_cross_database_copying.html]
[test_file_delete.html]
[test_file_os_delete.html]
Bug 1319531 - Ensure all streams provided by DatabaseFile can be read without generating NS_BASE_STREAM_WOULD_BLOCK errors. r=janv IndexedDB database operations are written such that they must execute synchronously. For this reason, the add/put operation reads/writes its Blobs to disk in a synchronous fashion. However, with the introduction of SendStream-backed Blobs for large (>1 MiB) blobs whose contents are streamed to the parent replacing nsStringInputStream-backed Blobs (whose contents were sent up in a single IPC message that might exceed the size limit and cause a crash), this has no longer been a safe assumption. However, the problems weren't immediately obvious because most pre-WASM Blobs are smaller than the 1MiB threshold and even when they exceeded the size, their memory-backed contents could rapidly be sent to the parent via IPC, making NS_BASE_STREAM_WOULD_BLOCK errors rare/hard to reproduce. (rr and its enforced single-threading is a good way to reproduce, however. Also, see the testing patch on the bug that introduces artificial delays into SendStream.) Included SpecialPowersObserver.jsm minor changes to "CreateFiles": - appendRelativePath is used instead of appendPath because appendPath only allows a single path component to be appended. In other words, file creation is limited to files at the root of the profile directory using appendPath, which is needlessly limiting. - outStream is now closed even if no data is provided. This is essential on windows where file deletion only occurs when all handles are closed. Without this fix, "RemoveFiles" side-effect of deleting the created files might not take effect until garbage collection runs and collects the outStream.
2017-01-30 09:07:27 +03:00
[test_file_put_deleted.html]
[test_file_put_get_object.html]
[test_file_put_get_values.html]
[test_file_replace.html]
[test_file_resurrection_delete.html]
[test_file_resurrection_transaction_abort.html]
[test_file_sharing.html]
[test_file_transaction_abort.html]
Bug 1029209 - Extract IndexedDB FileHandle from core FileHandle implementation (WebIDL changes: merge MutableFile into IDBMutableFile, rename FileHandle to IDBFileHandle, DOMFileMetadataParameters to IDBFileMetadataParameters and FileRequest to IDBFileRequest); r=bent --HG-- rename : dom/filehandle/File.cpp => dom/indexedDB/FileSnapshot.cpp rename : dom/filehandle/File.h => dom/indexedDB/FileSnapshot.h rename : dom/filehandle/test/dummy_worker.js => dom/indexedDB/test/dummy_worker.js rename : dom/filehandle/test/test_append_read_data.html => dom/indexedDB/test/test_filehandle_append_read_data.html rename : dom/filehandle/test/test_compat.html => dom/indexedDB/test/test_filehandle_compat.html rename : dom/filehandle/test/test_getFile.html => dom/indexedDB/test/test_filehandle_getFile.html rename : dom/filehandle/test/test_filehandle_lifetimes.html => dom/indexedDB/test/test_filehandle_lifetimes.html rename : dom/filehandle/test/test_filehandle_lifetimes_nested.html => dom/indexedDB/test/test_filehandle_lifetimes_nested.html rename : dom/filehandle/test/test_location.html => dom/indexedDB/test/test_filehandle_location.html rename : dom/filehandle/test/test_filehandle_ordering.html => dom/indexedDB/test/test_filehandle_ordering.html rename : dom/filehandle/test/test_overlapping_filehandles.html => dom/indexedDB/test/test_filehandle_overlapping.html rename : dom/filehandle/test/test_progress_events.html => dom/indexedDB/test/test_filehandle_progress_events.html rename : dom/filehandle/test/test_readonly_filehandles.html => dom/indexedDB/test/test_filehandle_readonly_exceptions.html rename : dom/filehandle/test/test_request_readyState.html => dom/indexedDB/test/test_filehandle_request_readyState.html rename : dom/filehandle/test/test_stream_tracking.html => dom/indexedDB/test/test_filehandle_stream_tracking.html rename : dom/filehandle/test/test_success_events_after_abort.html => dom/indexedDB/test/test_filehandle_success_events_after_abort.html rename : dom/filehandle/test/test_truncate.html => dom/indexedDB/test/test_filehandle_truncate.html rename : dom/filehandle/test/test_workers.html => dom/indexedDB/test/test_filehandle_workers.html rename : dom/filehandle/test/test_write_read_data.html => dom/indexedDB/test/test_filehandle_write_read_data.html rename : dom/filehandle/test/test_getFileId.html => dom/indexedDB/test/test_getFileId.html rename : dom/webidl/FileHandle.webidl => dom/webidl/IDBFileHandle.webidl rename : dom/webidl/FileRequest.webidl => dom/webidl/IDBFileRequest.webidl
2014-07-17 20:40:54 +04:00
[test_filehandle_append_read_data.html]
[test_filehandle_compat.html]
[test_filehandle_disabled_pref.html]
Bug 1029209 - Extract IndexedDB FileHandle from core FileHandle implementation (WebIDL changes: merge MutableFile into IDBMutableFile, rename FileHandle to IDBFileHandle, DOMFileMetadataParameters to IDBFileMetadataParameters and FileRequest to IDBFileRequest); r=bent --HG-- rename : dom/filehandle/File.cpp => dom/indexedDB/FileSnapshot.cpp rename : dom/filehandle/File.h => dom/indexedDB/FileSnapshot.h rename : dom/filehandle/test/dummy_worker.js => dom/indexedDB/test/dummy_worker.js rename : dom/filehandle/test/test_append_read_data.html => dom/indexedDB/test/test_filehandle_append_read_data.html rename : dom/filehandle/test/test_compat.html => dom/indexedDB/test/test_filehandle_compat.html rename : dom/filehandle/test/test_getFile.html => dom/indexedDB/test/test_filehandle_getFile.html rename : dom/filehandle/test/test_filehandle_lifetimes.html => dom/indexedDB/test/test_filehandle_lifetimes.html rename : dom/filehandle/test/test_filehandle_lifetimes_nested.html => dom/indexedDB/test/test_filehandle_lifetimes_nested.html rename : dom/filehandle/test/test_location.html => dom/indexedDB/test/test_filehandle_location.html rename : dom/filehandle/test/test_filehandle_ordering.html => dom/indexedDB/test/test_filehandle_ordering.html rename : dom/filehandle/test/test_overlapping_filehandles.html => dom/indexedDB/test/test_filehandle_overlapping.html rename : dom/filehandle/test/test_progress_events.html => dom/indexedDB/test/test_filehandle_progress_events.html rename : dom/filehandle/test/test_readonly_filehandles.html => dom/indexedDB/test/test_filehandle_readonly_exceptions.html rename : dom/filehandle/test/test_request_readyState.html => dom/indexedDB/test/test_filehandle_request_readyState.html rename : dom/filehandle/test/test_stream_tracking.html => dom/indexedDB/test/test_filehandle_stream_tracking.html rename : dom/filehandle/test/test_success_events_after_abort.html => dom/indexedDB/test/test_filehandle_success_events_after_abort.html rename : dom/filehandle/test/test_truncate.html => dom/indexedDB/test/test_filehandle_truncate.html rename : dom/filehandle/test/test_workers.html => dom/indexedDB/test/test_filehandle_workers.html rename : dom/filehandle/test/test_write_read_data.html => dom/indexedDB/test/test_filehandle_write_read_data.html rename : dom/filehandle/test/test_getFileId.html => dom/indexedDB/test/test_getFileId.html rename : dom/webidl/FileHandle.webidl => dom/webidl/IDBFileHandle.webidl rename : dom/webidl/FileRequest.webidl => dom/webidl/IDBFileRequest.webidl
2014-07-17 20:40:54 +04:00
[test_filehandle_getFile.html]
[test_filehandle_iteration.html]
Bug 1029209 - Extract IndexedDB FileHandle from core FileHandle implementation (WebIDL changes: merge MutableFile into IDBMutableFile, rename FileHandle to IDBFileHandle, DOMFileMetadataParameters to IDBFileMetadataParameters and FileRequest to IDBFileRequest); r=bent --HG-- rename : dom/filehandle/File.cpp => dom/indexedDB/FileSnapshot.cpp rename : dom/filehandle/File.h => dom/indexedDB/FileSnapshot.h rename : dom/filehandle/test/dummy_worker.js => dom/indexedDB/test/dummy_worker.js rename : dom/filehandle/test/test_append_read_data.html => dom/indexedDB/test/test_filehandle_append_read_data.html rename : dom/filehandle/test/test_compat.html => dom/indexedDB/test/test_filehandle_compat.html rename : dom/filehandle/test/test_getFile.html => dom/indexedDB/test/test_filehandle_getFile.html rename : dom/filehandle/test/test_filehandle_lifetimes.html => dom/indexedDB/test/test_filehandle_lifetimes.html rename : dom/filehandle/test/test_filehandle_lifetimes_nested.html => dom/indexedDB/test/test_filehandle_lifetimes_nested.html rename : dom/filehandle/test/test_location.html => dom/indexedDB/test/test_filehandle_location.html rename : dom/filehandle/test/test_filehandle_ordering.html => dom/indexedDB/test/test_filehandle_ordering.html rename : dom/filehandle/test/test_overlapping_filehandles.html => dom/indexedDB/test/test_filehandle_overlapping.html rename : dom/filehandle/test/test_progress_events.html => dom/indexedDB/test/test_filehandle_progress_events.html rename : dom/filehandle/test/test_readonly_filehandles.html => dom/indexedDB/test/test_filehandle_readonly_exceptions.html rename : dom/filehandle/test/test_request_readyState.html => dom/indexedDB/test/test_filehandle_request_readyState.html rename : dom/filehandle/test/test_stream_tracking.html => dom/indexedDB/test/test_filehandle_stream_tracking.html rename : dom/filehandle/test/test_success_events_after_abort.html => dom/indexedDB/test/test_filehandle_success_events_after_abort.html rename : dom/filehandle/test/test_truncate.html => dom/indexedDB/test/test_filehandle_truncate.html rename : dom/filehandle/test/test_workers.html => dom/indexedDB/test/test_filehandle_workers.html rename : dom/filehandle/test/test_write_read_data.html => dom/indexedDB/test/test_filehandle_write_read_data.html rename : dom/filehandle/test/test_getFileId.html => dom/indexedDB/test/test_getFileId.html rename : dom/webidl/FileHandle.webidl => dom/webidl/IDBFileHandle.webidl rename : dom/webidl/FileRequest.webidl => dom/webidl/IDBFileRequest.webidl
2014-07-17 20:40:54 +04:00
[test_filehandle_lifetimes.html]
[test_filehandle_lifetimes_nested.html]
[test_filehandle_location.html]
[test_filehandle_ordering.html]
[test_filehandle_overlapping.html]
[test_filehandle_progress_events.html]
[test_filehandle_readonly_exceptions.html]
[test_filehandle_request_readyState.html]
[test_filehandle_serialization.html]
[test_filehandle_store_snapshot.html]
Bug 1029209 - Extract IndexedDB FileHandle from core FileHandle implementation (WebIDL changes: merge MutableFile into IDBMutableFile, rename FileHandle to IDBFileHandle, DOMFileMetadataParameters to IDBFileMetadataParameters and FileRequest to IDBFileRequest); r=bent --HG-- rename : dom/filehandle/File.cpp => dom/indexedDB/FileSnapshot.cpp rename : dom/filehandle/File.h => dom/indexedDB/FileSnapshot.h rename : dom/filehandle/test/dummy_worker.js => dom/indexedDB/test/dummy_worker.js rename : dom/filehandle/test/test_append_read_data.html => dom/indexedDB/test/test_filehandle_append_read_data.html rename : dom/filehandle/test/test_compat.html => dom/indexedDB/test/test_filehandle_compat.html rename : dom/filehandle/test/test_getFile.html => dom/indexedDB/test/test_filehandle_getFile.html rename : dom/filehandle/test/test_filehandle_lifetimes.html => dom/indexedDB/test/test_filehandle_lifetimes.html rename : dom/filehandle/test/test_filehandle_lifetimes_nested.html => dom/indexedDB/test/test_filehandle_lifetimes_nested.html rename : dom/filehandle/test/test_location.html => dom/indexedDB/test/test_filehandle_location.html rename : dom/filehandle/test/test_filehandle_ordering.html => dom/indexedDB/test/test_filehandle_ordering.html rename : dom/filehandle/test/test_overlapping_filehandles.html => dom/indexedDB/test/test_filehandle_overlapping.html rename : dom/filehandle/test/test_progress_events.html => dom/indexedDB/test/test_filehandle_progress_events.html rename : dom/filehandle/test/test_readonly_filehandles.html => dom/indexedDB/test/test_filehandle_readonly_exceptions.html rename : dom/filehandle/test/test_request_readyState.html => dom/indexedDB/test/test_filehandle_request_readyState.html rename : dom/filehandle/test/test_stream_tracking.html => dom/indexedDB/test/test_filehandle_stream_tracking.html rename : dom/filehandle/test/test_success_events_after_abort.html => dom/indexedDB/test/test_filehandle_success_events_after_abort.html rename : dom/filehandle/test/test_truncate.html => dom/indexedDB/test/test_filehandle_truncate.html rename : dom/filehandle/test/test_workers.html => dom/indexedDB/test/test_filehandle_workers.html rename : dom/filehandle/test/test_write_read_data.html => dom/indexedDB/test/test_filehandle_write_read_data.html rename : dom/filehandle/test/test_getFileId.html => dom/indexedDB/test/test_getFileId.html rename : dom/webidl/FileHandle.webidl => dom/webidl/IDBFileHandle.webidl rename : dom/webidl/FileRequest.webidl => dom/webidl/IDBFileRequest.webidl
2014-07-17 20:40:54 +04:00
[test_filehandle_stream_tracking.html]
[test_filehandle_success_events_after_abort.html]
[test_filehandle_truncate.html]
[test_filehandle_workers.html]
[test_filehandle_write_read_data.html]
[test_getAll.html]
[test_getFileId.html]
[test_globalObjects_content.html]
[test_global_data.html]
[test_index_empty_keyPath.html]
[test_index_getAll.html]
[test_index_getAllObjects.html]
[test_index_object_cursors.html]
[test_index_update_delete.html]
[test_indexes.html]
[test_indexes_bad_values.html]
[test_indexes_funny_things.html]
2014-11-08 03:42:53 +03:00
[test_invalid_cursor.html]
[test_invalid_version.html]
[test_invalidate.html]
# disabled for the moment
skip-if = true
[test_key_requirements.html]
[test_keys.html]
[test_leaving_page.html]
[test_lowDiskSpace.html]
skip-if = toolkit == 'android' && debug # Bug 1328321
[test_maximal_serialized_object_size.html]
[test_message_manager_ipc.html]
# This test is only supposed to run in the main process.
skip-if = e10s
[test_multientry.html]
[test_names_sorted.html]
[test_objectCursors.html]
[test_objectStore_getAllKeys.html]
[test_objectStore_inline_autoincrement_key_added_on_put.html]
[test_objectStore_openKeyCursor.html]
[test_objectStore_remove_values.html]
[test_object_identity.html]
[test_odd_result_order.html]
[test_open_empty_db.html]
[test_open_for_principal.html]
[test_open_objectStore.html]
[test_optionalArguments.html]
[test_overlapping_transactions.html]
[test_persistenceType.html]
[test_put_get_values.html]
[test_put_get_values_autoIncrement.html]
[test_readonly_transactions.html]
[test_readwriteflush_disabled.html]
[test_remove_index.html]
[test_rename_index.html]
[test_rename_index_errors.html]
[test_remove_objectStore.html]
[test_rename_objectStore.html]
[test_rename_objectStore_errors.html]
[test_request_readyState.html]
[test_sandbox.html]
[test_setVersion.html]
[test_setVersion_abort.html]
[test_setVersion_events.html]
[test_setVersion_exclusion.html]
[test_setVersion_throw.html]
[test_storage_manager_estimate.html]
scheme=https
[test_success_events_after_abort.html]
[test_table_locks.html]
[test_table_rollback.html]
[test_third_party.html]
[test_traffic_jam.html]
[test_transaction_abort.html]
[test_transaction_abort_hang.html]
[test_transaction_duplicate_store_names.html]
[test_transaction_error.html]
[test_transaction_lifetimes.html]
[test_transaction_lifetimes_nested.html]
[test_transaction_ordering.html]
[test_unique_index_update.html]
[test_view_put_get_values.html]
[test_wasm_cursors.html]
[test_wasm_getAll.html]
[test_wasm_index_getAllObjects.html]
[test_wasm_indexes.html]
[test_wasm_put_get_values.html]