Bug 1859901 - Batch 18 - migrate rest of xpcshell.ini -> toml. r=aryx,extension-reviewers,application-update-reviewers,credential-management-reviewers,places-reviewers,profiler-reviewers,win-reviewers,robwu,julienw,nalexander,Standard8,sgalich

Differential Revision: https://phabricator.services.mozilla.com/D194891
This commit is contained in:
Joel Maher 2023-11-30 16:14:52 +00:00
parent 143acea492
commit 29e80ac522
143 changed files with 3227 additions and 2250 deletions

View file

@ -9,7 +9,7 @@ if CONFIG["MOZ_BUILD_APP"] == "browser":
MOCHITEST_MANIFESTS += ["test/mochitest/mochitest.toml"]
BROWSER_CHROME_MANIFESTS += ["test/browser/browser.toml"]
XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.ini"]
XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.toml"]
TESTING_JS_MODULES += [
"test/LoginTestUtils.sys.mjs",

View file

@ -1,74 +0,0 @@
[DEFAULT]
head = head.js
skip-if =
os == "android" || toolkit == "android" # Not supported on GV because we can't add/remove from storage.
support-files = data/**
# Test logins.json file access, not applicable to Android.
[test_module_LoginStore.js]
skip-if = os == "android"
[test_loginsBackup.js]
skip-if = os == "android"
# The following tests apply to any storage back-end that supports add/modify/remove.
[test_context_menu.js]
skip-if = os == "android" # The context menu isn't used on Android.
# LoginManagerContextMenu is only included for MOZ_BUILD_APP == 'browser'.
run-if = buildapp == "browser"
[test_dedupeLogins.js]
[test_disabled_hosts.js]
[test_displayOrigin.js]
[test_doLoginsMatch.js]
[test_findRelatedRealms.js]
[test_getFormFields.js]
[test_getPasswordFields.js]
[test_getPasswordOrigin.js]
[test_getUserNameAndPasswordFields.js]
[test_getUsernameFieldFromUsernameOnlyForm.js]
[test_isInferredLoginForm.js]
[test_isInferredUsernameField.js]
[test_isOriginMatching.js]
[test_isProbablyANewPasswordField.js]
[test_isUsernameFieldType.js]
[test_legacy_empty_formActionOrigin.js]
[test_LoginManagerParent_doAutocompleteSearch.js]
skip-if = os == "android" # Password generation not packaged/used on Android
[test_LoginManagerParent_getGeneratedPassword.js]
skip-if = os == "android" # Password generation not packaged/used on Android
[test_LoginManagerParent_onPasswordEditedOrGenerated.js]
skip-if = os == "android" # Password generation not packaged/used on Android
[test_LoginManagerParent_searchAndDedupeLogins.js]
skip-if = os == "android" # schemeUpgrades aren't supported
[test_LoginManagerPrompter_getUsernameSuggestions.js]
skip-if = os == "android" # Tests desktop's prompter
[test_legacy_validation.js]
[test_login_autocomplete_result.js]
skip-if = os == "android"
[test_logins_change.js]
[test_logins_decrypt_failure.js]
skip-if = os == "android" # Bug 1171687: Needs fixing on Android
[test_logins_metainfo.js]
[test_logins_search.js]
[test_maybeImportLogin.js]
skip-if = os == "android" # Only used by migrator, which isn't on Android
[test_module_LoginCSVImport.js]
[test_CSVParser.js]
[test_module_LoginExport.js]
skip-if = os == "android" # there is no export for android
[test_module_LoginManager.js]
[test_notifications.js]
[test_OSCrypto_win.js]
skip-if = os != "win"
[test_PasswordGenerator.js]
skip-if = os == "android" # Not packaged/used on Android
[test_PasswordRulesManager_generatePassword.js]
[test_recipes_add.js]
[test_recipes_content.js]
[test_remote_recipes.js]
skip-if = os == "android"
[test_search_schemeUpgrades.js]
[test_shadowHTTPLogins.js]
[test_storage.js]
[test_telemetry.js]
[test_vulnerable_passwords.js]
skip-if = os == "android" # Not implemented for storage-mozStorage

View file

@ -0,0 +1,118 @@
[DEFAULT]
head = "head.js"
skip-if = ["os == 'android'"] # Not supported on GV because we can't add/remove from storage.
support-files = ["data/**"]
["test_CSVParser.js"]
["test_LoginManagerParent_doAutocompleteSearch.js"]
skip-if = ["os == 'android'"] # Password generation not packaged/used on Android
["test_LoginManagerParent_getGeneratedPassword.js"]
skip-if = ["os == 'android'"] # Password generation not packaged/used on Android
["test_LoginManagerParent_onPasswordEditedOrGenerated.js"]
skip-if = ["os == 'android'"] # Password generation not packaged/used on Android
["test_LoginManagerParent_searchAndDedupeLogins.js"]
skip-if = ["os == 'android'"] # schemeUpgrades aren't supported
["test_LoginManagerPrompter_getUsernameSuggestions.js"]
skip-if = ["os == 'android'"] # Tests desktop's prompter
["test_OSCrypto_win.js"]
run-if = ["os == 'win'"]
["test_PasswordGenerator.js"]
skip-if = ["os == 'android'"] # Not packaged/used on Android
["test_PasswordRulesManager_generatePassword.js"]
["test_context_menu.js"]
skip-if = ["os == 'android'"] # The context menu isn't used on Android.
# LoginManagerContextMenu is only included for MOZ_BUILD_APP == 'browser'.
run-if = ["buildapp == 'browser'"]
["test_dedupeLogins.js"]
["test_disabled_hosts.js"]
["test_displayOrigin.js"]
["test_doLoginsMatch.js"]
["test_findRelatedRealms.js"]
["test_getFormFields.js"]
["test_getPasswordFields.js"]
["test_getPasswordOrigin.js"]
["test_getUserNameAndPasswordFields.js"]
["test_getUsernameFieldFromUsernameOnlyForm.js"]
["test_isInferredLoginForm.js"]
["test_isInferredUsernameField.js"]
["test_isOriginMatching.js"]
["test_isProbablyANewPasswordField.js"]
["test_isUsernameFieldType.js"]
["test_legacy_empty_formActionOrigin.js"]
["test_legacy_validation.js"]
["test_login_autocomplete_result.js"]
skip-if = ["os == 'android'"]
["test_loginsBackup.js"]
skip-if = ["os == 'android'"]
# The following tests apply to any storage back-end that supports add/modify/remove.
["test_logins_change.js"]
["test_logins_decrypt_failure.js"]
skip-if = ["os == 'android'"] # Bug 1171687: Needs fixing on Android
["test_logins_metainfo.js"]
["test_logins_search.js"]
["test_maybeImportLogin.js"]
skip-if = ["os == 'android'"] # Only used by migrator, which isn't on Android
["test_module_LoginCSVImport.js"]
["test_module_LoginExport.js"]
skip-if = ["os == 'android'"] # there is no export for android
["test_module_LoginManager.js"]
["test_module_LoginStore.js"]
skip-if = ["os == 'android'"]
["test_notifications.js"]
["test_recipes_add.js"]
["test_recipes_content.js"]
["test_remote_recipes.js"]
skip-if = ["os == 'android'"]
["test_search_schemeUpgrades.js"]
["test_shadowHTTPLogins.js"]
["test_storage.js"]
["test_telemetry.js"]
["test_vulnerable_passwords.js"]
skip-if = ["os == 'android'"] # Not implemented for storage-mozStorage

View file

@ -1,47 +0,0 @@
[DEFAULT]
head = head_bookmarks.js
skip-if = toolkit == 'android'
firefox-appdir = browser
[test_1016953-renaming-uncompressed.js]
[test_1017502-bookmarks_foreign_count.js]
[test_384228.js]
[test_385829.js]
[test_388695.js]
[test_393498.js]
[test_405938_restore_queries.js]
[test_424958-json-quoted-folders.js]
[test_448584.js]
[test_458683.js]
[test_466303-json-remove-backups.js]
[test_477583_json-backup-in-future.js]
[test_818584-discard-duplicate-backups.js]
[test_818587_compress-bookmarks-backups.js]
[test_818593-store-backup-metadata.js]
[test_992901-backup-unsorted-hierarchy.js]
[test_997030-bookmarks-html-encode.js]
[test_1129529.js]
support-files =
bookmarks_long_tag.json
[test_async_observers.js]
[test_bmindex.js]
[test_bookmark_observer.js]
[test_bookmarks_eraseEverything.js]
[test_bookmarks_fetch.js]
[test_bookmarks_getRecent.js]
[test_bookmarks_insert.js]
[test_bookmarks_insertTree.js]
[test_bookmarks_notifications.js]
[test_bookmarks_moveToFolder.js]
[test_bookmarks_remove.js]
[test_bookmarks_remove_batch.js]
[test_bookmarks_reorder.js]
[test_bookmarks_search.js]
[test_bookmarks_update.js]
[test_insertTree_fixupOrSkipInvalidEntries.js]
[test_keywords.js]
[test_removeFolderTransaction_reinsert.js]
[test_savedsearches.js]
[test_sync_fields.js]
[test_tags.js]
[test_untitled.js]

View file

@ -0,0 +1,85 @@
[DEFAULT]
head = "head_bookmarks.js"
skip-if = ["os == 'android'"]
firefox-appdir = "browser"
["test_1016953-renaming-uncompressed.js"]
["test_1017502-bookmarks_foreign_count.js"]
["test_1129529.js"]
support-files = ["bookmarks_long_tag.json"]
["test_384228.js"]
["test_385829.js"]
["test_388695.js"]
["test_393498.js"]
["test_405938_restore_queries.js"]
["test_424958-json-quoted-folders.js"]
["test_448584.js"]
["test_458683.js"]
["test_466303-json-remove-backups.js"]
["test_477583_json-backup-in-future.js"]
["test_818584-discard-duplicate-backups.js"]
["test_818587_compress-bookmarks-backups.js"]
["test_818593-store-backup-metadata.js"]
["test_992901-backup-unsorted-hierarchy.js"]
["test_997030-bookmarks-html-encode.js"]
["test_async_observers.js"]
["test_bmindex.js"]
["test_bookmark_observer.js"]
["test_bookmarks_eraseEverything.js"]
["test_bookmarks_fetch.js"]
["test_bookmarks_getRecent.js"]
["test_bookmarks_insert.js"]
["test_bookmarks_insertTree.js"]
["test_bookmarks_moveToFolder.js"]
["test_bookmarks_notifications.js"]
["test_bookmarks_remove.js"]
["test_bookmarks_remove_batch.js"]
["test_bookmarks_reorder.js"]
["test_bookmarks_search.js"]
["test_bookmarks_update.js"]
["test_insertTree_fixupOrSkipInvalidEntries.js"]
["test_keywords.js"]
["test_removeFolderTransaction_reinsert.js"]
["test_savedsearches.js"]
["test_sync_fields.js"]
["test_tags.js"]
["test_untitled.js"]

View file

@ -1,14 +0,0 @@
[DEFAULT]
head = head_expiration.js
skip-if = toolkit == 'android'
[test_annos_expire_never.js]
[test_clearHistory.js]
[test_debug_expiration.js]
[test_idle_daily.js]
[test_interactions_expiration.js]
[test_notifications.js]
[test_notifications_pageRemoved_allVisits.js]
[test_notifications_pageRemoved_fromStore.js]
[test_pref_interval.js]
[test_pref_maxpages.js]

View file

@ -0,0 +1,23 @@
[DEFAULT]
head = "head_expiration.js"
skip-if = ["os == 'android'"]
["test_annos_expire_never.js"]
["test_clearHistory.js"]
["test_debug_expiration.js"]
["test_idle_daily.js"]
["test_interactions_expiration.js"]
["test_notifications.js"]
["test_notifications_pageRemoved_allVisits.js"]
["test_notifications_pageRemoved_fromStore.js"]
["test_pref_interval.js"]
["test_pref_maxpages.js"]

View file

@ -1,50 +0,0 @@
[DEFAULT]
head = head_favicons.js
skip-if = toolkit == 'android'
support-files =
expected-favicon-animated16.png.png
expected-favicon-big32.jpg.png
expected-favicon-big4.jpg.png
expected-favicon-big16.ico.png
expected-favicon-big48.ico.png
expected-favicon-big64.png.png
expected-favicon-scale160x3.jpg.png
expected-favicon-scale3x160.jpg.png
favicon-animated16.png
favicon-big16.ico
favicon-big32.jpg
favicon-big4.jpg
favicon-big48.ico
favicon-big64.png
favicon-multi.ico
favicon-multi-frame16.png
favicon-multi-frame32.png
favicon-multi-frame64.png
favicon-normal16.png
favicon-normal32.png
favicon-scale160x3.jpg
favicon-scale3x160.jpg
noise.png
[test_copyFavicons.js]
[test_expireAllFavicons.js]
[test_expire_migrated_icons.js]
[test_expire_on_new_icons.js]
[test_favicons_conversions.js]
[test_favicons_protocols_ref.js]
[test_getFaviconDataForPage.js]
[test_getFaviconLinkForIcon.js]
[test_getFaviconURLForPage.js]
[test_heavy_favicon.js]
[test_incremental_vacuum.js]
[test_moz-anno_favicon_mime_type.js]
[test_multiple_frames.js]
[test_page-icon_protocol.js]
[test_query_result_favicon_changed_on_child.js]
[test_replaceFaviconData.js]
[test_replaceFaviconDataFromDataURL.js]
[test_root_icons.js]
[test_setAndFetchFaviconForPage.js]
[test_setAndFetchFaviconForPage_failures.js]
[test_setAndFetchFaviconForPage_redirects.js]
[test_svg_favicon.js]

View file

@ -0,0 +1,72 @@
[DEFAULT]
head = "head_favicons.js"
skip-if = ["os == 'android'"]
support-files = [
"expected-favicon-animated16.png.png",
"expected-favicon-big32.jpg.png",
"expected-favicon-big4.jpg.png",
"expected-favicon-big16.ico.png",
"expected-favicon-big48.ico.png",
"expected-favicon-big64.png.png",
"expected-favicon-scale160x3.jpg.png",
"expected-favicon-scale3x160.jpg.png",
"favicon-animated16.png",
"favicon-big16.ico",
"favicon-big32.jpg",
"favicon-big4.jpg",
"favicon-big48.ico",
"favicon-big64.png",
"favicon-multi.ico",
"favicon-multi-frame16.png",
"favicon-multi-frame32.png",
"favicon-multi-frame64.png",
"favicon-normal16.png",
"favicon-normal32.png",
"favicon-scale160x3.jpg",
"favicon-scale3x160.jpg",
"noise.png",
]
["test_copyFavicons.js"]
["test_expireAllFavicons.js"]
["test_expire_migrated_icons.js"]
["test_expire_on_new_icons.js"]
["test_favicons_conversions.js"]
["test_favicons_protocols_ref.js"]
["test_getFaviconDataForPage.js"]
["test_getFaviconLinkForIcon.js"]
["test_getFaviconURLForPage.js"]
["test_heavy_favicon.js"]
["test_incremental_vacuum.js"]
["test_moz-anno_favicon_mime_type.js"]
["test_multiple_frames.js"]
["test_page-icon_protocol.js"]
["test_query_result_favicon_changed_on_child.js"]
["test_replaceFaviconData.js"]
["test_replaceFaviconDataFromDataURL.js"]
["test_root_icons.js"]
["test_setAndFetchFaviconForPage.js"]
["test_setAndFetchFaviconForPage_failures.js"]
["test_setAndFetchFaviconForPage_redirects.js"]
["test_svg_favicon.js"]

View file

@ -1,20 +0,0 @@
[DEFAULT]
head = head_history.js
[test_async_history_api.js]
[test_bookmark_unhide.js]
[test_fetch.js]
[test_fetchAnnotatedPages.js]
[test_fetchMany.js]
[test_hasVisits.js]
[test_insert.js]
[test_insert_null_title.js]
[test_insertMany.js]
[test_remove.js]
[test_removeMany.js]
[test_removeVisits.js]
[test_removeByFilter.js]
[test_removeVisitsByFilter.js]
[test_sameUri_titleChanged.js]
[test_update.js]
[test_updatePlaces_embed.js]

View file

@ -0,0 +1,36 @@
[DEFAULT]
head = "head_history.js"
["test_async_history_api.js"]
["test_bookmark_unhide.js"]
["test_fetch.js"]
["test_fetchAnnotatedPages.js"]
["test_fetchMany.js"]
["test_hasVisits.js"]
["test_insert.js"]
["test_insertMany.js"]
["test_insert_null_title.js"]
["test_remove.js"]
["test_removeByFilter.js"]
["test_removeMany.js"]
["test_removeVisits.js"]
["test_removeVisitsByFilter.js"]
["test_sameUri_titleChanged.js"]
["test_update.js"]
["test_updatePlaces_embed.js"]

View file

@ -1,10 +0,0 @@
# This directory is for tests for the legacy, sync APIs as somewhere to put them
# until we remove the APIs themselves.
[DEFAULT]
head = head_legacy.js
firefox-appdir = browser
[test_bookmarks.js]
[test_bookmarks_setNullTitle.js]
[test_protectRoots.js]

View file

@ -0,0 +1,11 @@
[DEFAULT]
# This directory is for tests for the legacy, sync APIs as somewhere to put them
# until we remove the APIs themselves.
head = "head_legacy.js"
firefox-appdir = "browser"
["test_bookmarks.js"]
["test_bookmarks_setNullTitle.js"]
["test_protectRoots.js"]

View file

@ -1,20 +0,0 @@
[DEFAULT]
head = head.js
firefox-appdir = browser
support-files =
corruptDB.sqlite
corruptPayload.sqlite
[test_corrupt_favicons.js]
[test_corrupt_favicons_schema.js]
[test_corrupt_places_schema.js]
[test_corrupt_telemetry.js]
[test_favicons_replaceOnStartup.js]
[test_favicons_replaceOnStartup_clone.js]
[test_integrity_replacement.js]
[test_places_purge_caches.js]
[test_places_replaceOnStartup.js]
[test_places_replaceOnStartup_clone.js]
[test_preventive_maintenance.js]
[test_preventive_maintenance_checkAndFixDatabase.js]
[test_preventive_maintenance_runTasks.js]

View file

@ -0,0 +1,33 @@
[DEFAULT]
head = "head.js"
firefox-appdir = "browser"
support-files = [
"corruptDB.sqlite",
"corruptPayload.sqlite",
]
["test_corrupt_favicons.js"]
["test_corrupt_favicons_schema.js"]
["test_corrupt_places_schema.js"]
["test_corrupt_telemetry.js"]
["test_favicons_replaceOnStartup.js"]
["test_favicons_replaceOnStartup_clone.js"]
["test_integrity_replacement.js"]
["test_places_purge_caches.js"]
["test_places_replaceOnStartup.js"]
["test_places_replaceOnStartup_clone.js"]
["test_preventive_maintenance.js"]
["test_preventive_maintenance_checkAndFixDatabase.js"]
["test_preventive_maintenance_runTasks.js"]

View file

@ -1,28 +0,0 @@
[DEFAULT]
head = head_migration.js
skip-if = condprof # Not worth running conditioned profiles on these migration
# tests for databases. See discussion in bug 1838791.
support-files =
favicons_v41.sqlite
places_outdated.sqlite
places_v52.sqlite
places_v54.sqlite
places_v66.sqlite
places_v68.sqlite
places_v69.sqlite
places_v70.sqlite
places_v72.sqlite
places_v74.sqlite
places_v75.sqlite
[test_current_from_downgraded.js]
[test_current_from_outdated.js]
[test_current_from_v53.js]
[test_current_from_v54.js]
[test_current_from_v66.js]
[test_current_from_v68.js]
[test_current_from_v69.js]
[test_current_from_v70.js]
[test_current_from_v72.js]
[test_current_from_v74.js]

View file

@ -0,0 +1,38 @@
[DEFAULT]
head = "head_migration.js"
skip-if = ["condprof"] # Not worth running conditioned profiles on these migration
# tests for databases. See discussion in bug 1838791.
support-files = [
"favicons_v41.sqlite",
"places_outdated.sqlite",
"places_v52.sqlite",
"places_v54.sqlite",
"places_v66.sqlite",
"places_v68.sqlite",
"places_v69.sqlite",
"places_v70.sqlite",
"places_v72.sqlite",
"places_v74.sqlite",
"places_v75.sqlite",
]
["test_current_from_downgraded.js"]
["test_current_from_outdated.js"]
["test_current_from_v53.js"]
["test_current_from_v54.js"]
["test_current_from_v66.js"]
["test_current_from_v68.js"]
["test_current_from_v69.js"]
["test_current_from_v70.js"]
["test_current_from_v72.js"]
["test_current_from_v74.js"]

View file

@ -11,16 +11,16 @@ TESTING_JS_MODULES += [
]
XPCSHELL_TESTS_MANIFESTS += [
"bookmarks/xpcshell.ini",
"expiration/xpcshell.ini",
"favicons/xpcshell.ini",
"history/xpcshell.ini",
"legacy/xpcshell.ini",
"maintenance/xpcshell.ini",
"migration/xpcshell.ini",
"queries/xpcshell.ini",
"sync/xpcshell.ini",
"unit/xpcshell.ini",
"bookmarks/xpcshell.toml",
"expiration/xpcshell.toml",
"favicons/xpcshell.toml",
"history/xpcshell.toml",
"legacy/xpcshell.toml",
"maintenance/xpcshell.toml",
"migration/xpcshell.toml",
"queries/xpcshell.toml",
"sync/xpcshell.toml",
"unit/xpcshell.toml",
]
BROWSER_CHROME_MANIFESTS += [

View file

@ -1,31 +0,0 @@
[DEFAULT]
head = head_queries.js
skip-if = toolkit == 'android'
[test_async.js]
[test_bookmarks.js]
[test_containersQueries_sorting.js]
[test_downloadHistory_liveUpdate.js]
[test_excludeQueries.js]
[test_history_queries_tags_liveUpdate.js]
[test_history_queries_titles_liveUpdate.js]
[test_options_inherit.js]
[test_query_uri_liveupdate.js]
[test_queryMultipleFolder.js]
[test_querySerialization.js]
[test_redirects.js]
[test_result_observeHistoryDetails.js]
[test_results-as-left-pane.js]
[test_results-as-roots.js]
[test_results-as-tag-query.js]
[test_results-as-visit.js]
[test_search_tags.js]
[test_searchTerms_includeHidden.js]
[test_searchTerms_time.js]
[test_searchterms-bookmarklets.js]
[test_searchterms-domain.js]
[test_searchterms-uri.js]
[test_sort-date-site-grouping.js]
[test_sorting.js]
[test_tags.js]
[test_transitions.js]

View file

@ -0,0 +1,57 @@
[DEFAULT]
head = "head_queries.js"
skip-if = ["os == 'android'"]
["test_async.js"]
["test_bookmarks.js"]
["test_containersQueries_sorting.js"]
["test_downloadHistory_liveUpdate.js"]
["test_excludeQueries.js"]
["test_history_queries_tags_liveUpdate.js"]
["test_history_queries_titles_liveUpdate.js"]
["test_options_inherit.js"]
["test_queryMultipleFolder.js"]
["test_querySerialization.js"]
["test_query_uri_liveupdate.js"]
["test_redirects.js"]
["test_result_observeHistoryDetails.js"]
["test_results-as-left-pane.js"]
["test_results-as-roots.js"]
["test_results-as-tag-query.js"]
["test_results-as-visit.js"]
["test_searchTerms_includeHidden.js"]
["test_searchTerms_time.js"]
["test_search_tags.js"]
["test_searchterms-bookmarklets.js"]
["test_searchterms-domain.js"]
["test_searchterms-uri.js"]
["test_sort-date-site-grouping.js"]
["test_sorting.js"]
["test_tags.js"]
["test_transitions.js"]

View file

@ -1,25 +0,0 @@
[DEFAULT]
head = head_sync.js
support-files =
sync_utils_bookmarks.html
sync_utils_bookmarks.json
mirror_corrupt.sqlite
mirror_v1.sqlite
mirror_v5.sqlite
mirror_v8.sqlite
[test_bookmark_abort_merging.js]
[test_bookmark_chunking.js]
[test_bookmark_corruption.js]
[test_bookmark_deduping.js]
[test_bookmark_deletion.js]
[test_bookmark_haschanges.js]
[test_bookmark_kinds.js]
[test_bookmark_mirror_meta.js]
[test_bookmark_mirror_migration.js]
[test_bookmark_observer_recorder.js]
[test_bookmark_reconcile.js]
[test_bookmark_structure_changes.js]
[test_bookmark_value_changes.js]
[test_bookmark_unknown_fields.js]
[test_sync_utils.js]

View file

@ -0,0 +1,40 @@
[DEFAULT]
head = "head_sync.js"
support-files = [
"sync_utils_bookmarks.html",
"sync_utils_bookmarks.json",
"mirror_corrupt.sqlite",
"mirror_v1.sqlite",
"mirror_v5.sqlite",
"mirror_v8.sqlite",
]
["test_bookmark_abort_merging.js"]
["test_bookmark_chunking.js"]
["test_bookmark_corruption.js"]
["test_bookmark_deduping.js"]
["test_bookmark_deletion.js"]
["test_bookmark_haschanges.js"]
["test_bookmark_kinds.js"]
["test_bookmark_mirror_meta.js"]
["test_bookmark_mirror_migration.js"]
["test_bookmark_observer_recorder.js"]
["test_bookmark_reconcile.js"]
["test_bookmark_structure_changes.js"]
["test_bookmark_unknown_fields.js"]
["test_bookmark_value_changes.js"]
["test_sync_utils.js"]

View file

@ -1,116 +0,0 @@
[DEFAULT]
head = head_bookmarks.js
firefox-appdir = browser
prefs = places.loglevel="All"
support-files =
bookmarks.corrupt.html
bookmarks.json
bookmarks_corrupt.json
bookmarks.preplaces.html
bookmarks_html_localized.html
bookmarks_html_singleframe.html
bookmarks_iconuri.json
mobile_bookmarks_folder_import.json
mobile_bookmarks_folder_merge.json
mobile_bookmarks_multiple_folders.json
mobile_bookmarks_root_import.json
mobile_bookmarks_root_merge.json
[test_331487.js]
[test_384370.js]
[test_385397.js]
[test_399266.js]
skip-if = os == "linux" # Bug 821781
[test_402799.js]
[test_412132.js]
[test_415460.js]
[test_415757.js]
[test_419792_node_tags_property.js]
[test_425563.js]
[test_429505_remove_shortcuts.js]
[test_433317_query_title_update.js]
[test_433525_hasChildren_crash.js]
[test_454977.js]
[test_463863.js]
[test_485442_crash_bug_nsNavHistoryQuery_GetUri.js]
[test_486978_sort_by_date_queries.js]
[test_536081.js]
[test_1085291.js]
[test_1105208.js]
[test_1105866.js]
[test_1606731.js]
[test_PlacesQuery_history.js]
[test_asyncExecuteLegacyQueries.js]
[test_async_transactions.js]
[test_autocomplete_match_fallbackTitle.js]
[test_bookmark-tags-changed_frequency.js]
[test_bookmarks_json.js]
[test_bookmarks_json_corrupt.js]
[test_bookmarks_html.js]
[test_bookmarks_html_corrupt.js]
[test_bookmarks_html_escape_entities.js]
[test_bookmarks_html_import_tags.js]
[test_bookmarks_html_localized.js]
[test_bookmarks_html_singleframe.js]
[test_bookmarks_restore_notification.js]
[test_broken_folderShortcut_result.js]
[test_browserhistory.js]
[test_childlessTags.js]
[test_frecency_decay.js]
[test_frecency_origins_alternative.js]
[test_frecency_origins_recalc.js]
prefs = places.frecency.origins.alternative.featureGate=true
[test_frecency_pages_alternative.js]
prefs = places.frecency.pages.alternative.featureGate=true
[test_frecency_pages_recalc_alt.js]
prefs = places.frecency.pages.alternative.featureGate=true
[test_frecency_recalc_triggers.js]
[test_frecency_recalculator.js]
[test_frecency_unvisited_bookmark.js]
[test_frecency_zero_updated.js]
[test_getChildIndex.js]
[test_hash.js]
[test_history.js]
[test_history_clear.js]
[test_history_notifications.js]
[test_history_observer.js]
[test_history_sidebar.js]
[test_import_mobile_bookmarks.js]
[test_isPageInDB.js]
[test_isURIVisited.js]
[test_isvisited.js]
[test_keywords.js]
[test_lastModified.js]
[test_markpageas.js]
[test_metadata.js]
[test_missing_builtin_folders.js]
[test_missing_root_folder.js]
[test_multi_observation.js]
[test_multi_word_tags.js]
[test_nested_notifications.js]
[test_nsINavHistoryViewer.js]
[test_null_interfaces.js]
[test_origins.js]
[test_origins_parsing.js]
[test_pageGuid_bookmarkGuid.js]
[test_frecency_observers.js]
[test_PlacesDBUtils_removeOldCorruptDBs.js]
[test_placeURIs.js]
[test_PlacesUtils_isRootItem.js]
[test_PlacesUtils_unwrapNodes_place.js]
[test_promiseBookmarksTree.js]
[test_resolveNullBookmarkTitles.js]
[test_result_sort.js]
[test_resultsAsVisit_details.js]
[test_sql_function_origin.js]
[test_sql_guid_functions.js]
[test_tag_autocomplete_search.js]
[test_tagging.js]
[test_telemetry.js]
[test_update_frecency_after_delete.js]
[test_utils_backups_create.js]
[test_utils_backups_hasRecent.js]
[test_utils_getURLsForContainerNode.js]
[test_utils_timeConversion.js]
[test_visitsInDB.js]
[test_get_query_param_sql_function.js]

View file

@ -0,0 +1,210 @@
[DEFAULT]
head = "head_bookmarks.js"
firefox-appdir = "browser"
prefs = ["places.loglevel='All'"]
support-files = [
"bookmarks.corrupt.html",
"bookmarks.json",
"bookmarks_corrupt.json",
"bookmarks.preplaces.html",
"bookmarks_html_localized.html",
"bookmarks_html_singleframe.html",
"bookmarks_iconuri.json",
"mobile_bookmarks_folder_import.json",
"mobile_bookmarks_folder_merge.json",
"mobile_bookmarks_multiple_folders.json",
"mobile_bookmarks_root_import.json",
"mobile_bookmarks_root_merge.json",
]
["test_1085291.js"]
["test_1105208.js"]
["test_1105866.js"]
["test_1606731.js"]
["test_331487.js"]
["test_384370.js"]
["test_385397.js"]
["test_399266.js"]
skip-if = ["os == 'linux'"] # Bug 821781
["test_402799.js"]
["test_412132.js"]
["test_415460.js"]
["test_415757.js"]
["test_419792_node_tags_property.js"]
["test_425563.js"]
["test_429505_remove_shortcuts.js"]
["test_433317_query_title_update.js"]
["test_433525_hasChildren_crash.js"]
["test_454977.js"]
["test_463863.js"]
["test_485442_crash_bug_nsNavHistoryQuery_GetUri.js"]
["test_486978_sort_by_date_queries.js"]
["test_536081.js"]
["test_PlacesDBUtils_removeOldCorruptDBs.js"]
["test_PlacesQuery_history.js"]
["test_PlacesUtils_isRootItem.js"]
["test_PlacesUtils_unwrapNodes_place.js"]
["test_asyncExecuteLegacyQueries.js"]
["test_async_transactions.js"]
["test_autocomplete_match_fallbackTitle.js"]
["test_bookmark-tags-changed_frequency.js"]
["test_bookmarks_html.js"]
["test_bookmarks_html_corrupt.js"]
["test_bookmarks_html_escape_entities.js"]
["test_bookmarks_html_import_tags.js"]
["test_bookmarks_html_localized.js"]
["test_bookmarks_html_singleframe.js"]
["test_bookmarks_json.js"]
["test_bookmarks_json_corrupt.js"]
["test_bookmarks_restore_notification.js"]
["test_broken_folderShortcut_result.js"]
["test_browserhistory.js"]
["test_childlessTags.js"]
["test_frecency_decay.js"]
["test_frecency_observers.js"]
["test_frecency_origins_alternative.js"]
["test_frecency_origins_recalc.js"]
prefs = ["places.frecency.origins.alternative.featureGate=true"]
["test_frecency_pages_alternative.js"]
prefs = ["places.frecency.pages.alternative.featureGate=true"]
["test_frecency_pages_recalc_alt.js"]
prefs = ["places.frecency.pages.alternative.featureGate=true"]
["test_frecency_recalc_triggers.js"]
["test_frecency_recalculator.js"]
["test_frecency_unvisited_bookmark.js"]
["test_frecency_zero_updated.js"]
["test_getChildIndex.js"]
["test_get_query_param_sql_function.js"]
["test_hash.js"]
["test_history.js"]
["test_history_clear.js"]
["test_history_notifications.js"]
["test_history_observer.js"]
["test_history_sidebar.js"]
["test_import_mobile_bookmarks.js"]
["test_isPageInDB.js"]
["test_isURIVisited.js"]
["test_isvisited.js"]
["test_keywords.js"]
["test_lastModified.js"]
["test_markpageas.js"]
["test_metadata.js"]
["test_missing_builtin_folders.js"]
["test_missing_root_folder.js"]
["test_multi_observation.js"]
["test_multi_word_tags.js"]
["test_nested_notifications.js"]
["test_nsINavHistoryViewer.js"]
["test_null_interfaces.js"]
["test_origins.js"]
["test_origins_parsing.js"]
["test_pageGuid_bookmarkGuid.js"]
["test_placeURIs.js"]
["test_promiseBookmarksTree.js"]
["test_resolveNullBookmarkTitles.js"]
["test_result_sort.js"]
["test_resultsAsVisit_details.js"]
["test_sql_function_origin.js"]
["test_sql_guid_functions.js"]
["test_tag_autocomplete_search.js"]
["test_tagging.js"]
["test_telemetry.js"]
["test_update_frecency_after_delete.js"]
["test_utils_backups_create.js"]
["test_utils_backups_hasRecent.js"]
["test_utils_getURLsForContainerNode.js"]
["test_utils_timeConversion.js"]
["test_visitsInDB.js"]

View file

@ -33,7 +33,7 @@ UNIFIED_SOURCES += [
FINAL_LIBRARY = "xul"
XPCSHELL_TESTS_MANIFESTS += ["tests/xpcshell/xpcshell.ini"]
XPCSHELL_TESTS_MANIFESTS += ["tests/xpcshell/xpcshell.toml"]
BROWSER_CHROME_MANIFESTS += ["tests/browser/browser.toml"]
# Platform-specific implementations of `ProcInfo`.

View file

@ -1,9 +0,0 @@
[DEFAULT]
firefox-appdir = browser
subprocess = true
[test_process_kill.js]
skip-if = os == 'android'
[test_total_cpu_time.js]
skip-if = socketprocess_networking
support-files = test_total_cpu_time_child.js

View file

@ -0,0 +1,10 @@
[DEFAULT]
firefox-appdir = "browser"
subprocess = true
["test_process_kill.js"]
skip-if = ["os == 'android'"]
["test_total_cpu_time.js"]
skip-if = ["socketprocess_networking"]
support-files = ["test_total_cpu_time_child.js"]

View file

@ -10,7 +10,7 @@ EXTRA_JS_MODULES += [
"PromiseWorker.sys.mjs",
]
XPCSHELL_TESTS_MANIFESTS += ["tests/xpcshell/xpcshell.ini"]
XPCSHELL_TESTS_MANIFESTS += ["tests/xpcshell/xpcshell.toml"]
with Files("**"):
BUG_COMPONENT = ("Toolkit", "Async Tooling")

View file

@ -1,10 +0,0 @@
[DEFAULT]
head=
skip-if = toolkit == 'android'
support-files=
data/worker.js
data/worker.mjs
data/chrome.manifest
[test_Promise.js]
[test_PromiseESM.js]

View file

@ -0,0 +1,12 @@
[DEFAULT]
head = ""
skip-if = ["os == 'android'"]
support-files = [
"data/worker.js",
"data/worker.mjs",
"data/chrome.manifest",
]
["test_Promise.js"]
["test_PromiseESM.js"]

View file

@ -7,7 +7,7 @@
with Files("*"):
BUG_COMPONENT = ("Toolkit", "Safe Browsing")
XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.ini"]
XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.toml"]
EXPORTS.mozilla += ["ApplicationReputation.h"]

View file

@ -1,15 +0,0 @@
[DEFAULT]
head = head_download_manager.js
skip-if = toolkit == 'android'
support-files =
data/digest.chunk
data/block_digest.chunk
data/signed_win.exe
[test_app_rep.js]
run-sequentially = very high failure rate in parallel
[test_app_rep_windows.js]
skip-if = os != "win"
[test_app_rep_maclinux.js]
skip-if = os == "win"
run-sequentially = very high failure rate in parallel

View file

@ -0,0 +1,18 @@
[DEFAULT]
head = "head_download_manager.js"
skip-if = ["os == 'android'"]
support-files = [
"data/digest.chunk",
"data/block_digest.chunk",
"data/signed_win.exe",
]
["test_app_rep.js"]
run-sequentially = "very high failure rate in parallel"
["test_app_rep_maclinux.js"]
skip-if = ["os == 'win'"]
run-sequentially = "very high failure rate in parallel"
["test_app_rep_windows.js"]
run-if = ["os == 'win'"]

View file

@ -8,7 +8,7 @@ with Files("**"):
BUG_COMPONENT = ("Toolkit", "Form Manager")
MOCHITEST_MANIFESTS += ["test/mochitest.toml"]
XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.ini"]
XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.toml"]
BROWSER_CHROME_MANIFESTS += ["test/browser/browser.toml"]
XPIDL_SOURCES += [

View file

@ -1,30 +0,0 @@
[DEFAULT]
head = head_satchel.js
tags = condprof
skip-if = toolkit == 'android'
support-files =
asyncformhistory_expire.sqlite
formhistory_1000.sqlite
formhistory_CORRUPT.sqlite
formhistory_apitest.sqlite
formhistory_autocomplete.sqlite
formhistory_v3.sqlite
formhistory_v3v4.sqlite
formhistory_v999a.sqlite
formhistory_v999b.sqlite
[test_async_expire.js]
[test_autocomplete.js]
[test_db_access_denied.js]
skip-if = os != "linux" # simulates insufficiant file permissions
[test_db_corrupt.js]
[test_db_update_v4.js]
[test_db_update_v4b.js]
[test_db_update_v5.js]
skip-if = condprof # Bug 1769154 - not supported
[test_db_update_v999a.js]
[test_db_update_v999b.js]
[test_history_api.js]
[test_history_sources.js]
[test_notify.js]
[test_previous_result.js]

View file

@ -0,0 +1,43 @@
[DEFAULT]
head = "head_satchel.js"
tags = "condprof"
skip-if = ["os == 'android'"]
support-files = [
"asyncformhistory_expire.sqlite",
"formhistory_1000.sqlite",
"formhistory_CORRUPT.sqlite",
"formhistory_apitest.sqlite",
"formhistory_autocomplete.sqlite",
"formhistory_v3.sqlite",
"formhistory_v3v4.sqlite",
"formhistory_v999a.sqlite",
"formhistory_v999b.sqlite",
]
["test_async_expire.js"]
["test_autocomplete.js"]
["test_db_access_denied.js"]
skip-if = ["os != 'linux'"] # simulates insufficiant file permissions
["test_db_corrupt.js"]
["test_db_update_v4.js"]
["test_db_update_v4b.js"]
["test_db_update_v5.js"]
skip-if = ["condprof"] # Bug 1769154 - not supported
["test_db_update_v999a.js"]
["test_db_update_v999b.js"]
["test_history_api.js"]
["test_history_sources.js"]
["test_notify.js"]
["test_previous_result.js"]

View file

@ -7,8 +7,8 @@
SPHINX_TREES["/toolkit/search"] = "docs"
XPCSHELL_TESTS_MANIFESTS += [
"tests/xpcshell/searchconfigs/xpcshell.ini",
"tests/xpcshell/xpcshell.ini",
"tests/xpcshell/searchconfigs/xpcshell.toml",
"tests/xpcshell/xpcshell.toml",
]
XPIDL_SOURCES += [

View file

@ -1,41 +0,0 @@
[DEFAULT]
firefox-appdir = browser
head = head_searchconfig.js
dupe-manifest =
support-files =
../../../../../../browser/locales/all-locales
tags=searchconfig remote-settings
# These are extensive tests, we don't need to run them on asan/tsan.
# They are also skipped for mobile and Thunderbird as these are specifically
# testing the Firefox config at the moment.
skip-if =
toolkit == 'android'
appname == "thunderbird"
asan
tsan
debug
(os == "win" && ccov)
# These tests do take a little longer on Linux ccov, so allow that here.
requesttimeoutfactor = 2
[test_amazon.js]
[test_baidu.js]
[test_bing.js]
[test_distributions.js]
[test_duckduckgo.js]
[test_ebay.js]
[test_ecosia.js]
[test_google.js]
[test_mailru.js]
[test_qwant.js]
[test_rakuten.js]
[test_searchconfig_validates.js]
support-files =
../../../schema/search-engine-config-schema.json
../../../schema/search-engine-config-ui-schema.json
../../../schema/search-engine-config-v2-schema.json
../../../schema/search-engine-config-v2-ui-schema.json
[test_selector_db_out_of_date.js]
[test_wikipedia.js]
[test_yahoojp.js]
[test_yandex.js]

View file

@ -0,0 +1,57 @@
[DEFAULT]
firefox-appdir = "browser"
head = "head_searchconfig.js"
dupe-manifest = ""
support-files = ["../../../../../../browser/locales/all-locales"]
tags = "searchconfig remote-settings"
# These are extensive tests, we don't need to run them on asan/tsan.
# They are also skipped for mobile and Thunderbird as these are specifically
# testing the Firefox config at the moment.
skip-if = [
"os == 'android'",
"appname == 'thunderbird'",
"asan",
"tsan",
"debug",
"os == 'win' && ccov",
]
# These tests do take a little longer on Linux ccov, so allow that here.
requesttimeoutfactor = 2
["test_amazon.js"]
["test_baidu.js"]
["test_bing.js"]
["test_distributions.js"]
["test_duckduckgo.js"]
["test_ebay.js"]
["test_ecosia.js"]
["test_google.js"]
["test_mailru.js"]
["test_qwant.js"]
["test_rakuten.js"]
["test_searchconfig_validates.js"]
support-files = [
"../../../schema/search-engine-config-schema.json",
"../../../schema/search-engine-config-ui-schema.json",
"../../../schema/search-engine-config-v2-schema.json",
"../../../schema/search-engine-config-v2-ui-schema.json",
]
["test_selector_db_out_of_date.js"]
["test_wikipedia.js"]
["test_yahoojp.js"]
["test_yandex.js"]

View file

@ -1,201 +0,0 @@
[DEFAULT]
firefox-appdir = browser
head = head_search.js
dupe-manifest =
tags=searchmain
skip-if = toolkit == 'android'
prefs =
browser.search.removeEngineInfobar.enabled=true
support-files =
data/engine.xml
data/engine/manifest.json
data/engine2.xml
data/engine2/manifest.json
data/engine-app/manifest.json
data/engine-diff-name/manifest.json
data/engine-diff-name/_locales/en/messages.json
data/engine-diff-name/_locales/gd/messages.json
data/engine-fr.xml
data/engine-fr/manifest.json
data/engine-reordered/manifest.json
data/engineMaker.sjs
data/engine-pref/manifest.json
data/engine-rel-searchform-purpose/manifest.json
data/engine-system-purpose/manifest.json
data/engineImages.xml
data/engine-chromeicon/manifest.json
data/engine-purposes/manifest.json
data/engine-resourceicon/manifest.json
data/engine-resourceicon/_locales/en/messages.json
data/engine-resourceicon/_locales/gd/messages.json
data/engine-same-name/manifest.json
data/engine-same-name/_locales/en/messages.json
data/engine-same-name/_locales/gd/messages.json
data/engines-no-order-hint.json
data/engines.json
data/iconsRedirect.sjs
data/search.json
data/search-legacy.json
data/search-legacy-correct-default-engine-hashes.json
data/search-legacy-no-ids.json
data/search-legacy-old-loadPaths.json
data/search-legacy-wrong-default-engine-hashes.json
data/search-legacy-wrong-third-party-engine-hashes.json
data/search-obsolete-app.json
data/search-obsolete-distribution.json
data/search-obsolete-langpack.json
data/searchSuggestions.sjs
data/geolookup-extensions/multilocale/favicon.ico
data/geolookup-extensions/multilocale/manifest.json
data/geolookup-extensions/multilocale/_locales/af/messages.json
data/geolookup-extensions/multilocale/_locales/an/messages.json
data1/engine1/manifest.json
data1/engine2/manifest.json
data1/exp2/manifest.json
data1/exp3/manifest.json
data1/engines.json
simple-engines/engines.json
simple-engines/basic/manifest.json
simple-engines/hidden/manifest.json
simple-engines/simple/manifest.json
test-extensions/engines.json
test-extensions/plainengine/favicon.ico
test-extensions/plainengine/manifest.json
test-extensions/special-engine/favicon.ico
test-extensions/special-engine/manifest.json
test-extensions/multilocale/favicon-af.ico
test-extensions/multilocale/favicon-an.ico
test-extensions/multilocale/manifest.json
test-extensions/multilocale/_locales/af/messages.json
test-extensions/multilocale/_locales/an/messages.json
[test_async.js]
[test_config_attribution.js]
[test_config_engine_params.js]
support-files =
method-extensions/get/manifest.json
method-extensions/post/manifest.json
method-extensions/engines.json
[test_defaultEngine_fallback.js]
[test_defaultEngine_experiments.js]
[test_defaultEngine.js]
[test_defaultPrivateEngine.js]
[test_engine_alias.js]
[test_engine_ids.js]
[test_engine_multiple_alias.js]
[test_engine_selector_application_distribution.js]
[test_engine_selector_application_name.js]
[test_engine_selector_application.js]
[test_engine_selector_order.js]
[test_engine_selector_override.js]
[test_engine_selector_remote_settings.js]
tag = remotesettings searchmain
[test_engine_selector.js]
[test_engine_selector_environment_base.js]
[test_engine_set_alias.js]
[test_getSubmission_encoding.js]
[test_getSubmission_params.js]
[test_getSubmission_params_pref.js]
[test_getSubmission_params_prefNimbus.js]
[test_getSubmission_params_prefNimbus_invalid.js]
[test_getSubmission_params_purpose.js]
[test_identifiers.js]
[test_ignorelist_update.js]
[test_ignorelist.js]
[test_initialization.js]
[test_initialization_status_telemetry.js]
[test_initialization_with_region.js]
[test_list_json_locale.js]
[test_list_json_no_private_default.js]
[test_list_json_searchdefault.js]
[test_list_json_searchorder.js]
[test_maybereloadengine_order.js]
[test_migrateWebExtensionEngine.js]
[test_missing_engine.js]
[test_multipleIcons.js]
[test_nodb_pluschanges.js]
[test_notifications.js]
[test_opensearch_icon.js]
support-files =
data/bigIcon.ico
data/remoteIcon.ico
data/svgIcon.svg
[test_opensearch_icons_invalid.js]
support-files =
opensearch/chromeicon.xml
opensearch/resourceicon.xml
[test_opensearch_install_errors.js]
support-files = opensearch/invalid.xml
[test_opensearch_telemetry.js]
support-files =
opensearch/secure-and-securely-updated1.xml
opensearch/secure-and-securely-updated2.xml
opensearch/secure-and-securely-updated3.xml
opensearch/secure-and-securely-updated-insecure-form.xml
opensearch/secure-and-insecurely-updated1.xml
opensearch/secure-and-insecurely-updated2.xml
opensearch/insecure-and-securely-updated1.xml
opensearch/insecure-and-insecurely-updated1.xml
opensearch/insecure-and-insecurely-updated2.xml
opensearch/secure-and-no-update-url1.xml
opensearch/insecure-and-no-update-url1.xml
opensearch/secure-localhost.xml
opensearch/secure-onionv2.xml
opensearch/secure-onionv3.xml
[test_opensearch_update.js]
[test_opensearch.js]
support-files =
opensearch/mozilla-ns.xml
opensearch/post.xml
opensearch/simple.xml
opensearch/suggestion.xml
opensearch/suggestion-alternate.xml
[test_appDefaultEngine.js]
[test_override_allowlist.js]
[test_parseSubmissionURL.js]
[test_policyEngine.js]
[test_reload_engines_experiment.js]
[test_reload_engines_locales.js]
[test_reload_engines.js]
[test_remove_profile_engine.js]
[test_remove_engine_notification_box.js]
[test_searchUrlDomain.js]
[test_save_sorted_engines.js]
[test_SearchStaticData.js]
[test_searchSuggest_cookies.js]
[test_searchSuggest_extraParams.js]
[test_searchSuggest_private.js]
[test_searchSuggest.js]
[test_searchTermFromResult.js]
[test_selectedEngine.js]
[test_sendSubmissionURL.js]
[test_settings_broken.js]
[test_settings_duplicate.js]
[test_settings_good.js]
[test_settings_ignorelist.js]
support-files = data/search_ignorelist.json
[test_settings_migration_hideOneOffs.js]
[test_settings_migration_ids.js]
[test_settings_migration_loadPath.js]
[test_settings_none.js]
[test_settings_obsolete.js]
[test_settings_persist_diff_locale_same_name.js]
[test_settings_persist.js]
[test_settings.js]
[test_sort_orders-no-hints.js]
[test_sort_orders.js]
[test_telemetry_event_default.js]
[test_userEngine.js]
[test_validate_engines.js]
[test_validate_manifests.js]
[test_webextensions_builtin_upgrade.js]
[test_webextensions_install.js]
[test_webextensions_language_switch.js]
[test_webextensions_migrate_to.js]
support-files = data/search-migration.json
[test_webextensions_normandy_upgrade.js]
[test_webextensions_startup_duplicate.js]
[test_webextensions_startup_remove.js]
[test_webextensions_upgrade.js]
[test_webextensions_valid.js]

View file

@ -0,0 +1,298 @@
[DEFAULT]
firefox-appdir = "browser"
head = "head_search.js"
dupe-manifest = ""
tags = "searchmain"
skip-if = ["os == 'android'"]
prefs = ["browser.search.removeEngineInfobar.enabled=true"]
support-files = [
"data/engine.xml",
"data/engine/manifest.json",
"data/engine2.xml",
"data/engine2/manifest.json",
"data/engine-app/manifest.json",
"data/engine-diff-name/manifest.json",
"data/engine-diff-name/_locales/en/messages.json",
"data/engine-diff-name/_locales/gd/messages.json",
"data/engine-fr.xml",
"data/engine-fr/manifest.json",
"data/engine-reordered/manifest.json",
"data/engineMaker.sjs",
"data/engine-pref/manifest.json",
"data/engine-rel-searchform-purpose/manifest.json",
"data/engine-system-purpose/manifest.json",
"data/engineImages.xml",
"data/engine-chromeicon/manifest.json",
"data/engine-purposes/manifest.json",
"data/engine-resourceicon/manifest.json",
"data/engine-resourceicon/_locales/en/messages.json",
"data/engine-resourceicon/_locales/gd/messages.json",
"data/engine-same-name/manifest.json",
"data/engine-same-name/_locales/en/messages.json",
"data/engine-same-name/_locales/gd/messages.json",
"data/engines-no-order-hint.json",
"data/engines.json",
"data/iconsRedirect.sjs",
"data/search.json",
"data/search-legacy.json",
"data/search-legacy-correct-default-engine-hashes.json",
"data/search-legacy-no-ids.json",
"data/search-legacy-old-loadPaths.json",
"data/search-legacy-wrong-default-engine-hashes.json",
"data/search-legacy-wrong-third-party-engine-hashes.json",
"data/search-obsolete-app.json",
"data/search-obsolete-distribution.json",
"data/search-obsolete-langpack.json",
"data/searchSuggestions.sjs",
"data/geolookup-extensions/multilocale/favicon.ico",
"data/geolookup-extensions/multilocale/manifest.json",
"data/geolookup-extensions/multilocale/_locales/af/messages.json",
"data/geolookup-extensions/multilocale/_locales/an/messages.json",
"data1/engine1/manifest.json",
"data1/engine2/manifest.json",
"data1/exp2/manifest.json",
"data1/exp3/manifest.json",
"data1/engines.json",
"simple-engines/engines.json",
"simple-engines/basic/manifest.json",
"simple-engines/hidden/manifest.json",
"simple-engines/simple/manifest.json",
"test-extensions/engines.json",
"test-extensions/plainengine/favicon.ico",
"test-extensions/plainengine/manifest.json",
"test-extensions/special-engine/favicon.ico",
"test-extensions/special-engine/manifest.json",
"test-extensions/multilocale/favicon-af.ico",
"test-extensions/multilocale/favicon-an.ico",
"test-extensions/multilocale/manifest.json",
"test-extensions/multilocale/_locales/af/messages.json",
"test-extensions/multilocale/_locales/an/messages.json",
]
["test_SearchStaticData.js"]
["test_appDefaultEngine.js"]
["test_async.js"]
["test_config_attribution.js"]
["test_config_engine_params.js"]
support-files = [
"method-extensions/get/manifest.json",
"method-extensions/post/manifest.json",
"method-extensions/engines.json",
]
["test_defaultEngine.js"]
["test_defaultEngine_experiments.js"]
["test_defaultEngine_fallback.js"]
["test_defaultPrivateEngine.js"]
["test_engine_alias.js"]
["test_engine_ids.js"]
["test_engine_multiple_alias.js"]
["test_engine_selector.js"]
["test_engine_selector_application.js"]
["test_engine_selector_application_distribution.js"]
["test_engine_selector_application_name.js"]
["test_engine_selector_environment_base.js"]
["test_engine_selector_order.js"]
["test_engine_selector_override.js"]
["test_engine_selector_remote_settings.js"]
tags = "remotesettings searchmain"
["test_engine_set_alias.js"]
["test_getSubmission_encoding.js"]
["test_getSubmission_params.js"]
["test_getSubmission_params_pref.js"]
["test_getSubmission_params_prefNimbus.js"]
["test_getSubmission_params_prefNimbus_invalid.js"]
["test_getSubmission_params_purpose.js"]
["test_identifiers.js"]
["test_ignorelist.js"]
["test_ignorelist_update.js"]
["test_initialization.js"]
["test_initialization_status_telemetry.js"]
["test_initialization_with_region.js"]
["test_list_json_locale.js"]
["test_list_json_no_private_default.js"]
["test_list_json_searchdefault.js"]
["test_list_json_searchorder.js"]
["test_maybereloadengine_order.js"]
["test_migrateWebExtensionEngine.js"]
["test_missing_engine.js"]
["test_multipleIcons.js"]
["test_nodb_pluschanges.js"]
["test_notifications.js"]
["test_opensearch.js"]
support-files = [
"opensearch/mozilla-ns.xml",
"opensearch/post.xml",
"opensearch/simple.xml",
"opensearch/suggestion.xml",
"opensearch/suggestion-alternate.xml",
]
["test_opensearch_icon.js"]
support-files = [
"data/bigIcon.ico",
"data/remoteIcon.ico",
"data/svgIcon.svg",
]
["test_opensearch_icons_invalid.js"]
support-files = [
"opensearch/chromeicon.xml",
"opensearch/resourceicon.xml",
]
["test_opensearch_install_errors.js"]
support-files = ["opensearch/invalid.xml"]
["test_opensearch_telemetry.js"]
support-files = [
"opensearch/secure-and-securely-updated1.xml",
"opensearch/secure-and-securely-updated2.xml",
"opensearch/secure-and-securely-updated3.xml",
"opensearch/secure-and-securely-updated-insecure-form.xml",
"opensearch/secure-and-insecurely-updated1.xml",
"opensearch/secure-and-insecurely-updated2.xml",
"opensearch/insecure-and-securely-updated1.xml",
"opensearch/insecure-and-insecurely-updated1.xml",
"opensearch/insecure-and-insecurely-updated2.xml",
"opensearch/secure-and-no-update-url1.xml",
"opensearch/insecure-and-no-update-url1.xml",
"opensearch/secure-localhost.xml",
"opensearch/secure-onionv2.xml",
"opensearch/secure-onionv3.xml",
]
["test_opensearch_update.js"]
["test_override_allowlist.js"]
["test_parseSubmissionURL.js"]
["test_policyEngine.js"]
["test_reload_engines.js"]
["test_reload_engines_experiment.js"]
["test_reload_engines_locales.js"]
["test_remove_engine_notification_box.js"]
["test_remove_profile_engine.js"]
["test_save_sorted_engines.js"]
["test_searchSuggest.js"]
["test_searchSuggest_cookies.js"]
["test_searchSuggest_extraParams.js"]
["test_searchSuggest_private.js"]
["test_searchTermFromResult.js"]
["test_searchUrlDomain.js"]
["test_selectedEngine.js"]
["test_sendSubmissionURL.js"]
["test_settings.js"]
["test_settings_broken.js"]
["test_settings_duplicate.js"]
["test_settings_good.js"]
["test_settings_ignorelist.js"]
support-files = ["data/search_ignorelist.json"]
["test_settings_migration_hideOneOffs.js"]
["test_settings_migration_ids.js"]
["test_settings_migration_loadPath.js"]
["test_settings_none.js"]
["test_settings_obsolete.js"]
["test_settings_persist.js"]
["test_settings_persist_diff_locale_same_name.js"]
["test_sort_orders-no-hints.js"]
["test_sort_orders.js"]
["test_telemetry_event_default.js"]
["test_userEngine.js"]
["test_validate_engines.js"]
["test_validate_manifests.js"]
["test_webextensions_builtin_upgrade.js"]
["test_webextensions_install.js"]
["test_webextensions_language_switch.js"]
["test_webextensions_migrate_to.js"]
support-files = ["data/search-migration.json"]
["test_webextensions_normandy_upgrade.js"]
["test_webextensions_startup_duplicate.js"]
["test_webextensions_startup_remove.js"]
["test_webextensions_upgrade.js"]
["test_webextensions_valid.js"]

View file

@ -7,7 +7,7 @@
with Files("**"):
BUG_COMPONENT = ("Firefox", "Shopping")
XPCSHELL_TESTS_MANIFESTS += ["test/xpcshell/xpcshell.ini"]
XPCSHELL_TESTS_MANIFESTS += ["test/xpcshell/xpcshell.toml"]
BROWSER_CHROME_MANIFESTS += ["test/browser/browser.toml"]

View file

@ -1,34 +0,0 @@
[DEFAULT]
head = head.js
prefs =
toolkit.shopping.environment=test
toolkit.shopping.ohttpConfigURL=
toolkit.shopping.ohttpRelayURL=
support-files =
data/analysis_response.json
data/recommendations_response.json
data/invalid_analysis_response.json
data/invalid_recommendations_response.json
data/analysis_request.json
data/recommendations_request.json
data/invalid_analysis_request.json
data/invalid_recommendations_request.json
data/service_unavailable.json
data/bad_request.json
data/unprocessable_entity.json
data/needs_analysis_response.json
data/attribution_response.json
data/image.jpg
data/report_response.json
data/analysis_status_completed_response.json
data/analysis_status_in_progress_response.json
data/analysis_status_pending_response.json
data/analyze_pending.json
data/too_many_requests.json
[test_fetchImage.js]
[test_product_urls.js]
[test_product_validator.js]
[test_product.js]

View file

@ -0,0 +1,38 @@
[DEFAULT]
head = "head.js"
prefs = [
"toolkit.shopping.environment='test'",
"toolkit.shopping.ohttpConfigURL=''",
"toolkit.shopping.ohttpRelayURL=''",
]
support-files = [
"data/analysis_response.json",
"data/recommendations_response.json",
"data/invalid_analysis_response.json",
"data/invalid_recommendations_response.json",
"data/analysis_request.json",
"data/recommendations_request.json",
"data/invalid_analysis_request.json",
"data/invalid_recommendations_request.json",
"data/service_unavailable.json",
"data/bad_request.json",
"data/unprocessable_entity.json",
"data/needs_analysis_response.json",
"data/attribution_response.json",
"data/image.jpg",
"data/report_response.json",
"data/analysis_status_completed_response.json",
"data/analysis_status_in_progress_response.json",
"data/analysis_status_pending_response.json",
"data/analyze_pending.json",
"data/too_many_requests.json",
]
["test_fetchImage.js"]
["test_product.js"]
["test_product_urls.js"]
["test_product_validator.js"]

View file

@ -11,7 +11,7 @@ EXPORTS.mozilla += [
]
BROWSER_CHROME_MANIFESTS += ["tests/browser/browser.toml"]
XPCSHELL_TESTS_MANIFESTS += ["tests/unit/xpcshell.ini"]
XPCSHELL_TESTS_MANIFESTS += ["tests/unit/xpcshell.toml"]
UNIFIED_SOURCES += [
"nsAppStartup.cpp",

View file

@ -1,5 +0,0 @@
[DEFAULT]
head = head_startup.js
skip-if = toolkit == 'android'
[test_startup_crash.js]

View file

@ -0,0 +1,5 @@
[DEFAULT]
head = "head_startup.js"
skip-if = ["os == 'android'"]
["test_startup_crash.js"]

View file

@ -7,7 +7,7 @@
with Files("**"):
BUG_COMPONENT = ("Toolkit", "Application Update")
XPCSHELL_TESTS_MANIFESTS += ["tests/xpcshell/xpcshell.ini"]
XPCSHELL_TESTS_MANIFESTS += ["tests/xpcshell/xpcshell.toml"]
EXTRA_JS_MODULES += ["TaskScheduler.sys.mjs"]

View file

@ -1,13 +0,0 @@
[test_TaskSchedulerMacOSImpl.js]
run-if = os == "mac" # Test of macOS backend
skip-if =
apple_silicon # bug 1707753
apple_catalina # Bug 1713329
[test_WinTaskSchedulerService.js]
run-if = os == "win" # Test of Windows only service
[test_TaskSchedulerWinImpl.js]
run-if = os == "win" # Test of Windows backend
[test_TaskScheduler.js]
skip-if =
apple_silicon # bug 1707753
apple_catalina # Bug 1713329

View file

@ -0,0 +1,20 @@
[DEFAULT]
["test_TaskScheduler.js"]
skip-if = [
"apple_silicon", # bug 1707753
"apple_catalina", # Bug 1713329
]
["test_TaskSchedulerMacOSImpl.js"]
run-if = ["os == 'mac'"] # Test of macOS backend
skip-if = [
"apple_silicon", # bug 1707753
"apple_catalina", # Bug 1713329
]
["test_TaskSchedulerWinImpl.js"]
run-if = ["os == 'win'"] # Test of Windows backend
["test_WinTaskSchedulerService.js"]
run-if = ["os == 'win'"] # Test of Windows only service

View file

@ -1,2 +0,0 @@
[test_dap.js]
skip-if = os == "android" # DAP is not supported on Android

View file

@ -0,0 +1,4 @@
[DEFAULT]
["test_dap.js"]
skip-if = ["os == 'android'"] # DAP is not supported on Android

View file

@ -37,8 +37,8 @@ if CONFIG["ENABLE_TESTS"]:
TEST_DIRS += ["tests", "dap/ffi-gtest"]
XPCSHELL_TESTS_MANIFESTS += [
"dap/tests/xpcshell/xpcshell.ini",
"tests/unit/xpcshell.ini",
"dap/tests/xpcshell/xpcshell.toml",
"tests/unit/xpcshell.toml",
]
BROWSER_CHROME_MANIFESTS += ["tests/browser/browser.toml"]

View file

@ -1,136 +0,0 @@
[DEFAULT]
head = head.js
firefox-appdir = browser
# The *.xpi files are only needed for test_TelemetryEnvironment.js, but
# xpcshell fails to install tests if we move them under the test entry.
support-files =
data/search-extensions/engines.json
data/search-extensions/telemetrySearchIdentifier/manifest.json
engine.xml
system.xpi
restartless.xpi
testUnicodePDB32.dll
testNoPDB32.dll
testUnicodePDB64.dll
testNoPDB64.dll
testUnicodePDBAArch64.dll
testNoPDBAArch64.dll
!/toolkit/mozapps/extensions/test/xpcshell/head_addons.js
generated-files =
system.xpi
restartless.xpi
prefs =
browser.attribution.macos.enabled=true
[test_UserInteraction.js]
[test_UserInteraction_annotations.js]
# BHR is disabled on tsan, asan, android and outside of Nightly.
skip-if =
debug
asan
tsan
os == "android"
release_or_beta
apple_catalina # Bug 1713329
apple_silicon # bug 1707747
os == "win" && bits == 32 && !debug # Bug 1781452
os == "linux" && !debug # Bug 1781452
run-sequentially = very high failure rate in parallel
[test_client_id.js]
[test_MigratePendingPings.js]
[test_TelemetryHistograms.js]
[test_SubsessionChaining.js]
tags = addons
[test_SyncPingIntegration.js]
skip-if = os == "android"
[test_TelemetryEnvironment.js]
skip-if =
os == "android"
os == 'win' && msix # https://bugzilla.mozilla.org/show_bug.cgi?id=1807929
tags = addons
run-sequentially = very high failure rate in parallel
[test_TelemetryEnvironment_search.js]
skip-if =
os == "android"
os == 'win' && msix # https://bugzilla.mozilla.org/show_bug.cgi?id=1807929
[test_PingAPI.js]
[test_TelemetryFlagClear.js]
[test_TelemetryLateWrites.js]
[test_TelemetryLockCount.js]
[test_TelemetryController.js]
[test_TelemetryClientID_reset.js]
skip-if = os == "android" # Disabled as Android/GeckoView doesn't run TelemetryController
[test_HealthPing.js]
skip-if =
(verify && (os == 'win'))
(os == 'android' && processor == 'x86_64')
tags = addons
[test_TelemetryController_idle.js]
[test_TelemetryControllerShutdown.js]
skip-if =
(os == 'android' && processor == 'x86_64') # Disabled as Android/GeckoView doesn't run TelemetryController
tags = addons
[test_TelemetryStopwatch.js]
[test_TelemetryControllerBuildID.js]
[test_TelemetrySendOldPings.js]
skip-if = os == "android" # Disabled due to intermittent orange on Android
tags = addons
[test_TelemetrySession.js]
tags = addons
skip-if =
os == "linux" && verify && debug
[test_TelemetrySession_abortedSessionQueued.js]
skip-if = os == "android"
[test_TelemetrySession_activeTicks.js]
[test_TelemetrySend.js]
skip-if =
os == "linux" && ccov # Bug 1701874
[test_ChildHistograms.js]
skip-if = os == "android" # Disabled due to crashes (see bug 1331366)
tags = addons
[test_ChildScalars.js]
skip-if = os == "android" # Disabled due to crashes (see bug 1331366)
[test_SocketScalars.js]
run-if = socketprocess_networking # Needs socket process (bug 1716307)
[test_TelemetryReportingPolicy.js]
tags = addons
[test_TelemetryScalars.js]
[test_TelemetryScalars_buildFaster.js]
skip-if =
os == 'win' && msix # https://bugzilla.mozilla.org/show_bug.cgi?id=1807929
[test_TelemetryScalars_impressionId.js]
[test_TelemetryScalars_multistore.js]
[test_TelemetryTimestamps.js]
[test_TelemetryChildEvents_buildFaster.js]
skip-if = os == "android" # Disabled due to crashes (see bug 1331366)
[test_TelemetryEvents.js]
[test_TelemetryEvents_buildFaster.js]
skip-if =
os == 'win' && msix # https://bugzilla.mozilla.org/show_bug.cgi?id=1807929
[test_ChildEvents.js]
skip-if = os == "android" # Disabled due to crashes (see bug 1331366)
[test_ModulesPing.js]
skip-if =
apple_silicon # bug 1707747
apple_catalina # Bug 1713329
[test_PingSender.js]
skip-if =
os == "android"
[test_TelemetryAndroidEnvironment.js]
[test_TelemetryUtils.js]
[test_ThirdPartyModulesPing.js]
run-if = (os == 'win' && !msix) # Disabled for MSIX due to https://bugzilla.mozilla.org/show_bug.cgi?id=1807929
[test_EventPing.js]
tags = coverage
[test_CoveragePing.js]
[test_bug1555798.js]
[test_UninstallPing.js]
support-files = file_UninstallPing.worker.js
run-if = os == "win"
[test_RDDScalars.js]
skip-if =
os == "android" # RDD is not a thing on Android?
[test_UtilityScalars.js]
run-if = os == 'win'
[test_failover_retry.js]
skip-if = os == "android" # Android doesn't support telemetry though some tests manage to pass with xpcshell

View file

@ -0,0 +1,184 @@
[DEFAULT]
head = "head.js"
firefox-appdir = "browser"
# The *.xpi files are only needed for test_TelemetryEnvironment.js, but
# xpcshell fails to install tests if we move them under the test entry.
support-files = [
"data/search-extensions/engines.json",
"data/search-extensions/telemetrySearchIdentifier/manifest.json",
"engine.xml",
"system.xpi",
"restartless.xpi",
"testUnicodePDB32.dll",
"testNoPDB32.dll",
"testUnicodePDB64.dll",
"testNoPDB64.dll",
"testUnicodePDBAArch64.dll",
"testNoPDBAArch64.dll",
"!/toolkit/mozapps/extensions/test/xpcshell/head_addons.js",
]
generated-files = [
"system.xpi",
"restartless.xpi",
]
prefs = ["browser.attribution.macos.enabled=true"]
["test_ChildEvents.js"]
skip-if = ["os == 'android'"] # Disabled due to crashes (see bug 1331366)
["test_ChildHistograms.js"]
skip-if = ["os == 'android'"] # Disabled due to crashes (see bug 1331366)
tags = "addons"
["test_ChildScalars.js"]
skip-if = ["os == 'android'"] # Disabled due to crashes (see bug 1331366)
["test_CoveragePing.js"]
["test_EventPing.js"]
tags = "coverage"
["test_HealthPing.js"]
skip-if = [
"verify && os == 'win'",
"os == 'android' && processor == 'x86_64'",
]
tags = "addons"
["test_MigratePendingPings.js"]
["test_ModulesPing.js"]
skip-if = [
"apple_silicon", # bug 1707747
"apple_catalina", # Bug 1713329
]
["test_PingAPI.js"]
["test_PingSender.js"]
skip-if = ["os == 'android'"]
["test_RDDScalars.js"]
skip-if = ["os == 'android'"] # RDD is not a thing on Android?
["test_SocketScalars.js"]
run-if = ["socketprocess_networking"] # Needs socket process (bug 1716307)
["test_SubsessionChaining.js"]
tags = "addons"
["test_SyncPingIntegration.js"]
skip-if = ["os == 'android'"]
["test_TelemetryAndroidEnvironment.js"]
["test_TelemetryChildEvents_buildFaster.js"]
skip-if = ["os == 'android'"] # Disabled due to crashes (see bug 1331366)
["test_TelemetryClientID_reset.js"]
skip-if = ["os == 'android'"] # Disabled as Android/GeckoView doesn't run TelemetryController
["test_TelemetryController.js"]
["test_TelemetryControllerBuildID.js"]
["test_TelemetryControllerShutdown.js"]
skip-if = ["os == 'android' && processor == 'x86_64'"] # Disabled as Android/GeckoView doesn't run TelemetryController
tags = "addons"
["test_TelemetryController_idle.js"]
["test_TelemetryEnvironment.js"]
skip-if = [
"os == 'android'",
"os == 'win' && msix", # https://bugzilla.mozilla.org/show_bug.cgi?id=1807929
]
tags = "addons"
run-sequentially = "very high failure rate in parallel"
["test_TelemetryEnvironment_search.js"]
skip-if = [
"os == 'android'",
"os == 'win' && msix", # https://bugzilla.mozilla.org/show_bug.cgi?id=1807929
]
["test_TelemetryEvents.js"]
["test_TelemetryEvents_buildFaster.js"]
skip-if = ["os == 'win' && msix"] # https://bugzilla.mozilla.org/show_bug.cgi?id=1807929
["test_TelemetryFlagClear.js"]
["test_TelemetryHistograms.js"]
["test_TelemetryLateWrites.js"]
["test_TelemetryLockCount.js"]
["test_TelemetryReportingPolicy.js"]
tags = "addons"
["test_TelemetryScalars.js"]
["test_TelemetryScalars_buildFaster.js"]
skip-if = ["os == 'win' && msix"] # https://bugzilla.mozilla.org/show_bug.cgi?id=1807929
["test_TelemetryScalars_impressionId.js"]
["test_TelemetryScalars_multistore.js"]
["test_TelemetrySend.js"]
skip-if = ["os == 'linux' && ccov"] # Bug 1701874
["test_TelemetrySendOldPings.js"]
skip-if = ["os == 'android'"] # Disabled due to intermittent orange on Android
tags = "addons"
["test_TelemetrySession.js"]
tags = "addons"
skip-if = ["os == 'linux' && verify && debug"]
["test_TelemetrySession_abortedSessionQueued.js"]
skip-if = ["os == 'android'"]
["test_TelemetrySession_activeTicks.js"]
["test_TelemetryStopwatch.js"]
["test_TelemetryTimestamps.js"]
["test_TelemetryUtils.js"]
["test_ThirdPartyModulesPing.js"]
run-if = ["(os == 'win' && !msix)"] # Disabled for MSIX due to https://bugzilla.mozilla.org/show_bug.cgi?id=1807929
["test_UninstallPing.js"]
support-files = ["file_UninstallPing.worker.js"]
run-if = ["os == 'win'"]
["test_UserInteraction.js"]
["test_UserInteraction_annotations.js"]
# BHR is disabled on tsan, asan, android and outside of Nightly.
skip-if = [
"debug",
"asan",
"tsan",
"os == 'android'",
"release_or_beta",
"apple_catalina", # Bug 1713329
"apple_silicon", # bug 1707747
"os == 'win' && bits == 32 && !debug", # Bug 1781452
"os == 'linux' && !debug", # Bug 1781452
]
run-sequentially = "very high failure rate in parallel"
["test_UtilityScalars.js"]
run-if = ["os == 'win'"]
["test_bug1555798.js"]
["test_client_id.js"]
["test_failover_retry.js"]
skip-if = ["os == 'android'"] # Android doesn't support telemetry though some tests manage to pass with xpcshell

View file

@ -7,7 +7,7 @@
with Files("**"):
BUG_COMPONENT = ("Toolkit", "Async Tooling")
XPCSHELL_TESTS_MANIFESTS += ["tests/xpcshell/xpcshell.ini"]
XPCSHELL_TESTS_MANIFESTS += ["tests/xpcshell/xpcshell.toml"]
SOURCES += [
"nsTerminator.cpp",

View file

@ -1,9 +0,0 @@
[DEFAULT]
head=
[test_terminator_record.js]
skip-if = debug || asan || ccov || tsan # Disabled by bug 1242084, bug 1255484 will enable it again. Bug 1607583 tracks the ccov failure. Bug 1683730 made this timeout for tsan.
run-sequentially = very high failure rate in parallel
[test_terminator_reload.js]
skip-if = os == "android"
run-sequentially = very high failure rate in parallel

View file

@ -0,0 +1,15 @@
[DEFAULT]
head = ""
["test_terminator_record.js"]
skip-if = [
"debug",
"asan", # Disabled by bug 1242084, bug 1255484 will enable it again
"ccov", # Bug 1607583 tracks the ccov failure
"tsan", # Bug 1683730 made this timeout for tsan.
]
run-sequentially = "very high failure rate in parallel"
["test_terminator_reload.js"]
skip-if = ["os == 'android'"]
run-sequentially = "very high failure rate in parallel"

View file

@ -8,7 +8,7 @@ with Files("**"):
BUG_COMPONENT = ("Firefox", "New Tab Page")
BROWSER_CHROME_MANIFESTS += ["test/browser.toml"]
XPCSHELL_TESTS_MANIFESTS += ["test/xpcshell.ini"]
XPCSHELL_TESTS_MANIFESTS += ["test/xpcshell.toml"]
EXTRA_JS_MODULES += [
"BackgroundPageThumbs.sys.mjs",

View file

@ -1,5 +0,0 @@
[DEFAULT]
head =
[test_thumbnails_interfaces.js]
skip-if = os == 'android' # xpcom interface not packaged

View file

@ -0,0 +1,5 @@
[DEFAULT]
head = ""
["test_thumbnails_interfaces.js"]
skip-if = ["os == 'android'"] # xpcom interface not packaged

View file

@ -6,7 +6,7 @@
XPIDL_MODULE = "update"
XPCSHELL_TESTS_MANIFESTS += ["tests/unit/xpcshell.ini"]
XPCSHELL_TESTS_MANIFESTS += ["tests/unit/xpcshell.toml"]
XPIDL_SOURCES += [
"nsIUpdateTimerManager.idl",

View file

@ -1,9 +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 =
[consumerNotifications.js]
[test_skipFirst.js]

View file

@ -0,0 +1,6 @@
[DEFAULT]
head = ""
["consumerNotifications.js"]
["test_skipFirst.js"]

View file

@ -11,4 +11,4 @@ EXTRA_JS_MODULES.translation = [
"LanguageDetector.sys.mjs",
]
XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.ini"]
XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.toml"]

View file

@ -1,5 +0,0 @@
[DEFAULT]
head =
firefox-appdir = browser
[test_cld2.js]

View file

@ -0,0 +1,5 @@
[DEFAULT]
head = ""
firefox-appdir = "browser"
["test_cld2.js"]

View file

@ -21,4 +21,4 @@ EXTRA_JS_MODULES += [
"generated/Rust{}.sys.mjs".format(component) for component in components
]
XPCSHELL_TESTS_MANIFESTS += ["tests/xpcshell/xpcshell.ini"]
XPCSHELL_TESTS_MANIFESTS += ["tests/xpcshell/xpcshell.toml"]

View file

@ -1,9 +0,0 @@
[test_arithmetic.js]
[test_callbacks.js]
[test_geometry.js]
[test_rondpoint.js]
[test_sprites.js]
[test_todolist.js]
[test_type_checking.js]
[test_custom_types.js]
[test_external_types.js]

View file

@ -0,0 +1,19 @@
[DEFAULT]
["test_arithmetic.js"]
["test_callbacks.js"]
["test_custom_types.js"]
["test_external_types.js"]
["test_geometry.js"]
["test_rondpoint.js"]
["test_sprites.js"]
["test_todolist.js"]
["test_type_checking.js"]

View file

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

View file

@ -1,37 +0,0 @@
[DEFAULT]
head = head_urlclassifier.js
tags = condprof
skip-if = toolkit == 'android'
support-files =
data/**
[test_addsub.js]
[test_bug1274685_unowned_list.js]
[test_backoff.js]
[test_canonicalization.js]
[test_channelClassifierService.js]
[test_dbservice.js]
skip-if = condprof # Bug 1769828
[test_hashcompleter.js]
[test_hashcompleter_v4.js]
# Bug 752243: Profile cleanup frequently fails
#skip-if = os == "mac" || os == "linux"
[test_partial.js]
[test_prefixset.js]
[test_threat_type_conversion.js]
[test_provider_url.js]
[test_exceptionListService.js]
tags = remote-settings
[test_streamupdater.js]
[test_digest256.js]
run-sequentially = very high failure rate in parallel
[test_listmanager.js]
run-sequentially = very high failure rate in parallel
[test_pref.js]
[test_malwaretable_pref.js]
[test_safebrowsing_protobuf.js]
[test_platform_specific_threats.js]
[test_features.js]
[test_shouldclassify.js]
[test_rsListService.js]
tags = remote-settings

View file

@ -0,0 +1,56 @@
[DEFAULT]
head = "head_urlclassifier.js"
tags = "condprof"
skip-if = ["os == 'android'"]
support-files = ["data/**"]
["test_addsub.js"]
["test_backoff.js"]
["test_bug1274685_unowned_list.js"]
["test_canonicalization.js"]
["test_channelClassifierService.js"]
["test_dbservice.js"]
skip-if = ["condprof"] # Bug 1769828
["test_digest256.js"]
run-sequentially = "very high failure rate in parallel"
["test_exceptionListService.js"]
tags = "remote-settings"
["test_features.js"]
["test_hashcompleter.js"]
["test_hashcompleter_v4.js"]
["test_listmanager.js"]
run-sequentially = "very high failure rate in parallel"
["test_malwaretable_pref.js"]
["test_partial.js"]
["test_platform_specific_threats.js"]
["test_pref.js"]
["test_prefixset.js"]
["test_provider_url.js"]
["test_rsListService.js"]
tags = "remote-settings"
["test_safebrowsing_protobuf.js"]
["test_shouldclassify.js"]
["test_streamupdater.js"]
["test_threat_type_conversion.js"]

View file

@ -7,7 +7,7 @@
with Files("**"):
BUG_COMPONENT = ("Toolkit", "General")
XPCSHELL_TESTS_MANIFESTS += ["tests/unit/xpcshell.ini"]
XPCSHELL_TESTS_MANIFESTS += ["tests/unit/xpcshell.toml"]
XPIDL_SOURCES += [
"nsIURLFormatter.idl",

View file

@ -1,5 +0,0 @@
[DEFAULT]
head = head_urlformatter.js
skip-if = toolkit == 'android'
[test_urlformatter.js]

View file

@ -0,0 +1,5 @@
[DEFAULT]
head = "head_urlformatter.js"
skip-if = ["os == 'android'"]
["test_urlformatter.js"]

View file

@ -25,4 +25,4 @@ XPCOM_MANIFESTS += [
"components.conf",
]
XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.ini"]
XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.toml"]

View file

@ -1,5 +0,0 @@
[test_ClientEnvironment.js]
skip-if = os == "android" && release_or_beta # Bug 1707041
[test_FilterExpressions.js]
[test_JsonSchemaValidator.js]
[test_Sampling.js]

View file

@ -0,0 +1,10 @@
[DEFAULT]
["test_ClientEnvironment.js"]
skip-if = ["os == 'android' && release_or_beta"] # Bug 1707041
["test_FilterExpressions.js"]
["test_JsonSchemaValidator.js"]
["test_Sampling.js"]

View file

@ -10,7 +10,7 @@ with Files("**"):
TEST_DIRS += ["test"]
if CONFIG["ENABLE_TESTS"]:
XPCSHELL_TESTS_MANIFESTS += ["tests/unit/xpcshell.ini"]
XPCSHELL_TESTS_MANIFESTS += ["tests/unit/xpcshell.toml"]
XPIDL_SOURCES += [
"nsIWindowCreator.idl",

View file

@ -1,5 +0,0 @@
[DEFAULT]
head =
[test_wwauthpromptfactory.js]
[test_wwpromptfactory.js]

View file

@ -0,0 +1,6 @@
[DEFAULT]
head = ""
["test_wwauthpromptfactory.js"]
["test_wwpromptfactory.js"]

View file

@ -8,7 +8,7 @@ with Files("**"):
BUG_COMPONENT = ("Toolkit", "Startup and Profile System")
MOCHITEST_CHROME_MANIFESTS += ["tests/chrome/chrome.toml"]
XPCSHELL_TESTS_MANIFESTS += ["tests/xpcshell/xpcshell.ini"]
XPCSHELL_TESTS_MANIFESTS += ["tests/xpcshell/xpcshell.toml"]
XPIDL_MODULE = "toolkit_xulstore"

View file

@ -1,4 +0,0 @@
[DEFAULT]
skip-if = toolkit == 'android'
[test_XULStore.js]

View file

@ -0,0 +1,4 @@
[DEFAULT]
skip-if = ["os == 'android'"]
["test_XULStore.js"]

View file

@ -4,7 +4,7 @@
# 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/.
XPCSHELL_TESTS_MANIFESTS += ["unit/xpcshell.ini"]
XPCSHELL_TESTS_MANIFESTS += ["unit/xpcshell.toml"]
BROWSER_CHROME_MANIFESTS += [
"browser/browser.toml",

View file

@ -1,4 +0,0 @@
[DEFAULT]
head =
[test_contentAreaUtils.js]

View file

@ -0,0 +1,4 @@
[DEFAULT]
head = ""
["test_contentAreaUtils.js"]

View file

@ -5,7 +5,7 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
FINAL_TARGET = "_tests/xpcshell/toolkit/crashreporter/test"
XPCSHELL_TESTS_MANIFESTS += ["unit/xpcshell.ini", "unit_ipc/xpcshell.ini"]
XPCSHELL_TESTS_MANIFESTS += ["unit/xpcshell.toml", "unit_ipc/xpcshell.toml"]
if CONFIG["MOZ_PHC"]:
XPCSHELL_TESTS_MANIFESTS += ["unit/xpcshell-phc.ini", "unit_ipc/xpcshell-phc.ini"]

View file

@ -1,131 +0,0 @@
[DEFAULT]
head = head_crashreporter.js
skip-if =
toolkit == 'android'
os == 'win' && msix # https://bugzilla.mozilla.org/show_bug.cgi?id=1807922
support-files =
crasher_subprocess_head.js
crasher_subprocess_tail.js
[test_crash_moz_crash.js]
[test_crash_purevirtual.js]
[test_crash_rust_panic.js]
[test_crash_rust_panic_multiline.js]
[test_crash_after_js_oom_reported.js]
[test_crash_after_js_oom_recovered.js]
[test_crash_after_js_oom_reported_2.js]
[test_crash_after_js_large_allocation_failure.js]
[test_crash_after_js_large_allocation_failure_reporting.js]
[test_crash_oom.js]
[test_oom_annotation.js]
run-sequentially = very high failure rate in parallel
[test_kill.js]
[test_crash_abort.js]
skip-if = os == 'win'
[test_crash_uncaught_exception.js]
[test_crash_with_memory_report.js]
[test_crashreporter.js]
[test_crashreporter_crash.js]
run-sequentially = very high failure rate in parallel
[test_override_exception_handler.js]
skip-if = os != 'win'
[test_crashreporter_appmem.js]
# we need to skip this due to bug 838613
skip-if = (os != 'win' && os != 'linux') || (os=='linux' && bits==32)
[test_crash_AsyncShutdown.js]
[test_event_files.js]
[test_crash_terminator.js]
[test_crash_backgroundtask_moz_crash.js]
[test_crash_heap_corruption.js]
skip-if = os != 'win'
reason = Test covering Windows-specific crash type
run-sequentially = very high failure rate in parallel
[test_crash_exc_guard.js]
skip-if = os != 'mac'
reason = Test covering macOS-specific crash type
[test_crash_modules.js]
skip-if = os != 'win'
reason = Test covering Windows-specific module handling
run-sequentially = very high failure rate in parallel
[test_crash_win64cfi_unknown_op.js]
head = head_crashreporter.js head_win64cfi.js
skip-if = !(os == 'win' && bits == 64 && processor == 'x86_64')
reason = Windows test specific to the x86-64 architecture
[test_crash_win64cfi_push_nonvol.js]
head = head_crashreporter.js head_win64cfi.js
skip-if = !(os == 'win' && bits == 64 && processor == 'x86_64')
reason = Windows test specific to the x86-64 architecture
[test_crash_win64cfi_alloc_small.js]
head = head_crashreporter.js head_win64cfi.js
skip-if = !(os == 'win' && bits == 64 && processor == 'x86_64')
reason = Windows test specific to the x86-64 architecture
[test_crash_win64cfi_alloc_large.js]
head = head_crashreporter.js head_win64cfi.js
skip-if = !(os == 'win' && bits == 64 && processor == 'x86_64')
reason = Windows test specific to the x86-64 architecture
[test_crash_win64cfi_save_nonvol.js]
head = head_crashreporter.js head_win64cfi.js
skip-if = !(os == 'win' && bits == 64 && processor == 'x86_64')
reason = Windows test specific to the x86-64 architecture
[test_crash_win64cfi_save_nonvol_far.js]
head = head_crashreporter.js head_win64cfi.js
skip-if = !(os == 'win' && bits == 64 && processor == 'x86_64')
reason = Windows test specific to the x86-64 architecture
[test_crash_win64cfi_save_xmm128.js]
head = head_crashreporter.js head_win64cfi.js
skip-if = !(os == 'win' && bits == 64 && processor == 'x86_64')
reason = Windows test specific to the x86-64 architecture
[test_crash_win64cfi_save_xmm128_far.js]
head = head_crashreporter.js head_win64cfi.js
skip-if = !(os == 'win' && bits == 64 && processor == 'x86_64')
reason = Windows test specific to the x86-64 architecture
[test_crash_win64cfi_epilog.js]
head = head_crashreporter.js head_win64cfi.js
skip-if = !(os == 'win' && bits == 64 && processor == 'x86_64')
reason = Windows test specific to the x86-64 architecture
[test_crash_win64cfi_infinite_entry_chain.js]
head = head_crashreporter.js head_win64cfi.js
skip-if = !(os == 'win' && bits == 64 && processor == 'x86_64')
reason = Windows test specific to the x86-64 architecture
support-files = test_crash_win64cfi_infinite_entry_chain.exe
[test_crash_win64cfi_infinite_code_chain.js]
head = head_crashreporter.js head_win64cfi.js
skip-if = !(os == 'win' && bits == 64 && processor == 'x86_64')
reason = Windows test specific to the x86-64 architecture
support-files = test_crash_win64cfi_infinite_code_chain.exe
[test_crash_win64cfi_invalid_exception_rva.js]
head = head_crashreporter.js head_win64cfi.js
skip-if = !(os == 'win' && bits == 64 && processor == 'x86_64')
reason = Windows test specific to the x86-64 architecture
support-files = test_crash_win64cfi_invalid_exception_rva.exe
[test_crash_win64cfi_not_a_pe.js]
head = head_crashreporter.js head_win64cfi.js
skip-if = !(os == 'win' && bits == 64 && processor == 'x86_64')
reason = Windows test specific to the x86-64 architecture
support-files = test_crash_win64cfi_not_a_pe.exe
[test_crash_stack_overflow.js]
skip-if = os != 'linux'
reason = Still broken on macOS and not yet supported on Windows

View file

@ -0,0 +1,152 @@
[DEFAULT]
head = "head_crashreporter.js"
skip-if = [
"os == 'android'",
"os == 'win' && msix", # https://bugzilla.mozilla.org/show_bug.cgi?id=1807922
]
support-files = [
"crasher_subprocess_head.js",
"crasher_subprocess_tail.js",
]
["test_crash_AsyncShutdown.js"]
["test_crash_abort.js"]
skip-if = ["os == 'win'"]
["test_crash_after_js_large_allocation_failure.js"]
["test_crash_after_js_large_allocation_failure_reporting.js"]
["test_crash_after_js_oom_recovered.js"]
["test_crash_after_js_oom_reported.js"]
["test_crash_after_js_oom_reported_2.js"]
["test_crash_backgroundtask_moz_crash.js"]
["test_crash_exc_guard.js"]
run-if = ["os == 'mac'"]
reason = "Test covering macOS-specific crash type"
["test_crash_heap_corruption.js"]
run-if = ["os == 'win'"]
reason = "Test covering Windows-specific crash type"
run-sequentially = "very high failure rate in parallel"
["test_crash_modules.js"]
run-if = ["os == 'win'"]
reason = "Test covering Windows-specific module handling"
run-sequentially = "very high failure rate in parallel"
["test_crash_moz_crash.js"]
["test_crash_oom.js"]
["test_crash_purevirtual.js"]
["test_crash_rust_panic.js"]
["test_crash_rust_panic_multiline.js"]
["test_crash_stack_overflow.js"]
skip-if = ["os != 'linux'"]
reason = "Still broken on macOS and not yet supported on Windows"
["test_crash_terminator.js"]
["test_crash_uncaught_exception.js"]
["test_crash_win64cfi_alloc_large.js"]
head = "head_crashreporter.js head_win64cfi.js"
run-if = ["os == 'win' && bits == 64 && processor == 'x86_64'"]
reason = "Windows test specific to the x86-64 architecture"
["test_crash_win64cfi_alloc_small.js"]
head = "head_crashreporter.js head_win64cfi.js"
run-if = ["os == 'win' && bits == 64 && processor == 'x86_64'"]
reason = "Windows test specific to the x86-64 architecture"
["test_crash_win64cfi_epilog.js"]
head = "head_crashreporter.js head_win64cfi.js"
run-if = ["os == 'win' && bits == 64 && processor == 'x86_64'"]
reason = "Windows test specific to the x86-64 architecture"
["test_crash_win64cfi_infinite_code_chain.js"]
head = "head_crashreporter.js head_win64cfi.js"
run-if = ["os == 'win' && bits == 64 && processor == 'x86_64'"]
reason = "Windows test specific to the x86-64 architecture"
support-files = ["test_crash_win64cfi_infinite_code_chain.exe"]
["test_crash_win64cfi_infinite_entry_chain.js"]
head = "head_crashreporter.js head_win64cfi.js"
run-if = ["os == 'win' && bits == 64 && processor == 'x86_64'"]
reason = "Windows test specific to the x86-64 architecture"
support-files = ["test_crash_win64cfi_infinite_entry_chain.exe"]
["test_crash_win64cfi_invalid_exception_rva.js"]
head = "head_crashreporter.js head_win64cfi.js"
run-if = ["os == 'win' && bits == 64 && processor == 'x86_64'"]
reason = "Windows test specific to the x86-64 architecture"
support-files = ["test_crash_win64cfi_invalid_exception_rva.exe"]
["test_crash_win64cfi_not_a_pe.js"]
head = "head_crashreporter.js head_win64cfi.js"
run-if = ["os == 'win' && bits == 64 && processor == 'x86_64'"]
reason = "Windows test specific to the x86-64 architecture"
support-files = ["test_crash_win64cfi_not_a_pe.exe"]
["test_crash_win64cfi_push_nonvol.js"]
head = "head_crashreporter.js head_win64cfi.js"
run-if = ["os == 'win' && bits == 64 && processor == 'x86_64'"]
reason = "Windows test specific to the x86-64 architecture"
["test_crash_win64cfi_save_nonvol.js"]
head = "head_crashreporter.js head_win64cfi.js"
run-if = ["os == 'win' && bits == 64 && processor == 'x86_64'"]
reason = "Windows test specific to the x86-64 architecture"
["test_crash_win64cfi_save_nonvol_far.js"]
head = "head_crashreporter.js head_win64cfi.js"
run-if = ["os == 'win' && bits == 64 && processor == 'x86_64'"]
reason = "Windows test specific to the x86-64 architecture"
["test_crash_win64cfi_save_xmm128.js"]
head = "head_crashreporter.js head_win64cfi.js"
run-if = ["os == 'win' && bits == 64 && processor == 'x86_64'"]
reason = "Windows test specific to the x86-64 architecture"
["test_crash_win64cfi_save_xmm128_far.js"]
head = "head_crashreporter.js head_win64cfi.js"
run-if = ["os == 'win' && bits == 64 && processor == 'x86_64'"]
reason = "Windows test specific to the x86-64 architecture"
["test_crash_win64cfi_unknown_op.js"]
head = "head_crashreporter.js head_win64cfi.js"
run-if = ["os == 'win' && bits == 64 && processor == 'x86_64'"]
reason = "Windows test specific to the x86-64 architecture"
["test_crash_with_memory_report.js"]
["test_crashreporter.js"]
["test_crashreporter_appmem.js"]
# we need to skip this due to bug 838613
skip-if = [
"os != 'win' && os != 'linux'",
"os=='linux' && bits==32",
]
["test_crashreporter_crash.js"]
run-sequentially = "very high failure rate in parallel"
["test_event_files.js"]
["test_kill.js"]
["test_oom_annotation.js"]
run-sequentially = "very high failure rate in parallel"
["test_override_exception_handler.js"]
skip-if = ["os != 'win'"]

View file

@ -1,17 +0,0 @@
[DEFAULT]
run-sequentially = very high failure rate in parallel
head =
skip-if = toolkit == 'android'
support-files =
!/toolkit/crashreporter/test/unit/crasher_subprocess_head.js
!/toolkit/crashreporter/test/unit/crasher_subprocess_tail.js
!/toolkit/crashreporter/test/unit/head_crashreporter.js
[test_content_annotation.js]
[test_content_large_annotation.js]
[test_content_exception_time_annotation.js]
[test_content_oom_annotation.js]
[test_content_memory_list.js]
skip-if = os != 'win'
[test_content_rust_panic.js]
[test_content_rust_panic_multiline.js]

View file

@ -0,0 +1,24 @@
[DEFAULT]
run-sequentially = "very high failure rate in parallel"
head = ""
skip-if = ["os == 'android'"]
support-files = [
"!/toolkit/crashreporter/test/unit/crasher_subprocess_head.js",
"!/toolkit/crashreporter/test/unit/crasher_subprocess_tail.js",
"!/toolkit/crashreporter/test/unit/head_crashreporter.js",
]
["test_content_annotation.js"]
["test_content_exception_time_annotation.js"]
["test_content_large_annotation.js"]
["test_content_memory_list.js"]
skip-if = ["os != 'win'"]
["test_content_oom_annotation.js"]
["test_content_rust_panic.js"]
["test_content_rust_panic_multiline.js"]

View file

@ -130,7 +130,7 @@ with Files("WindowsRegistry.sys.mjs"):
BUG_COMPONENT = ("Toolkit", "General")
XPCSHELL_TESTS_MANIFESTS += ["tests/xpcshell/xpcshell.ini"]
XPCSHELL_TESTS_MANIFESTS += ["tests/xpcshell/xpcshell.toml"]
BROWSER_CHROME_MANIFESTS += ["tests/browser/browser.toml"]
MOCHITEST_CHROME_MANIFESTS += ["tests/chrome/chrome.toml"]

View file

@ -27,7 +27,7 @@ else:
"subprocess_unix.worker.js",
]
XPCSHELL_TESTS_MANIFESTS += ["test/xpcshell/xpcshell.ini"]
XPCSHELL_TESTS_MANIFESTS += ["test/xpcshell/xpcshell.toml"]
SPHINX_TREES["toolkit_modules/subprocess"] = ["docs"]

View file

@ -1,16 +0,0 @@
[DEFAULT]
head = head.js
firefox-appdir = browser
skip-if = os == 'android'
subprocess = true
support-files =
data_text_file.txt
data_test_script.py
[test_subprocess.js]
skip-if =
verify
apple_silicon # bug 1729546
run-sequentially = very high failure rate in parallel
[test_subprocess_getEnvironment.js]
[test_subprocess_pathSearch.js]

View file

@ -0,0 +1,20 @@
[DEFAULT]
head = "head.js"
firefox-appdir = "browser"
skip-if = ["os == 'android'"]
subprocess = true
support-files = [
"data_text_file.txt",
"data_test_script.py",
]
["test_subprocess.js"]
skip-if = [
"verify",
"apple_silicon", # bug 1729546
]
run-sequentially = "very high failure rate in parallel"
["test_subprocess_getEnvironment.js"]
["test_subprocess_pathSearch.js"]

View file

@ -1,81 +0,0 @@
[DEFAULT]
head = head.js
firefox-appdir = browser
support-files =
propertyLists/bug710259_propertyListBinary.plist
propertyLists/bug710259_propertyListXML.plist
chromeappsstore.sqlite
corrupt.sqlite
zips/dummy_gmp.zip
zips/zen.zip
regions/mls-lookup-results.csv
regions/world.geojson
regions/world-buffered.geojson
[test_BinarySearch.js]
[test_BrowserUtils.js]
[test_BrowserUtils_urlFormatting.js]
[test_CanonicalJSON.js]
[test_Color.js]
[test_CreditCard.js]
[test_DeferredTask.js]
skip-if = toolkit == 'android' || (os == 'mac') # osx: Bug 1550141;
[test_E10SUtils_getRemoteTypeForURIObject.js]
[test_FileUtils.js]
skip-if = toolkit == 'android'
[test_FinderIterator.js]
[test_GMPInstallManager.js]
skip-if = toolkit == 'android'
support-files =
../../../mozapps/extensions/test/xpcshell/data/productaddons/content_signing_aus_ee.pem
../../../mozapps/extensions/test/xpcshell/data/productaddons/content_signing_int.pem
../../../mozapps/extensions/test/xpcshell/data/productaddons/bad.xml
../../../mozapps/extensions/test/xpcshell/data/productaddons/good.xml
[test_IgnoreList.js]
tags = remote-settings
[test_Integration.js]
[test_jsesc.js]
[test_JSONFile.js]
[test_JsonSchema.js]
[test_Log.js]
[test_Log_double_ext.js]
[test_MatchURLFilters.js]
[test_NewTabUtils.js]
skip-if = toolkit == 'android'
[test_ObjectUtils.js]
[test_ObjectUtils_strict.js]
[test_osKeyStore.js]
skip-if = apple_silicon # bug 1729538
[test_PermissionsUtils.js]
[test_Preferences.js]
[test_PromiseUtils.js]
[test_propertyListsUtils.js]
skip-if = os != 'mac'
[test_readCertPrefs.js]
[test_Region.js]
[test_Region_geocoding.js]
run-sequentially = very high failure rate in parallel
[test_Services.js]
[test_sqlite.js]
skip-if = toolkit == 'android'
[test_sqlite_autoVacuum.js]
skip-if = toolkit == 'android'
[test_sqlite_shutdown.js]
[test_timer.js]
[test_UpdateUtils_url.js]
skip-if = !updater
reason = LOCALE is not defined without MOZ_UPDATER
[test_UpdateUtils_updatechannel.js]
[test_web_channel.js]
[test_web_channel_broker.js]
[test_Log_nsIStackFrame.js]
[test_Log_stackTrace.js]
[test_servicerequest_xhr.js]
[test_EventEmitter.js]
[test_ProfileAge.js]
[test_firstStartup.js]
skip-if =
toolkit == 'android'
os == "win" && os_version == "6.1" # Skip on Azure - frequent failure
[test_AllowedAppSources.js]
skip-if = os != 'win' # Test of a Windows-specific feature

View file

@ -0,0 +1,131 @@
[DEFAULT]
head = "head.js"
firefox-appdir = "browser"
support-files = [
"propertyLists/bug710259_propertyListBinary.plist",
"propertyLists/bug710259_propertyListXML.plist",
"chromeappsstore.sqlite",
"corrupt.sqlite",
"zips/dummy_gmp.zip",
"zips/zen.zip",
"regions/mls-lookup-results.csv",
"regions/world.geojson",
"regions/world-buffered.geojson",
]
["test_AllowedAppSources.js"]
run-if = ["os == 'win'"] # Test of a Windows-specific feature
["test_BinarySearch.js"]
["test_BrowserUtils.js"]
["test_BrowserUtils_urlFormatting.js"]
["test_CanonicalJSON.js"]
["test_Color.js"]
["test_CreditCard.js"]
["test_DeferredTask.js"]
skip-if = [
"os == 'android'",
"os == 'mac'", # osx: Bug 1550141;
]
["test_E10SUtils_getRemoteTypeForURIObject.js"]
["test_EventEmitter.js"]
["test_FileUtils.js"]
skip-if = ["os == 'android'"]
["test_FinderIterator.js"]
["test_GMPInstallManager.js"]
skip-if = ["os == 'android'"]
support-files = [
"../../../mozapps/extensions/test/xpcshell/data/productaddons/content_signing_aus_ee.pem",
"../../../mozapps/extensions/test/xpcshell/data/productaddons/content_signing_int.pem",
"../../../mozapps/extensions/test/xpcshell/data/productaddons/bad.xml",
"../../../mozapps/extensions/test/xpcshell/data/productaddons/good.xml",
]
["test_IgnoreList.js"]
tags = "remote-settings"
["test_Integration.js"]
["test_JSONFile.js"]
["test_JsonSchema.js"]
["test_Log.js"]
["test_Log_double_ext.js"]
["test_Log_nsIStackFrame.js"]
["test_Log_stackTrace.js"]
["test_MatchURLFilters.js"]
["test_NewTabUtils.js"]
skip-if = ["os == 'android'"]
["test_ObjectUtils.js"]
["test_ObjectUtils_strict.js"]
["test_PermissionsUtils.js"]
["test_Preferences.js"]
["test_ProfileAge.js"]
["test_PromiseUtils.js"]
["test_Region.js"]
["test_Region_geocoding.js"]
run-sequentially = "very high failure rate in parallel"
["test_Services.js"]
["test_UpdateUtils_updatechannel.js"]
["test_UpdateUtils_url.js"]
skip-if = ["!updater"]
reason = "LOCALE is not defined without MOZ_UPDATER"
["test_firstStartup.js"]
skip-if = [
"os == 'android'",
]
["test_jsesc.js"]
["test_osKeyStore.js"]
skip-if = ["apple_silicon"] # bug 1729538
["test_propertyListsUtils.js"]
run-if = ["os == 'mac'"]
["test_readCertPrefs.js"]
["test_servicerequest_xhr.js"]
["test_sqlite.js"]
skip-if = ["os == 'android'"]
["test_sqlite_autoVacuum.js"]
skip-if = ["os == 'android'"]
["test_sqlite_shutdown.js"]
["test_timer.js"]
["test_web_channel.js"]
["test_web_channel_broker.js"]

View file

@ -4,5 +4,5 @@
# 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/.
XPCSHELL_TESTS_MANIFESTS += ["unit/xpcshell.ini"]
XPCSHELL_TESTS_MANIFESTS += ["unit/xpcshell.toml"]
BROWSER_CHROME_MANIFESTS += ["browser/browser.toml"]

Some files were not shown because too many files have changed in this diff Show more