Bug 1959265 - clean and sanitize browser/**/xpcshell.toml files. r=aryx,credential-management-reviewers,search-reviewers,sessionstore-reviewers,places-reviewers,omc-reviewers,migration-reviewers,backup-reviewers,home-newtab-reviewers,urlbar-reviewers,firefox-ai-ml-reviewers,profiles-reviewers,willdurand,tarek,dimi,jteow,sthompson,mconley,pdahiya,mossop

Differential Revision: https://phabricator.services.mozilla.com/D244829
This commit is contained in:
Joel Maher
2025-04-17 18:30:44 +00:00
parent 27b1cf6f91
commit 986c1b9cc2
26 changed files with 39 additions and 80 deletions

View File

@@ -1,5 +1,4 @@
[DEFAULT] [DEFAULT]
skip-if = ["os == 'android'"] # bug 1730213
head = '' head = ''
# make the firefox services (eg newtab-service) available to xpcshell # make the firefox services (eg newtab-service) available to xpcshell
firefox-appdir = "browser" firefox-appdir = "browser"

View File

@@ -1,5 +1,4 @@
[DEFAULT] [DEFAULT]
skip-if = ["os == 'android'"] # bug 1730213
head = "head.js" head = "head.js"
firefox-appdir = "browser" firefox-appdir = "browser"

View File

@@ -1,5 +1,4 @@
[DEFAULT] [DEFAULT]
skip-if = ["os == 'android'"]
firefox-appdir = "browser" firefox-appdir = "browser"
["test_AboutWelcomeAttribution.js"] ["test_AboutWelcomeAttribution.js"]

View File

@@ -1,7 +1,6 @@
[DEFAULT] [DEFAULT]
head = "head.js" head = "head.js"
firefox-appdir = "browser" firefox-appdir = "browser"
skip-if = ["os == 'android'"]
prefs = [ prefs = [
"browser.backup.log=true", "browser.backup.log=true",
] ]

View File

@@ -1,6 +1,5 @@
[DEFAULT] [DEFAULT]
head = '' head = ''
skip-if = ["os == 'android'"] # bug 1730213
firefox-appdir = "browser" firefox-appdir = "browser"
["test_unified_extensions_migration.js"] ["test_unified_extensions_migration.js"]

View File

@@ -1,11 +1,9 @@
[DEFAULT] [DEFAULT]
skip-if = ["os == 'android'"] # bug 1730213
head = "head.js" head = "head.js"
firefox-appdir = "browser" firefox-appdir = "browser"
support-files = ["../../../../../netwerk/test/unit/http2-ca.pem"] support-files = ["../../../../../netwerk/test/unit/http2-ca.pem"]
["test_DNSLookup.js"] ["test_DNSLookup.js"]
skip-if = ["debug"] # Bug 1617845
["test_LookupAggregator.js"] ["test_LookupAggregator.js"]

View File

@@ -1,7 +1,6 @@
[DEFAULT] [DEFAULT]
head = "head.js" head = "head.js"
firefox-appdir = "browser" firefox-appdir = "browser"
skip-if = ["os == 'android'"] # bug 1730213
["test_DownloadLastDir_basics.js"] ["test_DownloadLastDir_basics.js"]

View File

@@ -1,5 +1,4 @@
[DEFAULT] [DEFAULT]
skip-if = ["os == 'android'"] # bug 1730213
firefox-appdir = "browser" firefox-appdir = "browser"
head = "head.js" head = "head.js"
support-files = [ support-files = [

View File

@@ -1,17 +1,14 @@
[DEFAULT] [DEFAULT]
skip-if = ["os == 'android'"] # bug 1730213
head = "head.js" head = "head.js"
firefox-appdir = "browser" firefox-appdir = "browser"
tags = "webextensions" tags = "webextensions"
dupe-manifest = "" dupe-manifest = ""
["test_ext_bookmarks.js"] ["test_ext_bookmarks.js"]
skip-if = ["condprof"] # Bug 1769184 - by design for now
["test_ext_browsingData_downloads.js"] ["test_ext_browsingData_downloads.js"]
["test_ext_browsingData_passwords.js"] ["test_ext_browsingData_passwords.js"]
skip-if = ["tsan"] # Times out, bug 1612707
["test_ext_browsingData_settings.js"] ["test_ext_browsingData_settings.js"]
@@ -44,7 +41,6 @@ skip-if = ["tsan"] # Times out, bug 1612707
["test_ext_pkcs11_management.js"] ["test_ext_pkcs11_management.js"]
["test_ext_settings_overrides_defaults.js"] ["test_ext_settings_overrides_defaults.js"]
skip-if = ["condprof"] # Bug 1776135 - by design, modifies search settings at start of test
["test_ext_settings_overrides_search.js"] ["test_ext_settings_overrides_search.js"]
@@ -53,7 +49,6 @@ skip-if = ["condprof"] # Bug 1776135 - by design, modifies search settings at st
["test_ext_settings_validate.js"] ["test_ext_settings_validate.js"]
["test_ext_topSites.js"] ["test_ext_topSites.js"]
skip-if = ["condprof"] # Bug 1769184 - by design for now
["test_ext_url_overrides_newtab.js"] ["test_ext_url_overrides_newtab.js"]

View File

@@ -1,7 +1,7 @@
[DEFAULT] [DEFAULT]
head = "head.js" head = "head.js"
firefox-appdir = "browser" firefox-appdir = "browser"
skip-if = ["os != 'win'"] run-if = ["os == 'win'"]
# These tests must all run sequentially because they use the same registry key. # These tests must all run sequentially because they use the same registry key.
# It might be possible to get around this requirement by overriding the install # It might be possible to get around this requirement by overriding the install
@@ -10,7 +10,9 @@ skip-if = ["os != 'win'"]
["test_empty_prefs_list.js"] ["test_empty_prefs_list.js"]
run-sequentially = "Uses the Windows registry" run-sequentially = "Uses the Windows registry"
skip-if = ["os == 'win' && msix"] # https://bugzilla.mozilla.org/show_bug.cgi?id=1807932 skip-if = [
"os == 'win' && os_version == '11.26100' && processor == 'x86_64' && msix", # Bug 1807932
]
["test_invalid_name.js"] ["test_invalid_name.js"]
run-sequentially = "Uses the Windows registry" run-sequentially = "Uses the Windows registry"

View File

@@ -2,7 +2,6 @@
head = "head_migration.js" head = "head_migration.js"
tags = "condprof os_integration" tags = "condprof os_integration"
firefox-appdir = "browser" firefox-appdir = "browser"
skip-if = ["os == 'android'"] # bug 1730213
prefs = ["browser.migrate.showBookmarksToolbarAfterMigration=true"] prefs = ["browser.migrate.showBookmarksToolbarAfterMigration=true"]
support-files = [ support-files = [
"Library/**", "Library/**",
@@ -32,33 +31,21 @@ run-if = ["os == 'linux'"]
["test_Chrome_corrupt_history.js"] ["test_Chrome_corrupt_history.js"]
["test_Chrome_credit_cards.js"] ["test_Chrome_credit_cards.js"]
skip-if = [ skip-if = ["os == 'linux' && os_version == '18.04' && processor == 'x86_64'"]
"os == 'linux'",
"os == 'android'",
"condprof", # bug 1769154 - not realistic for condprof
]
["test_Chrome_extensions.js"] ["test_Chrome_extensions.js"]
["test_Chrome_formdata.js"] ["test_Chrome_formdata.js"]
["test_Chrome_history.js"] ["test_Chrome_history.js"]
skip-if = ["os != 'mac'"] # Relies on ULibDir run-if = ["os == 'mac'"] # Relies on ULibDir
["test_Chrome_passwords.js"] ["test_Chrome_passwords.js"]
skip-if = [ skip-if = ["os == 'linux' && os_version == '18.04' && processor == 'x86_64'"]
"os == 'linux'",
"os == 'android'",
"condprof", # bug 1769154 - not realistic for condprof
]
["test_Chrome_passwords_emptySource.js"] ["test_Chrome_passwords_emptySource.js"]
skip-if = [
"os == 'linux'",
"os == 'android'",
"condprof", # bug 1769154 - not realistic for condprof
]
support-files = ["LibraryWithNoData/**"] support-files = ["LibraryWithNoData/**"]
skip-if = ["os == 'linux' && os_version == '18.04' && processor == 'x86_64'"]
["test_Chrome_permissions.js"] ["test_Chrome_permissions.js"]
@@ -73,10 +60,11 @@ run-if = ["os == 'win' && bits == 64"] # bug 1392396
["test_IE_history.js"] ["test_IE_history.js"]
run-if = ["os == 'win'"] run-if = ["os == 'win'"]
skip-if = ["os == 'win' && msix"] # https://bugzilla.mozilla.org/show_bug.cgi?id=1807928 skip-if = [
"os == 'win' && os_version == '11.26100' && processor == 'x86_64' && msix", # Bug 1807928
]
["test_MigrationUtils_timedRetry.js"] ["test_MigrationUtils_timedRetry.js"]
skip-if = ["os == 'mac' && !debug"] #Bug 1558330
["test_PasswordFileMigrator.js"] ["test_PasswordFileMigrator.js"]

View File

@@ -1,6 +1,5 @@
[DEFAULT] [DEFAULT]
firefox-appdir = "browser" firefox-appdir = "browser"
skip-if = ["os == 'android'"] # bug 1730213
head = "../../../../extensions/newtab/test/xpcshell/head.js" head = "../../../../extensions/newtab/test/xpcshell/head.js"
["test_AboutNewTab.js"] ["test_AboutNewTab.js"]

View File

@@ -1,6 +1,5 @@
[DEFAULT] [DEFAULT]
firefox-appdir = "browser" firefox-appdir = "browser"
skip-if = ["os == 'android'"] # bug 1730213
support-files = ["head.js"] support-files = ["head.js"]
head = "head.js" head = "head.js"

View File

@@ -1,7 +1,6 @@
[DEFAULT] [DEFAULT]
head = "head_bookmarks.js" head = "head_bookmarks.js"
firefox-appdir = "browser" firefox-appdir = "browser"
skip-if = ["os == 'android'"] # bug 1730213
support-files = [ support-files = [
"bookmarks.glue.html", "bookmarks.glue.html",
"bookmarks.glue.json", "bookmarks.glue.json",

View File

@@ -17,5 +17,9 @@ prefs = [
["test_selectable_profile_service_exists.js"] ["test_selectable_profile_service_exists.js"]
["test_selectable_profiles_lifecycle.js"] ["test_selectable_profiles_lifecycle.js"]
skip-if = [
"os == 'mac' && os_version == '10.15' && processor == 'x86_64'", # Bug 1952514
"os == 'mac' && os_version == '14.70' && processor == 'x86_64'", # Bug 1952514
]
["test_shared_prefs_lifecycles_methods.js"] ["test_shared_prefs_lifecycles_methods.js"]

View File

@@ -3,7 +3,6 @@ support-files = [
"../../../../../services/settings/dumps/main/search-config-v2.json", "../../../../../services/settings/dumps/main/search-config-v2.json",
] ]
prefs = ["browser.search.log=true"] prefs = ["browser.search.log=true"]
skip-if = ["os == 'android'"] # bug 1730213
firefox-appdir = "browser" firefox-appdir = "browser"
["test_domain_to_categories_store.js"] ["test_domain_to_categories_store.js"]

View File

@@ -2,7 +2,6 @@
head = "head.js" head = "head.js"
tags = "condprof" tags = "condprof"
firefox-appdir = "browser" firefox-appdir = "browser"
skip-if = ["os == 'android'"] # bug 1730213
support-files = [ support-files = [
"data/sessionCheckpoints_all.json", "data/sessionCheckpoints_all.json",
"data/sessionstore_invalid.js", "data/sessionstore_invalid.js",
@@ -10,19 +9,31 @@ support-files = [
] ]
["test_backup_once.js"] ["test_backup_once.js"]
skip-if = ["condprof"] # 1769154 skip-if = [
"os == 'linux' && os_version == '18.04' && processor == 'x86_64' && opt && condprof", # Bug 1769154
"os == 'win' && os_version == '11.26100' && processor == 'x86_64' && opt && condprof", # Bug 1769154
]
["test_final_write_cleanup.js"] ["test_final_write_cleanup.js"]
["test_histogram_corrupt_files.js"] ["test_histogram_corrupt_files.js"]
["test_migration_lz4compression.js"] ["test_migration_lz4compression.js"]
skip-if = ["condprof"] # 1769154 skip-if = [
"os == 'linux' && os_version == '18.04' && processor == 'x86_64' && opt && condprof", # Bug 1769154
"os == 'win' && os_version == '11.26100' && processor == 'x86_64' && opt && condprof", # Bug 1769154
]
["test_startup_invalid_session.js"] ["test_startup_invalid_session.js"]
skip-if = ["condprof"] # 1769154 skip-if = [
"os == 'linux' && os_version == '18.04' && processor == 'x86_64' && opt && condprof", # Bug 1769154
"os == 'win' && os_version == '11.26100' && processor == 'x86_64' && opt && condprof", # Bug 1769154
]
["test_startup_nosession_async.js"] ["test_startup_nosession_async.js"]
skip-if = ["condprof"] # 1769154 skip-if = [
"os == 'linux' && os_version == '18.04' && processor == 'x86_64' && opt && condprof", # Bug 1769154
"os == 'win' && os_version == '11.26100' && processor == 'x86_64' && opt && condprof", # Bug 1769154
]
["test_startup_session_async.js"] ["test_startup_session_async.js"]

View File

@@ -1,5 +1,4 @@
[DEFAULT] [DEFAULT]
skip-if = ["os == 'android'"] # bug 1730213
firefox-appdir = "browser" firefox-appdir = "browser"
tags = "os_integration" tags = "os_integration"

View File

@@ -1,5 +1,4 @@
[DEFAULT] [DEFAULT]
skip-if = ["os == 'android'"] # bug 1730213
head = "head.js" head = "head.js"
firefox-appdir = "browser" firefox-appdir = "browser"

View File

@@ -1,7 +1,6 @@
[DEFAULT] [DEFAULT]
head = "head.js" head = "head.js"
firefox-appdir = "browser" firefox-appdir = "browser"
skip-if = ["os == 'android'"] # bug 1730213
support-files = ["distribution.ini"] support-files = ["distribution.ini"]
["test_browserGlue_migration_ctrltab_recently_used_order.js"] ["test_browserGlue_migration_ctrltab_recently_used_order.js"]
@@ -11,7 +10,7 @@ support-files = ["distribution.ini"]
["test_browserGlue_migration_no_errors.js"] ["test_browserGlue_migration_no_errors.js"]
["test_browserGlue_migration_osauth.js"] ["test_browserGlue_migration_osauth.js"]
skip-if = ["nightly_build", "os == 'linux'"] skip-if = ["nightly_build"]
["test_browserGlue_migration_places_xulstore.js"] ["test_browserGlue_migration_places_xulstore.js"]

View File

@@ -1,5 +1,4 @@
[DEFAULT] [DEFAULT]
skip-if = ["os == 'android'"] # bug 1730213
head = "../../unit/head.js head.js" head = "../../unit/head.js head.js"
firefox-appdir = "browser" firefox-appdir = "browser"

View File

@@ -1,5 +1,4 @@
[DEFAULT] [DEFAULT]
skip-if = ["os == 'android'"] # bug 1730213
head = "head.js" head = "head.js"
firefox-appdir = "browser" firefox-appdir = "browser"
support-files = ["data/engine.xml"] support-files = ["data/engine.xml"]
@@ -97,7 +96,6 @@ prefs = [
["test_history_bookmark_results_on_search_service_failure.js"] ["test_history_bookmark_results_on_search_service_failure.js"]
["test_keywords.js"] ["test_keywords.js"]
skip-if = ["os == 'linux'"] # bug 1474616
["test_l10nCache.js"] ["test_l10nCache.js"]

View File

@@ -1,8 +1,4 @@
[DEFAULT] [DEFAULT]
skip-if = [
"os == 'linux' && ccov", # bug 1821945
"os == 'android'", # bug 1730213
]
firefox-appdir = "browser" firefox-appdir = "browser"
head = "head.js" head = "head.js"
support-files = ["../fixtures/**"] support-files = ["../fixtures/**"]
@@ -43,13 +39,8 @@ head = "head_addressComponent.js"
["test_addressDataLoader.js"] ["test_addressDataLoader.js"]
["test_addressRecords.js"] ["test_addressRecords.js"]
skip-if = ["os == 'mac' && os_version == '11.20' && arch == 'aarch64'"] # bug 1729554
["test_autofillFormFields.js"] ["test_autofillFormFields.js"]
skip-if = [
"tsan", # Times out, bug 1612707
"os == 'mac' && os_version == '11.20' && arch == 'aarch64'", # bug 1729554
]
["test_autofill_ios_library.js"] ["test_autofill_ios_library.js"]
@@ -57,8 +48,7 @@ skip-if = [
["test_creditCardRecords.js"] ["test_creditCardRecords.js"]
skip-if = [ skip-if = [
"tsan", # Times out, bug 1612707 "os == 'mac' && os_version == '11.20' && arch == 'aarch64'", # Bug 1729554
"os == 'mac' && os_version == '11.20' && arch == 'aarch64'", # bug 1729554
] ]
["test_extractLabelStrings.js"] ["test_extractLabelStrings.js"]
@@ -77,8 +67,7 @@ skip-if = [
["test_getRecords.js"] ["test_getRecords.js"]
skip-if = [ skip-if = [
"tsan", # Times out, bug 1612707 "os == 'mac' && os_version == '11.20' && arch == 'aarch64'", # Bug 1729554
"os == 'mac' && os_version == '11.20' && arch == 'aarch64'", # bug 1729554
] ]
["test_inspectFields.js"] ["test_inspectFields.js"]
@@ -94,7 +83,6 @@ skip-if = [
["test_known_strings.js"] ["test_known_strings.js"]
["test_migrateRecords.js"] ["test_migrateRecords.js"]
skip-if = ["tsan"] # Times out, bug 1612707
["test_nameUtils.js"] ["test_nameUtils.js"]
@@ -108,29 +96,25 @@ skip-if = ["tsan"] # Times out, bug 1612707
["test_reconcile.js"] ["test_reconcile.js"]
skip-if = [ skip-if = [
"tsan", # Times out, bug 1612707 "os == 'mac' && os_version == '11.20' && arch == 'aarch64'", # Bug 1729554
"os == 'mac' && os_version == '11.20' && arch == 'aarch64'", # bug 1729554
] ]
["test_savedFieldNames.js"] ["test_savedFieldNames.js"]
["test_storage_remove.js"] ["test_storage_remove.js"]
skip-if = [ skip-if = [
"tsan", # Times out, bug 1612707 "os == 'mac' && os_version == '11.20' && arch == 'aarch64'", # Bug 1729554
"os == 'mac' && os_version == '11.20' && arch == 'aarch64'", # bug 1729554
] ]
["test_storage_syncfields.js"] ["test_storage_syncfields.js"]
["test_storage_tombstones.js"] ["test_storage_tombstones.js"]
skip-if = [ skip-if = [
"tsan", # Times out, bug 1612707 "os == 'mac' && os_version == '11.20' && arch == 'aarch64'", # Bug 1729554
"os == 'mac' && os_version == '11.20' && arch == 'aarch64'", # bug 1729554
] ]
["test_sync.js"] ["test_sync.js"]
head = "head.js ../../../../../services/sync/tests/unit/head_appinfo.js ../../../../../services/common/tests/unit/head_helpers.js ../../../../../services/sync/tests/unit/head_helpers.js ../../../../../services/sync/tests/unit/head_http_server.js" head = "head.js ../../../../../services/sync/tests/unit/head_appinfo.js ../../../../../services/common/tests/unit/head_helpers.js ../../../../../services/sync/tests/unit/head_helpers.js ../../../../../services/sync/tests/unit/head_http_server.js"
skip-if = ["tsan"] # Times out, bug 1612707
["test_sync_deprecate_address_x_name_fields.js"] ["test_sync_deprecate_address_x_name_fields.js"]
head = "head.js ../../../../../services/sync/tests/unit/head_appinfo.js ../../../../../services/common/tests/unit/head_helpers.js ../../../../../services/sync/tests/unit/head_helpers.js ../../../../../services/sync/tests/unit/head_http_server.js" head = "head.js ../../../../../services/sync/tests/unit/head_appinfo.js ../../../../../services/common/tests/unit/head_helpers.js ../../../../../services/sync/tests/unit/head_helpers.js ../../../../../services/sync/tests/unit/head_http_server.js"
@@ -138,14 +122,12 @@ head = "head.js ../../../../../services/sync/tests/unit/head_appinfo.js ../../..
["test_sync_deprecate_credit_card_v4.js"] ["test_sync_deprecate_credit_card_v4.js"]
head = "head.js ../../../../../services/sync/tests/unit/head_appinfo.js ../../../../../services/common/tests/unit/head_helpers.js ../../../../../services/sync/tests/unit/head_helpers.js ../../../../../services/sync/tests/unit/head_http_server.js" head = "head.js ../../../../../services/sync/tests/unit/head_appinfo.js ../../../../../services/common/tests/unit/head_helpers.js ../../../../../services/sync/tests/unit/head_helpers.js ../../../../../services/sync/tests/unit/head_http_server.js"
skip-if = [ skip-if = [
"tsan", # Times out, bug 1612707 "os == 'mac' && os_version == '11.20' && arch == 'aarch64'", # Bug 1729554
"os == 'mac' && os_version == '11.20' && arch == 'aarch64'", # bug 1729554
] ]
["test_toOneLineAddress.js"] ["test_toOneLineAddress.js"]
["test_transformFields.js"] ["test_transformFields.js"]
skip-if = [ skip-if = [
"tsan", # Times out, bug 1612707 "os == 'mac' && os_version == '11.20' && arch == 'aarch64'", # Bug 1729554
"os == 'mac' && os_version == '11.20' && arch == 'aarch64'", # bug 1729554
] ]

View File

@@ -1,7 +1,6 @@
[DEFAULT] [DEFAULT]
firefox-appdir = "browser" firefox-appdir = "browser"
head = "head.js" head = "head.js"
skip-if = ["os == 'android'"] # bug 1730213
prefs = [ prefs = [
"browser.startup.homepage.abouthome_cache.enabled=true", "browser.startup.homepage.abouthome_cache.enabled=true",
"browser.startup.homepage.abouthome_cache.testing=true", "browser.startup.homepage.abouthome_cache.testing=true",
@@ -11,7 +10,6 @@ prefs = [
["test_AboutHomeStartupCacheWorker.js"] ["test_AboutHomeStartupCacheWorker.js"]
support-files = ["topstories.json"] support-files = ["topstories.json"]
skip-if = ["socketprocess_networking"] # Bug 1759035
["test_AdsFeed.js"] ["test_AdsFeed.js"]

View File

@@ -1,7 +1,6 @@
[DEFAULT] [DEFAULT]
head = '' head = ''
firefox-appdir = "browser" firefox-appdir = "browser"
skip-if = ["os == 'android'"] # bug 1730213
tags = "os_integration" tags = "os_integration"
["test_Dedupe.js"] ["test_Dedupe.js"]

View File

@@ -1,5 +1,4 @@
[DEFAULT] [DEFAULT]
skip-if = ["os == 'android'"] # bug 1730213
support-files = ["../../mozscreenshots/extension/TestRunner.sys.mjs"] support-files = ["../../mozscreenshots/extension/TestRunner.sys.mjs"]
["test_testConfigurations.js"] ["test_testConfigurations.js"]