Bug 1859890 - batch 14 convert xpcshell.ini -> .toml. r=aryx,dom-storage-reviewers,jesup

Differential Revision: https://phabricator.services.mozilla.com/D194162
This commit is contained in:
Joel Maher 2023-11-28 01:02:01 +00:00
parent 3b95748905
commit 28be3ac6b4
74 changed files with 1096 additions and 793 deletions

View File

@ -17,8 +17,8 @@ DIRS += [
]
XPCSHELL_TESTS_MANIFESTS += [
"test/unit/xpcshell.ini",
"test/unit_ipc/xpcshell.ini",
"test/unit/xpcshell.toml",
"test/unit_ipc/xpcshell.toml",
]
MOCHITEST_MANIFESTS += [

View File

@ -1,35 +0,0 @@
[DEFAULT]
head = head_docshell.js
support-files =
data/engine.xml
data/enginePost.xml
data/enginePrivate.xml
[test_allowJavascript.js]
skip-if = os == 'android'
support-files =
AllowJavascriptChild.sys.mjs
AllowJavascriptParent.sys.mjs
[test_bug442584.js]
[test_browsing_context_structured_clone.js]
[test_URIFixup.js]
[test_URIFixup_check_host.js]
[test_URIFixup_external_protocol_fallback.js]
skip-if = os == 'android'
[test_URIFixup_forced.js]
# Disabled for 1563343 -- URI fixup should be done at the app level in GV.
skip-if = os == 'android'
[test_URIFixup_search.js]
skip-if = os == 'android'
[test_URIFixup_info.js]
skip-if =
os == 'android'
win10_2004 && debug # Bug 1727925
[test_pb_notification.js]
# Bug 751575: unrelated JS changes cause timeouts on random platforms
skip-if = true
[test_privacy_transition.js]
[test_subframe_stop_after_parent_error.js]
skip-if =
os == 'android'
appname == 'thunderbird' # Needs to run without E10s, can't do that.

View File

@ -0,0 +1,47 @@
[DEFAULT]
head = "head_docshell.js"
support-files = [
"data/engine.xml",
"data/enginePost.xml",
"data/enginePrivate.xml",
]
["test_URIFixup.js"]
["test_URIFixup_check_host.js"]
["test_URIFixup_external_protocol_fallback.js"]
skip-if = ["os == 'android'"]
["test_URIFixup_forced.js"]
# Disabled for 1563343 -- URI fixup should be done at the app level in GV.
skip-if = ["os == 'android'"]
["test_URIFixup_info.js"]
skip-if = ["os == 'android'"]
["test_URIFixup_search.js"]
skip-if = ["os == 'android'"]
["test_allowJavascript.js"]
skip-if = ["os == 'android'"]
support-files = [
"AllowJavascriptChild.sys.mjs",
"AllowJavascriptParent.sys.mjs",
]
["test_browsing_context_structured_clone.js"]
["test_bug442584.js"]
["test_pb_notification.js"]
# Bug 751575: unrelated JS changes cause timeouts on random platforms
skip-if = ["true"]
["test_privacy_transition.js"]
["test_subframe_stop_after_parent_error.js"]
skip-if = [
"os == 'android'",
"appname == 'thunderbird'", # Needs to run without E10s, can't do that.
]

View File

@ -1,7 +0,0 @@
[DEFAULT]
head =
skip-if = toolkit == 'android'
[test_pb_notification_ipc.js]
# Bug 751575: Perma-fails with: command timed out: 1200 seconds without output
skip-if = true

View File

@ -0,0 +1,8 @@
[DEFAULT]
head = ""
skip-if = ["os == 'android'"]
["test_pb_notification_ipc.js"]
# Bug 751575: Perma-fails with: command timed out: 1200 seconds without output
skip-if = ["true"]

View File

@ -6,4 +6,4 @@
MOCHITEST_MANIFESTS += ["mochitest.toml"]
XPCSHELL_TESTS_MANIFESTS += ["unit/xpcshell.ini"]
XPCSHELL_TESTS_MANIFESTS += ["unit/xpcshell.toml"]

View File

@ -1,5 +0,0 @@
[DEFAULT]
head =
support-files =
[test_abort.js]

View File

@ -0,0 +1,5 @@
[DEFAULT]
head = ""
support-files = ""
["test_abort.js"]

View File

@ -5,8 +5,8 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
XPCSHELL_TESTS_MANIFESTS += [
"unit/xpcshell.ini",
"unit_ipc/xpcshell.ini",
"unit/xpcshell.toml",
"unit_ipc/xpcshell.toml",
]
MOCHITEST_MANIFESTS += [

View File

@ -1,70 +0,0 @@
[DEFAULT]
head = head_utilities.js
support-files =
1_original.xml
1_result.xml
2_original.xml
2_result_1.xml
2_result_2.xml
2_result_3.xml
2_result_4.xml
3_original.xml
3_result.xml
3_result_2.xml
4_original.xml
4_result_1.xml
4_result_2.xml
4_result_3.xml
4_result_4.xml
4_result_5.xml
4_result_6.xml
empty_document.xml
isequalnode_data.xml
nodelist_data_1.xml
nodelist_data_2.xhtml
test_delete_range.xml
[test_blockParsing.js]
skip-if =
debug # We fail an assertion if we block parsing on a self-closing element
toolkit == 'android'
appname == 'thunderbird' # The test needs to run without e10s, can't do that.
[test_bug553888.js]
[test_bug737966.js]
[test_error_codes.js]
run-sequentially = Hardcoded 4444 port.
# Bug 1018414: hardcoded localhost doesn't work properly on some OS X installs
skip-if = os == 'mac'
[test_htmlserializer.js]
[test_isequalnode.js]
head = head_xml.js
[test_nodelist.js]
head = head_xml.js
[test_normalize.js]
head = head_xml.js
[test_range.js]
head = head_xml.js
[test_serializers_entities.js]
[test_serializers_entities_in_attr.js]
[test_structuredcloneholder.js]
[test_thirdpartyutil.js]
[test_treewalker.js]
head = head_xml.js
[test_xhr_document.js]
[test_xhr_standalone.js]
[test_xhr_origin_attributes.js]
[test_xml_parser.js]
head = head_xml.js
[test_xml_serializer.js]
head = head_xml.js
[test_xmlserializer.js]
[test_cancelPrefetch.js]
[test_chromeutils_base64.js]
[test_chromeutils_getXPCOMErrorName.js]
[test_chromeutils_shallowclone.js]
[test_generate_xpath.js]
head = head_xml.js
[test_js_dev_error_interceptor.js]
# This feature is implemented only in NIGHTLY.
run-if = nightly_build

View File

@ -0,0 +1,96 @@
[DEFAULT]
head = "head_utilities.js"
support-files = [
"1_original.xml",
"1_result.xml",
"2_original.xml",
"2_result_1.xml",
"2_result_2.xml",
"2_result_3.xml",
"2_result_4.xml",
"3_original.xml",
"3_result.xml",
"3_result_2.xml",
"4_original.xml",
"4_result_1.xml",
"4_result_2.xml",
"4_result_3.xml",
"4_result_4.xml",
"4_result_5.xml",
"4_result_6.xml",
"empty_document.xml",
"isequalnode_data.xml",
"nodelist_data_1.xml",
"nodelist_data_2.xhtml",
"test_delete_range.xml",
]
["test_blockParsing.js"]
skip-if = [
"debug", # We fail an assertion if we block parsing on a self-closing element
"os == 'android'",
"appname == 'thunderbird'",
] # The test needs to run without e10s, can't do that.
["test_bug553888.js"]
["test_bug737966.js"]
["test_cancelPrefetch.js"]
["test_chromeutils_base64.js"]
["test_chromeutils_getXPCOMErrorName.js"]
["test_chromeutils_shallowclone.js"]
["test_error_codes.js"]
run-sequentially = "Hardcoded 4444 port."
# Bug 1018414: hardcoded localhost doesn't work properly on some OS X installs
skip-if = ["os == 'mac'"]
["test_generate_xpath.js"]
head = "head_xml.js"
["test_htmlserializer.js"]
["test_isequalnode.js"]
head = "head_xml.js"
["test_js_dev_error_interceptor.js"]
# This feature is implemented only in NIGHTLY.
run-if = ["nightly_build"]
["test_nodelist.js"]
head = "head_xml.js"
["test_normalize.js"]
head = "head_xml.js"
["test_range.js"]
head = "head_xml.js"
["test_serializers_entities.js"]
["test_serializers_entities_in_attr.js"]
["test_structuredcloneholder.js"]
["test_thirdpartyutil.js"]
["test_treewalker.js"]
head = "head_xml.js"
["test_xhr_document.js"]
["test_xhr_origin_attributes.js"]
["test_xhr_standalone.js"]
["test_xml_parser.js"]
head = "head_xml.js"
["test_xml_serializer.js"]
head = "head_xml.js"
["test_xmlserializer.js"]

View File

@ -1,11 +0,0 @@
[DEFAULT]
head =
skip-if = toolkit == 'android' || socketprocess_networking
support-files =
!/dom/base/test/unit/test_bug553888.js
!/dom/base/test/unit/test_xhr_document.js
[test_bug553888_wrap.js]
prefs = network.allow_raw_sockets_in_content_processes=true
[test_xhr_document_ipc.js]
prefs = network.allow_raw_sockets_in_content_processes=true

View File

@ -0,0 +1,16 @@
[DEFAULT]
head = ""
skip-if = [
"os == 'android'",
"socketprocess_networking",
]
support-files = [
"!/dom/base/test/unit/test_bug553888.js",
"!/dom/base/test/unit/test_xhr_document.js",
]
["test_bug553888_wrap.js"]
prefs = ["network.allow_raw_sockets_in_content_processes=true"]
["test_xhr_document_ipc.js"]
prefs = ["network.allow_raw_sockets_in_content_processes=true"]

2
dom/cache/moz.build vendored
View File

@ -96,5 +96,5 @@ BROWSER_CHROME_MANIFESTS += [
]
XPCSHELL_TESTS_MANIFESTS += [
"test/xpcshell/xpcshell.ini",
"test/xpcshell/xpcshell.toml",
]

View File

@ -1,21 +0,0 @@
# 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]
head = head.js
support-files =
bug1425146_profile.zip
schema_15_profile.zip
schema_25_profile.zip
# dummy test entry to generate profile zip files
[make_profile.js]
skip-if = true
[test_bug1425146.js]
[test_empty_directories.js]
[test_migration.js]
[test_originInit.js]
[test_padding_error_handle.js]
[test_schema_26_upgrade.js]

23
dom/cache/test/xpcshell/xpcshell.toml vendored Normal file
View File

@ -0,0 +1,23 @@
[DEFAULT]
head = "head.js"
support-files = [
"bug1425146_profile.zip",
"schema_15_profile.zip",
"schema_25_profile.zip",
]
# dummy test entry to generate profile zip files
["make_profile.js"]
skip-if = ["true"]
["test_bug1425146.js"]
["test_empty_directories.js"]
["test_migration.js"]
["test_originInit.js"]
["test_padding_error_handle.js"]
["test_schema_26_upgrade.js"]

View File

@ -50,7 +50,7 @@ LOCAL_INCLUDES += [
MOCHITEST_MANIFESTS += ["tests/mochitest.toml"]
MOCHITEST_CHROME_MANIFESTS += ["tests/chrome.toml"]
XPCSHELL_TESTS_MANIFESTS += ["tests/xpcshell/xpcshell.ini"]
XPCSHELL_TESTS_MANIFESTS += ["tests/xpcshell/xpcshell.toml"]
include("/ipc/chromium/chromium-config.mozbuild")

View File

@ -1,8 +0,0 @@
[DEFAULT]
head = head.js
support-files =
[test_basic.js]
[test_failing_console_listener.js]
[test_reportForServiceWorkerScope.js]
[test_formatting.js]

View File

@ -0,0 +1,11 @@
[DEFAULT]
head = "head.js"
support-files = ""
["test_basic.js"]
["test_failing_console_listener.js"]
["test_formatting.js"]
["test_reportForServiceWorkerScope.js"]

View File

@ -30,4 +30,4 @@ MOCHITEST_MANIFESTS += [
"test/mochitest.toml",
]
MOCHITEST_CHROME_MANIFESTS += ["test/chrome.toml"]
XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.ini"]
XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.toml"]

View File

@ -1,12 +0,0 @@
[DEFAULT]
head = head.js
[test_big5.js]
[test_euc-jp.js]
[test_euc-kr.js]
[test_gbk.js]
[test_iso-2022-jp.js]
[test_misc.js]
[test_shift_jis.js]
[test_utf.js]
[test_rope_encode.js]

View File

@ -0,0 +1,20 @@
[DEFAULT]
head = "head.js"
["test_big5.js"]
["test_euc-jp.js"]
["test_euc-kr.js"]
["test_gbk.js"]
["test_iso-2022-jp.js"]
["test_misc.js"]
["test_rope_encode.js"]
["test_shift_jis.js"]
["test_utf.js"]

View File

@ -55,7 +55,7 @@ LOCAL_INCLUDES += [
MOCHITEST_MANIFESTS += ["tests/mochitest.toml"]
XPCSHELL_TESTS_MANIFESTS += ["tests/xpcshell.ini"]
XPCSHELL_TESTS_MANIFESTS += ["tests/xpcshell.toml"]
include("/ipc/chromium/chromium-config.mozbuild")

View File

@ -1,6 +0,0 @@
[DEFAULT]
[test_bloburi.js]
[test_createFile.js]
[test_ipc_messagemanager_blob.js]
skip-if = os == "android"

View File

@ -0,0 +1,8 @@
[DEFAULT]
["test_bloburi.js"]
["test_createFile.js"]
["test_ipc_messagemanager_blob.js"]
skip-if = ["os == 'android'"]

View File

@ -9,7 +9,7 @@ MOCHITEST_MANIFESTS += [
]
XPCSHELL_TESTS_MANIFESTS += [
"xpcshell.ini",
"xpcshell.toml",
]
TESTING_JS_MODULES.dom.fs.test.common += [

View File

@ -1,13 +0,0 @@
# 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 =
nsresult.js
test_basics.js
test_fileSystemDirectoryHandle.js
test_writableFileStream.js
[dummy.js]
skip-if = true

View File

@ -0,0 +1,10 @@
[DEFAULT]
support-files = [
"nsresult.js",
"test_basics.js",
"test_fileSystemDirectoryHandle.js",
"test_writableFileStream.js",
]
["dummy.js"]
skip-if = ["true"]

View File

@ -9,5 +9,5 @@ TEST_DIRS += [
]
XPCSHELL_TESTS_MANIFESTS += [
"xpcshell.ini",
"xpcshell.toml",
]

View File

@ -1,14 +0,0 @@
# 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]
head = head.js
[test_basics.js]
[test_basics_worker.js]
[test_fileSystemDirectoryHandle.js]
[test_fileSystemDirectoryHandle_worker.js]
[test_syncAccessHandle_worker.js]
[test_writableFileStream.js]
[test_writableFileStream_worker.js]

View File

@ -0,0 +1,16 @@
[DEFAULT]
head = "head.js"
["test_basics.js"]
["test_basics_worker.js"]
["test_fileSystemDirectoryHandle.js"]
["test_fileSystemDirectoryHandle_worker.js"]
["test_syncAccessHandle_worker.js"]
["test_writableFileStream.js"]
["test_writableFileStream_worker.js"]

View File

@ -18,8 +18,8 @@ BROWSER_CHROME_MANIFESTS += ["test/browser.toml"]
MOCHITEST_CHROME_MANIFESTS += ["test/chrome.toml"]
XPCSHELL_TESTS_MANIFESTS += [
"test/unit/xpcshell-child-process.ini",
"test/unit/xpcshell-parent-process.ini",
"test/unit/xpcshell-child-process.toml",
"test/unit/xpcshell-parent-process.toml",
]
TEST_DIRS += ["test/gtest"]

View File

@ -1,17 +0,0 @@
# 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]
dupe-manifest =
head = xpcshell-head-child-process.js
tail =
skip-if = toolkit == 'android'
support-files =
GlobalObjectsChild.js
GlobalObjectsModule.sys.mjs
GlobalObjectsSandbox.js
xpcshell-head-parent-process.js
xpcshell-shared.ini
[include:xpcshell-shared.ini]

View File

@ -0,0 +1,14 @@
[DEFAULT]
dupe-manifest = ""
head = "xpcshell-head-child-process.js"
tail = ""
skip-if = ["os == 'android'"]
support-files = [
"GlobalObjectsChild.js",
"GlobalObjectsModule.sys.mjs",
"GlobalObjectsSandbox.js",
"xpcshell-head-parent-process.js",
"xpcshell-shared.toml",
]
["include:xpcshell-shared.toml"]

View File

@ -1,67 +0,0 @@
# 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]
dupe-manifest =
head = xpcshell-head-parent-process.js
tail =
support-files =
bug1056939_profile.zip
idbSubdirUpgrade1_profile.zip
idbSubdirUpgrade2_profile.zip
mutableFileUpgrade_profile.zip
obsoleteOriginAttributes_profile.zip
orphaned_files_profile.zip
oldDirectories_profile.zip
GlobalObjectsChild.js
GlobalObjectsModule.sys.mjs
GlobalObjectsSandbox.js
metadata2Restore_profile.zip
metadataRestore_profile.zip
schema18upgrade_profile.zip
schema21upgrade_profile.zip
schema23upgrade_profile.zip
snappyUpgrade_profile.zip
storagePersistentUpgrade_profile.zip
wasm_get_values_profile.zip
xpcshell-shared.ini
[include:xpcshell-shared.ini]
[test_bad_origin_directory.js]
[test_obsoleteOriginAttributesUpgrade.js]
[test_orphaned_files.js]
[test_blob_file_backed.js]
[test_bug1056939.js]
[test_cleanup_transaction.js]
[test_database_close_without_onclose.js]
[test_database_onclose.js]
[test_file_copy_failure.js]
[test_idbSubdirUpgrade.js]
[test_globalObjects_ipc.js]
skip-if = toolkit == 'android'
[test_idle_maintenance.js]
[test_invalidate.js]
# disabled for the moment.
skip-if = true
[test_marker_file.js]
[test_maximal_serialized_object_size.js]
[test_metadata2Restore.js]
[test_metadataRestore.js]
[test_mutableFileUpgrade.js]
[test_oldDirectories.js]
[test_quotaExceeded_recovery.js]
[test_readwriteflush_disabled.js]
[test_schema18upgrade.js]
[test_schema21upgrade.js]
[test_schema23upgrade.js]
[test_snappyUpgrade.js]
[test_storagePersistentUpgrade.js]
[test_temporary_storage.js]
# bug 951017: intermittent failure on Android x86 emulator
skip-if = os == "android" && processor == "x86"
[test_unexpectedDirectory.js]
[test_view_put_get_values.js]
[test_wasm_get_values.js]
[test_wasm_put_get_values.js]

View File

@ -0,0 +1,94 @@
[DEFAULT]
dupe-manifest = ""
head = "xpcshell-head-parent-process.js"
tail = ""
support-files = [
"bug1056939_profile.zip",
"idbSubdirUpgrade1_profile.zip",
"idbSubdirUpgrade2_profile.zip",
"mutableFileUpgrade_profile.zip",
"obsoleteOriginAttributes_profile.zip",
"orphaned_files_profile.zip",
"oldDirectories_profile.zip",
"GlobalObjectsChild.js",
"GlobalObjectsModule.sys.mjs",
"GlobalObjectsSandbox.js",
"metadata2Restore_profile.zip",
"metadataRestore_profile.zip",
"schema18upgrade_profile.zip",
"schema21upgrade_profile.zip",
"schema23upgrade_profile.zip",
"snappyUpgrade_profile.zip",
"storagePersistentUpgrade_profile.zip",
"wasm_get_values_profile.zip",
"xpcshell-shared.toml",
]
["include:xpcshell-shared.toml"]
["test_bad_origin_directory.js"]
["test_blob_file_backed.js"]
["test_bug1056939.js"]
["test_cleanup_transaction.js"]
["test_database_close_without_onclose.js"]
["test_database_onclose.js"]
["test_file_copy_failure.js"]
["test_globalObjects_ipc.js"]
skip-if = ["os == 'android'"]
["test_idbSubdirUpgrade.js"]
["test_idle_maintenance.js"]
["test_invalidate.js"]
# disabled for the moment.
skip-if = ["true"]
["test_marker_file.js"]
["test_maximal_serialized_object_size.js"]
["test_metadata2Restore.js"]
["test_metadataRestore.js"]
["test_mutableFileUpgrade.js"]
["test_obsoleteOriginAttributesUpgrade.js"]
["test_oldDirectories.js"]
["test_orphaned_files.js"]
["test_quotaExceeded_recovery.js"]
["test_readwriteflush_disabled.js"]
["test_schema18upgrade.js"]
["test_schema21upgrade.js"]
["test_schema23upgrade.js"]
["test_snappyUpgrade.js"]
["test_storagePersistentUpgrade.js"]
["test_temporary_storage.js"]
# bug 951017: intermittent failure on Android x86 emulator
skip-if = ["os == 'android' && processor == 'x86'"]
["test_unexpectedDirectory.js"]
["test_view_put_get_values.js"]
["test_wasm_get_values.js"]
["test_wasm_put_get_values.js"]

View File

@ -1,100 +0,0 @@
# 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/.
[test_abort_deleted_index.js]
[test_abort_deleted_objectStore.js]
[test_add_put.js]
[test_add_twice_failure.js]
[test_advance.js]
[test_autoIncrement.js]
[test_autoIncrement_indexes.js]
[test_blocked_order.js]
[test_clear.js]
skip-if =
os == "win" && debug # Bug 1785080
[test_complex_keyPaths.js]
[test_count.js]
[test_create_index.js]
[test_create_index_with_integer_keys.js]
[test_create_locale_aware_index.js]
skip-if = toolkit == 'android' # bug 864843
[test_create_objectStore.js]
[test_cursor_cycle.js]
[test_cursor_mutation.js]
[test_cursor_update_updates_indexes.js]
[test_cursors.js]
[test_deleteDatabase.js]
[test_deleteDatabase_interactions.js]
[test_deleteDatabase_onblocked.js]
[test_deleteDatabase_onblocked_duringVersionChange.js]
[test_event_source.js]
[test_getAll.js]
[test_globalObjects_other.js]
skip-if = toolkit == 'android' # bug 1079278
[test_globalObjects_xpc.js]
[test_global_data.js]
[test_index_empty_keyPath.js]
[test_index_getAll.js]
[test_index_getAllObjects.js]
[test_index_object_cursors.js]
[test_index_update_delete.js]
[test_indexes.js]
[test_indexes_bad_values.js]
[test_indexes_funny_things.js]
[test_invalid_cursor.js]
[test_invalid_version.js]
[test_key_requirements.js]
[test_keys.js]
skip-if = (tsan || asan) # Uncatched OOM crashes, bug 1796753
[test_locale_aware_indexes.js]
skip-if = toolkit == 'android' # bug 864843
[test_locale_aware_index_getAll.js]
skip-if = toolkit == 'android' # bug 864843
[test_locale_aware_index_getAllObjects.js]
skip-if = toolkit == 'android' # bug 864843
[test_multientry.js]
[test_names_sorted.js]
[test_object_identity.js]
[test_objectCursors.js]
[test_objectStore_getAllKeys.js]
[test_objectStore_inline_autoincrement_key_added_on_put.js]
[test_objectStore_openKeyCursor.js]
[test_objectStore_remove_values.js]
[test_odd_result_order.js]
[test_open_empty_db.js]
[test_open_for_principal.js]
[test_open_objectStore.js]
[test_optionalArguments.js]
[test_overlapping_transactions.js]
[test_put_get_values.js]
[test_put_get_values_autoIncrement.js]
skip-if = (verify && debug && (os == 'win'))
[test_readonly_transactions.js]
[test_remove_index.js]
[test_rename_index.js]
[test_rename_index_errors.js]
[test_remove_objectStore.js]
[test_rename_objectStore.js]
[test_rename_objectStore_errors.js]
[test_request_readyState.js]
[test_sandbox.js]
[test_setVersion.js]
[test_setVersion_abort.js]
[test_setVersion_events.js]
[test_setVersion_exclusion.js]
[test_setVersion_throw.js]
[test_success_events_after_abort.js]
[test_table_locks.js]
[test_table_rollback.js]
[test_traffic_jam.js]
[test_transaction_abort.js]
[test_transaction_abort_hang.js]
[test_transaction_duplicate_store_names.js]
[test_transaction_error.js]
[test_transaction_lifetimes.js]
[test_transaction_lifetimes_nested.js]
[test_transaction_ordering.js]
[test_unique_index_update.js]
[test_upgrade_add_index.js]
[test_writer_starvation.js]

View File

@ -0,0 +1,186 @@
[DEFAULT]
["test_abort_deleted_index.js"]
["test_abort_deleted_objectStore.js"]
["test_add_put.js"]
["test_add_twice_failure.js"]
["test_advance.js"]
["test_autoIncrement.js"]
["test_autoIncrement_indexes.js"]
["test_blocked_order.js"]
["test_clear.js"]
skip-if = ["os == 'win' && debug"] # Bug 1785080
["test_complex_keyPaths.js"]
["test_count.js"]
["test_create_index.js"]
["test_create_index_with_integer_keys.js"]
["test_create_locale_aware_index.js"]
skip-if = ["os == 'android'"] # bug 864843
["test_create_objectStore.js"]
["test_cursor_cycle.js"]
["test_cursor_mutation.js"]
["test_cursor_update_updates_indexes.js"]
["test_cursors.js"]
["test_deleteDatabase.js"]
["test_deleteDatabase_interactions.js"]
["test_deleteDatabase_onblocked.js"]
["test_deleteDatabase_onblocked_duringVersionChange.js"]
["test_event_source.js"]
["test_getAll.js"]
["test_globalObjects_other.js"]
skip-if = ["os == 'android'"] # bug 1079278
["test_globalObjects_xpc.js"]
["test_global_data.js"]
["test_index_empty_keyPath.js"]
["test_index_getAll.js"]
["test_index_getAllObjects.js"]
["test_index_object_cursors.js"]
["test_index_update_delete.js"]
["test_indexes.js"]
["test_indexes_bad_values.js"]
["test_indexes_funny_things.js"]
["test_invalid_cursor.js"]
["test_invalid_version.js"]
["test_key_requirements.js"]
["test_keys.js"]
skip-if = [
"tsan", # Uncatched OOM crashes
"asan",
] # bug 1796753
["test_locale_aware_index_getAll.js"]
skip-if = ["os == 'android'"] # bug 864843
["test_locale_aware_index_getAllObjects.js"]
skip-if = ["os == 'android'"] # bug 864843
["test_locale_aware_indexes.js"]
skip-if = ["os == 'android'"] # bug 864843
["test_multientry.js"]
["test_names_sorted.js"]
["test_objectCursors.js"]
["test_objectStore_getAllKeys.js"]
["test_objectStore_inline_autoincrement_key_added_on_put.js"]
["test_objectStore_openKeyCursor.js"]
["test_objectStore_remove_values.js"]
["test_object_identity.js"]
["test_odd_result_order.js"]
["test_open_empty_db.js"]
["test_open_for_principal.js"]
["test_open_objectStore.js"]
["test_optionalArguments.js"]
["test_overlapping_transactions.js"]
["test_put_get_values.js"]
["test_put_get_values_autoIncrement.js"]
skip-if = ["verify && debug && os == 'win'"]
["test_readonly_transactions.js"]
["test_remove_index.js"]
["test_remove_objectStore.js"]
["test_rename_index.js"]
["test_rename_index_errors.js"]
["test_rename_objectStore.js"]
["test_rename_objectStore_errors.js"]
["test_request_readyState.js"]
["test_sandbox.js"]
["test_setVersion.js"]
["test_setVersion_abort.js"]
["test_setVersion_events.js"]
["test_setVersion_exclusion.js"]
["test_setVersion_throw.js"]
["test_success_events_after_abort.js"]
["test_table_locks.js"]
["test_table_rollback.js"]
["test_traffic_jam.js"]
["test_transaction_abort.js"]
["test_transaction_abort_hang.js"]
["test_transaction_duplicate_store_names.js"]
["test_transaction_error.js"]
["test_transaction_lifetimes.js"]
["test_transaction_lifetimes_nested.js"]
["test_transaction_ordering.js"]
["test_unique_index_update.js"]
["test_upgrade_add_index.js"]
["test_writer_starvation.js"]

View File

@ -267,7 +267,7 @@ BROWSER_CHROME_MANIFESTS += [
MOCHITEST_CHROME_MANIFESTS += ["tests/chrome.toml"]
MOCHITEST_MANIFESTS += ["tests/mochitest.toml"]
XPCSHELL_TESTS_MANIFESTS += ["tests/xpcshell.ini"]
XPCSHELL_TESTS_MANIFESTS += ["tests/xpcshell.toml"]
if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
CXXFLAGS += CONFIG["MOZ_GTK3_CFLAGS"]

View File

@ -1,10 +0,0 @@
[test_sharedMap.js]
skip-if = os == "android" && processor == "x86_64"
[test_blob_sliced_from_child_process.js]
skip-if = os == "android" && processor == "x86_64"
[test_blob_sliced_from_parent_process.js]
skip-if = os == "android" && processor == "x86_64"
[test_bug1086684.js]
skip-if = os == "android" && processor == "x86_64"
[test_child_docshell.js]
skip-if = os == "android" && processor == "x86_64"

View File

@ -0,0 +1,16 @@
[DEFAULT]
["test_blob_sliced_from_child_process.js"]
skip-if = ["os == 'android' && processor == 'x86_64'"]
["test_blob_sliced_from_parent_process.js"]
skip-if = ["os == 'android' && processor == 'x86_64'"]
["test_bug1086684.js"]
skip-if = ["os == 'android' && processor == 'x86_64'"]
["test_child_docshell.js"]
skip-if = ["os == 'android' && processor == 'x86_64'"]
["test_sharedMap.js"]
skip-if = ["os == 'android' && processor == 'x86_64'"]

View File

@ -11,7 +11,7 @@ MOCHITEST_MANIFESTS += ["test/mochitest.toml"]
BROWSER_CHROME_MANIFESTS += ["test/browser.toml"]
XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.ini"]
XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.toml"]
TEST_HARNESS_FILES.xpcshell.dom.localstorage.test.unit += [
"test/unit/databaseShadowing-shared.js",

View File

@ -1,73 +0,0 @@
# 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]
head = head.js
tags = condprof
support-files =
archive_profile.zip
corruptedDatabase_profile.zip
corruptedDatabase_missingUsageFile_profile.zip
groupMismatch_profile.zip
migration_profile.zip
schema3upgrade_profile.zip
schema4upgrade_profile.zip
stringLength2_profile.zip
stringLength_profile.zip
usageAfterMigration_profile.zip
[make_migration_emptyValue.js]
skip-if = true # Only used for recreating migration_emptyValue_profile.zip
[test_archive.js]
[test_clientValidation.js]
[test_corruptedDatabase.js]
[test_databaseShadowing1.js]
prefs =
dom.storage.shadow_writes=true
run-sequentially = test_databaseShadowing2.js depends on a file produced by this test
[test_databaseShadowing2.js]
run-sequentially = this test depends on a file produced by test_databaseShadowing1.js
[test_databaseShadowing_clearOrigin1.js]
prefs =
dom.storage.shadow_writes=true
run-sequentially = test_databaseShadowing_clearOrigin2.js depends on a file produced by this test
[test_databaseShadowing_clearOrigin2.js]
run-sequentially = this test depends on a file produced by test_databaseShadowing_clearOrigin1.js
[test_databaseShadowing_clearOriginsByPattern1.js]
prefs =
dom.storage.shadow_writes=true
run-sequentially = test_databaseShadowing_clearOriginsByPattern2.js depends on a file produced by this test
[test_databaseShadowing_clearOriginsByPattern2.js]
run-sequentially = this test depends on a file produced by test_databaseShadowing_clearOriginsByPattern1.js
[test_databaseShadowing_clearOriginsByPrefix1.js]
prefs =
dom.storage.shadow_writes=true
run-sequentially = test_databaseShadowing_clearOriginsByPrefix2.js depends on a file produced by this test
[test_databaseShadowing_clearOriginsByPrefix2.js]
run-sequentially = this test depends on a file produced by test_databaseShadowing_clearOriginsByPrefix1.js
[test_eviction.js]
[test_flushing.js]
[test_groupLimit.js]
[test_groupMismatch.js]
[test_largeItems.js]
[test_lsng_enabled.js]
[test_migration.js]
[test_migration_emptyValue.js]
support-files =
migration_emptyValue_profile.zip
[test_old_lsng_pref.js]
[test_orderingAfterRemoveAdd.js]
[test_originInit.js]
[test_preloading.js]
[test_schema3upgrade.js]
[test_schema4upgrade.js]
[test_snapshotting.js]
skip-if = tsan # Unreasonably slow, bug 1612707
requesttimeoutfactor = 4
[test_stringLength.js]
[test_stringLength2.js]
[test_unicodeCharacters.js]
[test_uri_encoding_edge_cases.js]
[test_usage.js]
[test_usageAfterMigration.js]

View File

@ -0,0 +1,97 @@
[DEFAULT]
head = "head.js"
tags = "condprof"
support-files = [
"archive_profile.zip",
"corruptedDatabase_profile.zip",
"corruptedDatabase_missingUsageFile_profile.zip",
"groupMismatch_profile.zip",
"migration_profile.zip",
"schema3upgrade_profile.zip",
"schema4upgrade_profile.zip",
"stringLength2_profile.zip",
"stringLength_profile.zip",
"usageAfterMigration_profile.zip",
]
["make_migration_emptyValue.js"]
skip-if = ["true"] # Only used for recreating migration_emptyValue_profile.zip
["test_archive.js"]
["test_clientValidation.js"]
["test_corruptedDatabase.js"]
["test_databaseShadowing1.js"]
prefs = ["dom.storage.shadow_writes=true"]
run-sequentially = "test_databaseShadowing2.js depends on a file produced by this test"
["test_databaseShadowing2.js"]
run-sequentially = "this test depends on a file produced by test_databaseShadowing1.js"
["test_databaseShadowing_clearOrigin1.js"]
prefs = ["dom.storage.shadow_writes=true"]
run-sequentially = "test_databaseShadowing_clearOrigin2.js depends on a file produced by this test"
["test_databaseShadowing_clearOrigin2.js"]
run-sequentially = "this test depends on a file produced by test_databaseShadowing_clearOrigin1.js"
["test_databaseShadowing_clearOriginsByPattern1.js"]
prefs = ["dom.storage.shadow_writes=true"]
run-sequentially = "test_databaseShadowing_clearOriginsByPattern2.js depends on a file produced by this test"
["test_databaseShadowing_clearOriginsByPattern2.js"]
run-sequentially = "this test depends on a file produced by test_databaseShadowing_clearOriginsByPattern1.js"
["test_databaseShadowing_clearOriginsByPrefix1.js"]
prefs = ["dom.storage.shadow_writes=true"]
run-sequentially = "test_databaseShadowing_clearOriginsByPrefix2.js depends on a file produced by this test"
["test_databaseShadowing_clearOriginsByPrefix2.js"]
run-sequentially = "this test depends on a file produced by test_databaseShadowing_clearOriginsByPrefix1.js"
["test_eviction.js"]
["test_flushing.js"]
["test_groupLimit.js"]
["test_groupMismatch.js"]
["test_largeItems.js"]
["test_lsng_enabled.js"]
["test_migration.js"]
["test_migration_emptyValue.js"]
support-files = ["migration_emptyValue_profile.zip",]
["test_old_lsng_pref.js"]
["test_orderingAfterRemoveAdd.js"]
["test_originInit.js"]
["test_preloading.js"]
["test_schema3upgrade.js"]
["test_schema4upgrade.js"]
["test_snapshotting.js"]
skip-if = ["tsan"] # Unreasonably slow, bug 1612707
requesttimeoutfactor = 4
["test_stringLength.js"]
["test_stringLength2.js"]
["test_unicodeCharacters.js"]
["test_uri_encoding_edge_cases.js"]
["test_usage.js"]
["test_usageAfterMigration.js"]

View File

@ -41,7 +41,7 @@ EXTRA_JS_MODULES += [
"vtt.sys.mjs",
]
XPCSHELL_TESTS_MANIFESTS += ["test/xpcshell/xpcshell.ini"]
XPCSHELL_TESTS_MANIFESTS += ["test/xpcshell/xpcshell.toml"]
MOCHITEST_MANIFESTS += ["test/mochitest/mochitest.toml"]

View File

@ -1,3 +0,0 @@
[DEFAULT]
[test_parser.js]

View File

@ -0,0 +1,3 @@
[DEFAULT]
["test_parser.js"]

View File

@ -7,4 +7,4 @@
MOCHITEST_MANIFESTS += ["mochitest.toml"]
MOCHITEST_CHROME_MANIFESTS += ["chrome.toml"]
XPCSHELL_TESTS_MANIFESTS += ["unit/xpcshell.ini"]
XPCSHELL_TESTS_MANIFESTS += ["unit/xpcshell.toml"]

View File

@ -1,7 +0,0 @@
[DEFAULT]
head =
skip-if = toolkit == 'android'
support-files =
chromeWorker_messageChannel.js
[test_messageChannel.js]

View File

@ -0,0 +1,6 @@
[DEFAULT]
head = ""
skip-if = ["os == 'android'"]
support-files = ["chromeWorker_messageChannel.js"]
["test_messageChannel.js"]

View File

@ -34,7 +34,7 @@ LOCAL_INCLUDES += [
]
BROWSER_CHROME_MANIFESTS += ["test/browser/browser.toml"]
XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.ini"]
XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.toml"]
MOCHITEST_MANIFESTS += ["test/mochitest/mochitest.toml"]
MOCHITEST_CHROME_MANIFESTS += ["test/chrome/chrome.toml"]

View File

@ -1,7 +0,0 @@
[DEFAULT]
head = head_notificationdb.js
skip-if = toolkit == 'android'
[test_notificationdb.js]
[test_notificationdb_bug1024090.js]
[test_notificationdb_migration.js]

View File

@ -0,0 +1,9 @@
[DEFAULT]
head = "head_notificationdb.js"
skip-if = ["os == 'android'"]
["test_notificationdb.js"]
["test_notificationdb_bug1024090.js"]
["test_notificationdb_migration.js"]

View File

@ -39,4 +39,4 @@ MOCHITEST_MANIFESTS += ["tests/mochitest.toml"]
MOCHITEST_CHROME_MANIFESTS += ["tests/chrome.toml"]
XPCSHELL_TESTS_MANIFESTS += ["tests/unit/xpcshell.ini"]
XPCSHELL_TESTS_MANIFESTS += ["tests/unit/xpcshell.toml"]

View File

@ -1,6 +0,0 @@
[DEFAULT]
head =
[test_monitor_uncaught.js]
[test_promise_unhandled_rejection.js]
[test_promise_job_across_sandbox.js]

View File

@ -0,0 +1,8 @@
[DEFAULT]
head = ""
["test_monitor_uncaught.js"]
["test_promise_job_across_sandbox.js"]
["test_promise_unhandled_rejection.js"]

View File

@ -36,7 +36,7 @@ MOCHITEST_MANIFESTS += [
]
XPCSHELL_TESTS_MANIFESTS += [
"test/xpcshell/xpcshell.ini",
"test/xpcshell/xpcshell.toml",
]
EXPORTS.mozilla.dom += [

View File

@ -1,73 +0,0 @@
[DEFAULT]
head = head.js head-http2.js
# Push notifications and alarms are currently disabled on Android.
skip-if = toolkit == 'android'
support-files = broadcast_handler.sys.mjs
[test_broadcast_success.js]
[test_clear_forgetAboutSite.js]
[test_clear_origin_data.js]
[test_crypto.js]
[test_crypto_encrypt.js]
[test_drop_expired.js]
[test_handler_service.js]
[test_notification_ack.js]
[test_notification_data.js]
[test_notification_duplicate.js]
[test_notification_error.js]
[test_notification_incomplete.js]
[test_notification_version_string.js]
[test_observer_data.js]
[test_observer_remoting.js]
skip-if = serviceworker_e10s
[test_permissions.js]
run-sequentially = This will delete all existing push subscriptions.
[test_quota_exceeded.js]
[test_quota_observer.js]
[test_quota_with_notification.js]
[test_record.js]
[test_register_case.js]
[test_register_flush.js]
[test_register_invalid_channel.js]
[test_register_invalid_endpoint.js]
[test_register_invalid_json.js]
[test_register_no_id.js]
[test_register_request_queue.js]
[test_register_rollback.js]
[test_register_success.js]
[test_register_timeout.js]
[test_register_wrong_id.js]
[test_register_wrong_type.js]
[test_registration_error.js]
[test_registration_missing_scope.js]
[test_registration_none.js]
[test_registration_success.js]
[test_unregister_empty_scope.js]
[test_unregister_error.js]
[test_unregister_invalid_json.js]
skip-if =
os == "win" # Bug 1627379
run-sequentially = very high failure rate in parallel
[test_unregister_not_found.js]
[test_unregister_success.js]
[test_updateRecordNoEncryptionKeys_ws.js]
skip-if = os == "linux" # Bug 1265233
[test_reconnect_retry.js]
[test_retry_ws.js]
[test_service_parent.js]
[test_service_child.js]
#http2 test
[test_resubscribe_4xxCode_http2.js]
[test_resubscribe_5xxCode_http2.js]
[test_resubscribe_listening_for_msg_error_http2.js]
[test_register_5xxCode_http2.js]
[test_updateRecordNoEncryptionKeys_http2.js]
[test_clearAll_successful.js]
# This used to be hasNode, but that caused too many issues with tests being
# silently disabled, so now we explicitly call out the platforms not known
# to have node installed.
skip-if = os == "android"
run-sequentially = This will delete all existing push subscriptions.

View File

@ -0,0 +1,121 @@
[DEFAULT]
head = "head.js head-http2.js"
# Push notifications and alarms are currently disabled on Android.
skip-if = ["os == 'android'"]
support-files = ["broadcast_handler.sys.mjs"]
["test_broadcast_success.js"]
["test_clearAll_successful.js"]
# This used to be hasNode, but that caused too many issues with tests being
# silently disabled, so now we explicitly call out the platforms not known
# to have node installed.
skip-if = ["os == 'android'"]
run-sequentially = "This will delete all existing push subscriptions."
["test_clear_forgetAboutSite.js"]
["test_clear_origin_data.js"]
["test_crypto.js"]
["test_crypto_encrypt.js"]
["test_drop_expired.js"]
["test_handler_service.js"]
["test_notification_ack.js"]
["test_notification_data.js"]
["test_notification_duplicate.js"]
["test_notification_error.js"]
["test_notification_incomplete.js"]
["test_notification_version_string.js"]
["test_observer_data.js"]
["test_observer_remoting.js"]
skip-if = ["serviceworker_e10s"]
["test_permissions.js"]
run-sequentially = "This will delete all existing push subscriptions."
["test_quota_exceeded.js"]
["test_quota_observer.js"]
["test_quota_with_notification.js"]
["test_reconnect_retry.js"]
["test_record.js"]
["test_register_5xxCode_http2.js"]
["test_register_case.js"]
["test_register_flush.js"]
["test_register_invalid_channel.js"]
["test_register_invalid_endpoint.js"]
["test_register_invalid_json.js"]
["test_register_no_id.js"]
["test_register_request_queue.js"]
["test_register_rollback.js"]
["test_register_success.js"]
["test_register_timeout.js"]
["test_register_wrong_id.js"]
["test_register_wrong_type.js"]
["test_registration_error.js"]
["test_registration_missing_scope.js"]
["test_registration_none.js"]
["test_registration_success.js"]
["test_resubscribe_4xxCode_http2.js"]
["test_resubscribe_5xxCode_http2.js"]
["test_resubscribe_listening_for_msg_error_http2.js"]
["test_retry_ws.js"]
["test_service_child.js"]
#http2 test
["test_service_parent.js"]
["test_unregister_empty_scope.js"]
["test_unregister_error.js"]
["test_unregister_invalid_json.js"]
skip-if = ["os == 'win'"] # Bug 1627379
run-sequentially = "very high failure rate in parallel"
["test_unregister_not_found.js"]
["test_unregister_success.js"]
["test_updateRecordNoEncryptionKeys_http2.js"]
["test_updateRecordNoEncryptionKeys_ws.js"]
skip-if = ["os == 'linux'"] # Bug 1265233

View File

@ -11,10 +11,10 @@ BROWSER_CHROME_MANIFESTS += ["browser/browser.toml"]
MOCHITEST_MANIFESTS += ["mochitest/mochitest.toml"]
XPCSHELL_TESTS_MANIFESTS += [
"xpcshell/caching/xpcshell.ini",
"xpcshell/telemetry/xpcshell.ini",
"xpcshell/upgrades/xpcshell.ini",
"xpcshell/xpcshell.ini",
"xpcshell/caching/xpcshell.toml",
"xpcshell/telemetry/xpcshell.toml",
"xpcshell/upgrades/xpcshell.toml",
"xpcshell/xpcshell.toml",
]
TEST_HARNESS_FILES.testing.mochitest.browser.dom.quota.test.common += [

View File

@ -1,17 +0,0 @@
# 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]
head = head.js
support-files =
groupMismatch_profile.zip
removedOrigin_profile.zip
[make_unsetLastAccessTime.js]
skip-if = true # Only used for recreating unsetLastAccessTime_profile.zip
[test_groupMismatch.js]
[test_removedOrigin.js]
[test_unsetLastAccessTime.js]
support-files =
unsetLastAccessTime_profile.zip

View File

@ -0,0 +1,16 @@
[DEFAULT]
head = "head.js"
support-files = [
"groupMismatch_profile.zip",
"removedOrigin_profile.zip",
]
["make_unsetLastAccessTime.js"]
skip-if = ["true"] # Only used for recreating unsetLastAccessTime_profile.zip
["test_groupMismatch.js"]
["test_removedOrigin.js"]
["test_unsetLastAccessTime.js"]
support-files = ["unsetLastAccessTime_profile.zip"]

View File

@ -1,20 +0,0 @@
# 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]
head = head.js
support-files =
version0_0_make_it_unusable.zip
version0_0_profile.zip
version1_0_make_it_unusable.zip
version1_0_profile.zip
version2_0_make_it_unusable.zip
version2_0_profile.zip
version2_1_make_it_unusable.zip
version2_1_profile.zip
version2_2_make_it_unusable.zip
version2_2_profile.zip
[test_qm_first_initialization_attempt.js]
skip-if = appname == "thunderbird"

View File

@ -0,0 +1,17 @@
[DEFAULT]
head = "head.js"
support-files = [
"version0_0_make_it_unusable.zip",
"version0_0_profile.zip",
"version1_0_make_it_unusable.zip",
"version1_0_profile.zip",
"version2_0_make_it_unusable.zip",
"version2_0_profile.zip",
"version2_1_make_it_unusable.zip",
"version2_1_profile.zip",
"version2_2_make_it_unusable.zip",
"version2_2_profile.zip",
]
["test_qm_first_initialization_attempt.js"]
skip-if = ["appname == 'thunderbird'"]

View File

@ -1,61 +0,0 @@
# 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]
head = head.js
support-files =
cacheVersion1_profile.json
cacheVersion1_profile.zip
indexedDBAndPersistentStorageDirectory_profile.json
indexedDBAndPersistentStorageDirectory_profile.zip
indexedDBDirectory_flatOriginDirectories_profile.json
indexedDBDirectory_flatOriginDirectories_profile.zip
indexedDBDirectory_profile.json
indexedDBDirectory_profile.zip
localStorageArchive1upgrade_profile.zip
localStorageArchive4upgrade_profile.zip
localStorageArchiveDowngrade_profile.zip
persistentAndDefaultStorageDirectory_profile.json
persistentAndDefaultStorageDirectory_profile.zip
persistentStorageDirectory_flatOriginDirectories_profile.json
persistentStorageDirectory_flatOriginDirectories_profile.zip
persistentStorageDirectory_originDirectories_profile.json
persistentStorageDirectory_originDirectories_profile.zip
persistentStorageDirectory_profile.json
persistentStorageDirectory_profile.zip
version0_0_profile.json
version0_0_profile.zip
version1_0_appsData_profile.json
version1_0_appsData_profile.zip
version1_0_idb_profile.json
version1_0_idb_profile.zip
version1_0_morgueDirectory_profile.json
version1_0_morgueDirectory_profile.zip
version1_0_obsoleteOriginAttributes_profile.json
version1_0_obsoleteOriginAttributes_profile.zip
version2_0_profile.json
version2_0_profile.zip
version2_1_profile.json
version2_1_profile.zip
version2_2_profile.json
version2_2_profile.zip
[test_localStorageArchive1upgrade.js]
[test_localStorageArchive4upgrade.js]
[test_localStorageArchiveDowngrade.js]
[test_upgradeCacheFrom1.js]
[test_upgradeFromFlatOriginDirectories.js]
[test_upgradeFromIndexedDBDirectory.js]
[test_upgradeFromIndexedDBDirectory_removeOldDirectory.js]
[test_upgradeFromPersistentStorageDirectory.js]
[test_upgradeFromPersistentStorageDirectory_removeOldDirectory.js]
[test_upgradeFromPersistentStorageDirectory_upgradeOriginDirectories.js]
[test_upgradeStorageFrom0_0.js]
[test_upgradeStorageFrom1_0_idb.js]
[test_upgradeStorageFrom1_0_removeAppsData.js]
[test_upgradeStorageFrom1_0_removeMorgueDirectory.js]
[test_upgradeStorageFrom1_0_stripObsoleteOriginAttributes.js]
[test_upgradeStorageFrom2_0.js]
[test_upgradeStorageFrom2_1.js]
[test_upgradeStorageFrom2_2.js]

View File

@ -0,0 +1,75 @@
[DEFAULT]
head = "head.js"
support-files = [
"cacheVersion1_profile.json",
"cacheVersion1_profile.zip",
"indexedDBAndPersistentStorageDirectory_profile.json",
"indexedDBAndPersistentStorageDirectory_profile.zip",
"indexedDBDirectory_flatOriginDirectories_profile.json",
"indexedDBDirectory_flatOriginDirectories_profile.zip",
"indexedDBDirectory_profile.json",
"indexedDBDirectory_profile.zip",
"localStorageArchive1upgrade_profile.zip",
"localStorageArchive4upgrade_profile.zip",
"localStorageArchiveDowngrade_profile.zip",
"persistentAndDefaultStorageDirectory_profile.json",
"persistentAndDefaultStorageDirectory_profile.zip",
"persistentStorageDirectory_flatOriginDirectories_profile.json",
"persistentStorageDirectory_flatOriginDirectories_profile.zip",
"persistentStorageDirectory_originDirectories_profile.json",
"persistentStorageDirectory_originDirectories_profile.zip",
"persistentStorageDirectory_profile.json",
"persistentStorageDirectory_profile.zip",
"version0_0_profile.json",
"version0_0_profile.zip",
"version1_0_appsData_profile.json",
"version1_0_appsData_profile.zip",
"version1_0_idb_profile.json",
"version1_0_idb_profile.zip",
"version1_0_morgueDirectory_profile.json",
"version1_0_morgueDirectory_profile.zip",
"version1_0_obsoleteOriginAttributes_profile.json",
"version1_0_obsoleteOriginAttributes_profile.zip",
"version2_0_profile.json",
"version2_0_profile.zip",
"version2_1_profile.json",
"version2_1_profile.zip",
"version2_2_profile.json",
"version2_2_profile.zip",
]
["test_localStorageArchive1upgrade.js"]
["test_localStorageArchive4upgrade.js"]
["test_localStorageArchiveDowngrade.js"]
["test_upgradeCacheFrom1.js"]
["test_upgradeFromFlatOriginDirectories.js"]
["test_upgradeFromIndexedDBDirectory.js"]
["test_upgradeFromIndexedDBDirectory_removeOldDirectory.js"]
["test_upgradeFromPersistentStorageDirectory.js"]
["test_upgradeFromPersistentStorageDirectory_removeOldDirectory.js"]
["test_upgradeFromPersistentStorageDirectory_upgradeOriginDirectories.js"]
["test_upgradeStorageFrom0_0.js"]
["test_upgradeStorageFrom1_0_idb.js"]
["test_upgradeStorageFrom1_0_removeAppsData.js"]
["test_upgradeStorageFrom1_0_removeMorgueDirectory.js"]
["test_upgradeStorageFrom1_0_stripObsoleteOriginAttributes.js"]
["test_upgradeStorageFrom2_0.js"]
["test_upgradeStorageFrom2_1.js"]
["test_upgradeStorageFrom2_2.js"]

View File

@ -1,71 +0,0 @@
# 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]
head = head.js
tags = condprof
support-files =
basics_profile.zip
clearStoragesForOriginPrefix_profile.json
clearStoragesForOriginPrefix_profile.zip
clearStoragesForPrincipal_profile.zip
clearStoragesForPrivateBrowsing_profile.json
clearStoragesForPrivateBrowsing_profile.zip
createLocalStorage_profile.zip
defaultStorageDirectory_shared.json
defaultStorageDirectory_shared.zip
getUsage_profile.zip
groupMismatch_profile.zip
indexedDBDirectory_shared.json
indexedDBDirectory_shared.zip
originMismatch_profile.json
originMismatch_profile.zip
persistentStorageDirectory_shared.json
persistentStorageDirectory_shared.zip
removeLocalStorage1_profile.zip
removeLocalStorage2_profile.zip
tempMetadataCleanup_profile.zip
unknownFiles_profile.zip
[make_unknownFiles.js]
skip-if = true # Only used for recreating unknownFiles_profile.zip
[make_unsetLastAccessTime.js]
skip-if = true # Only used for recreating unsetLastAccessTime_profile.zip
[test_allowListFiles.js]
[test_basics.js]
[test_bad_origin_directory.js]
[test_createLocalStorage.js]
[test_clearStoragesForPrincipal.js]
[test_clearStoragesForPrivateBrowsing.js]
[test_clearStoragesForOriginAttributesPattern.js]
[test_clearStoragesForOriginPrefix.js]
[test_estimateOrigin.js]
[test_getUsage.js]
[test_groupMismatch.js]
skip-if = true # The group is now always empty, so metadata can't differ anymore.
[test_initTemporaryStorage.js]
skip-if = condprof # frequent perma fail, then goes away.
[test_initializePersistentClient.js]
[test_initializeTemporaryClient.js]
[test_listOrigins.js]
[test_originEndsWithDot.js]
[test_originMismatch.js]
[test_originWithCaret.js]
[test_orpahnedQuotaObject.js]
[test_persist.js]
[test_persist_eviction.js]
[test_persist_globalLimit.js]
[test_persist_groupLimit.js]
[test_removeLocalStorage.js]
[test_simpledb.js]
[test_specialOrigins.js]
[test_storagePressure.js]
skip-if = condprof
[test_tempMetadataCleanup.js]
[test_unaccessedOrigins.js]
[test_unknownFiles.js]
[test_unsetLastAccessTime.js]
support-files =
unsetLastAccessTime_profile.zip
[test_validOrigins.js]

View File

@ -0,0 +1,100 @@
[DEFAULT]
head = "head.js"
tags = "condprof"
support-files = [
"basics_profile.zip",
"clearStoragesForOriginPrefix_profile.json",
"clearStoragesForOriginPrefix_profile.zip",
"clearStoragesForPrincipal_profile.zip",
"clearStoragesForPrivateBrowsing_profile.json",
"clearStoragesForPrivateBrowsing_profile.zip",
"createLocalStorage_profile.zip",
"defaultStorageDirectory_shared.json",
"defaultStorageDirectory_shared.zip",
"getUsage_profile.zip",
"groupMismatch_profile.zip",
"indexedDBDirectory_shared.json",
"indexedDBDirectory_shared.zip",
"originMismatch_profile.json",
"originMismatch_profile.zip",
"persistentStorageDirectory_shared.json",
"persistentStorageDirectory_shared.zip",
"removeLocalStorage1_profile.zip",
"removeLocalStorage2_profile.zip",
"tempMetadataCleanup_profile.zip",
"unknownFiles_profile.zip",
]
["make_unknownFiles.js"]
skip-if = ["true"] # Only used for recreating unknownFiles_profile.zip
["make_unsetLastAccessTime.js"]
skip-if = ["true"] # Only used for recreating unsetLastAccessTime_profile.zip
["test_allowListFiles.js"]
["test_bad_origin_directory.js"]
["test_basics.js"]
["test_clearStoragesForOriginAttributesPattern.js"]
["test_clearStoragesForOriginPrefix.js"]
["test_clearStoragesForPrincipal.js"]
["test_clearStoragesForPrivateBrowsing.js"]
["test_createLocalStorage.js"]
["test_estimateOrigin.js"]
["test_getUsage.js"]
["test_groupMismatch.js"]
skip-if = ["true"] # The group is now always empty, so metadata can't differ anymore.
["test_initTemporaryStorage.js"]
skip-if = ["condprof"] # frequent perma fail, then goes away.
["test_initializePersistentClient.js"]
["test_initializeTemporaryClient.js"]
["test_listOrigins.js"]
["test_originEndsWithDot.js"]
["test_originMismatch.js"]
["test_originWithCaret.js"]
["test_orpahnedQuotaObject.js"]
["test_persist.js"]
["test_persist_eviction.js"]
["test_persist_globalLimit.js"]
["test_persist_groupLimit.js"]
["test_removeLocalStorage.js"]
["test_simpledb.js"]
["test_specialOrigins.js"]
["test_storagePressure.js"]
skip-if = ["condprof"]
["test_tempMetadataCleanup.js"]
["test_unaccessedOrigins.js"]
["test_unknownFiles.js"]
["test_unsetLastAccessTime.js"]
support-files = ["unsetLastAccessTime_profile.zip"]
["test_validOrigins.js"]

View File

@ -8,7 +8,7 @@ with Files("cors/**"):
BUG_COMPONENT = ("Core", "Networking")
XPCSHELL_TESTS_MANIFESTS += [
"unit/xpcshell.ini",
"unit/xpcshell.toml",
]
TEST_DIRS += [

View File

@ -1,11 +0,0 @@
[DEFAULT]
head =
[test_csp_reports.js]
[test_isOriginPotentiallyTrustworthy.js]
[test_deserialization_format_before_100.js]
[test_csp_upgrade_insecure_request_header.js]
[test_https_only_https_first_prefs.js]
skip-if = debug # assertions in loadinfo; loadinfo is just not xpcshell test friendly
[test_https_only_https_first_default_port.js]
skip-if = debug # assertions in loadinfo; loadinfo is just not xpcshell test friendly

View File

@ -0,0 +1,16 @@
[DEFAULT]
head = ""
["test_csp_reports.js"]
["test_csp_upgrade_insecure_request_header.js"]
["test_deserialization_format_before_100.js"]
["test_https_only_https_first_default_port.js"]
skip-if = ["debug"] # assertions in loadinfo; loadinfo is just not xpcshell test friendly
["test_https_only_https_first_prefs.js"]
skip-if = ["debug"] # assertions in loadinfo; loadinfo is just not xpcshell test friendly
["test_isOriginPotentiallyTrustworthy.js"]

View File

@ -69,4 +69,4 @@ LOCAL_INCLUDES += [
# MOCHITEST_MANIFESTS += ["tests/mochitest.ini"]
# ROWSER_CHROME_MANIFESTS += ["tests/browser/browser.ini"]
XPCSHELL_TESTS_MANIFESTS += ["test/xpcshell/xpcshell.ini"]
XPCSHELL_TESTS_MANIFESTS += ["test/xpcshell/xpcshell.toml"]

View File

@ -1,22 +0,0 @@
[DEFAULT]
head = head.js
skip-if = toolkit == 'android'
support-files =
[response.js]
[fetch.js]
[dom_stream_prototype_test.js]
[subclassing.js]
[bug-1387503-1.js]
prefs=
security.allow_parent_unrestricted_js_loads=true
[bug-1503406.js]
[proper-realm-cancel.js]
[proper-realm-pull.js]
[large-pipeto.js]
skip-if =
os == "win"
tsan # Causes claim expired errors; see Bug 1770170.
run-sequentially = very high failure rate in parallel
[too-big-array-buffer.js]
[bug-1773237.js]

View File

@ -0,0 +1,32 @@
[DEFAULT]
head = "head.js"
skip-if = ["os == 'android'"]
support-files = ""
["bug-1387503-1.js"]
prefs = ["security.allow_parent_unrestricted_js_loads=true"]
["bug-1503406.js"]
["bug-1773237.js"]
["dom_stream_prototype_test.js"]
["fetch.js"]
["large-pipeto.js"]
skip-if = [
"os == 'win'",
"tsan", # Causes claim expired errors; see Bug 1770170.
]
run-sequentially = "very high failure rate in parallel"
["proper-realm-cancel.js"]
["proper-realm-pull.js"]
["response.js"]
["subclassing.js"]
["too-big-array-buffer.js"]