From 9d203b1d4655ffa9bec6e4b888affe80d564c128 Mon Sep 17 00:00:00 2001 From: Joel Maher Date: Fri, 24 Nov 2023 14:41:35 +0000 Subject: [PATCH] Bug 1859893 - batch 15 - migrate xpcshell.ini -> .toml. r=aryx,geckoview-reviewers,extension-reviewers,valentin,cookie-reviewers,pbz,owlish,robwu Differential Revision: https://phabricator.services.mozilla.com/D194384 --- extensions/permissions/test/moz.build | 2 +- extensions/permissions/test/unit/xpcshell.ini | 60 - .../permissions/test/unit/xpcshell.toml | 94 ++ extensions/pref/autoconfig/moz.build | 2 +- .../pref/autoconfig/test/unit/xpcshell.ini | 23 - .../pref/autoconfig/test/unit/xpcshell.toml | 29 + .../autoconfig/test/unit/xpcshell_snap.ini | 8 - .../autoconfig/test/unit/xpcshell_snap.toml | 9 + extensions/spellcheck/hunspell/moz.build | 2 +- .../hunspell/tests/unit/xpcshell.ini | 8 - .../hunspell/tests/unit/xpcshell.toml | 9 + image/moz.build | 2 +- image/test/unit/xpcshell.ini | 42 - image/test/unit/xpcshell.toml | 50 + intl/benchmarks/xpcshell.ini | 17 - intl/benchmarks/xpcshell.toml | 17 + intl/l10n/moz.build | 2 +- intl/l10n/test/xpcshell.ini | 13 - intl/l10n/test/xpcshell.toml | 21 + intl/locale/moz.build | 2 +- intl/locale/tests/unit/xpcshell.ini | 17 - intl/locale/tests/unit/xpcshell.toml | 21 + intl/moz.build | 2 +- intl/strres/moz.build | 2 +- intl/strres/tests/unit/xpcshell.ini | 8 - intl/strres/tests/unit/xpcshell.toml | 10 + intl/uconv/tests/moz.build | 2 +- intl/uconv/tests/unit/xpcshell.ini | 91 -- intl/uconv/tests/unit/xpcshell.toml | 175 +++ ipc/testshell/moz.build | 2 +- ipc/testshell/tests/xpcshell.ini | 8 - ipc/testshell/tests/xpcshell.toml | 9 + js/xpconnect/tests/moz.build | 2 +- js/xpconnect/tests/unit/test_file2.js | 6 +- js/xpconnect/tests/unit/xpcshell.ini | 228 --- js/xpconnect/tests/unit/xpcshell.toml | 373 +++++ layout/tools/layout-debug/moz.build | 2 +- .../layout-debug/tests/unit/xpcshell.ini | 4 - .../layout-debug/tests/unit/xpcshell.toml | 4 + memory/replace/dmd/test/moz.build | 2 +- memory/replace/dmd/test/xpcshell.ini | 35 - memory/replace/dmd/test/xpcshell.toml | 35 + .../android/components/extensions/moz.build | 2 +- .../extensions/test/xpcshell/xpcshell.ini | 8 - .../extensions/test/xpcshell/xpcshell.toml | 9 + mobile/android/modules/geckoview/moz.build | 2 +- .../geckoview/test/xpcshell/xpcshell.ini | 5 - .../geckoview/test/xpcshell/xpcshell.toml | 5 + modules/libjar/moz.build | 2 +- modules/libjar/test/unit/xpcshell.ini | 56 - modules/libjar/test/unit/xpcshell.toml | 81 ++ modules/libjar/zipwriter/moz.build | 2 +- .../libjar/zipwriter/test/unit/xpcshell.ini | 36 - .../libjar/zipwriter/test/unit/xpcshell.toml | 58 + modules/libmar/tests/moz.build | 2 +- modules/libmar/tests/unit/xpcshell.ini | 8 - modules/libmar/tests/unit/xpcshell.toml | 10 + modules/libpref/moz.build | 4 +- modules/libpref/test/unit/xpcshell.ini | 28 - modules/libpref/test/unit/xpcshell.toml | 45 + modules/libpref/test/unit_ipc/xpcshell.ini | 14 - modules/libpref/test/unit_ipc/xpcshell.toml | 22 + netwerk/cookie/moz.build | 2 +- netwerk/cookie/test/unit/xpcshell.ini | 15 - netwerk/cookie/test/unit/xpcshell.toml | 26 + netwerk/dns/moz.build | 2 +- netwerk/dns/tests/unit/xpcshell.ini | 13 - netwerk/dns/tests/unit/xpcshell.toml | 17 + netwerk/test/httpserver/moz.build | 2 +- netwerk/test/httpserver/test/xpcshell.ini | 38 - netwerk/test/httpserver/test/xpcshell.toml | 68 + netwerk/test/moz.build | 4 +- netwerk/test/unit/xpcshell.ini | 785 ---------- netwerk/test/unit/xpcshell.toml | 1266 +++++++++++++++++ netwerk/test/unit_ipc/xpcshell.ini | 186 --- netwerk/test/unit_ipc/xpcshell.toml | 240 ++++ parser/xml/test/moz.build | 2 +- parser/xml/test/unit/xpcshell.ini | 6 - parser/xml/test/unit/xpcshell.toml | 7 + 79 files changed, 2739 insertions(+), 1789 deletions(-) delete mode 100644 extensions/permissions/test/unit/xpcshell.ini create mode 100644 extensions/permissions/test/unit/xpcshell.toml delete mode 100644 extensions/pref/autoconfig/test/unit/xpcshell.ini create mode 100644 extensions/pref/autoconfig/test/unit/xpcshell.toml delete mode 100644 extensions/pref/autoconfig/test/unit/xpcshell_snap.ini create mode 100644 extensions/pref/autoconfig/test/unit/xpcshell_snap.toml delete mode 100644 extensions/spellcheck/hunspell/tests/unit/xpcshell.ini create mode 100644 extensions/spellcheck/hunspell/tests/unit/xpcshell.toml delete mode 100644 image/test/unit/xpcshell.ini create mode 100644 image/test/unit/xpcshell.toml delete mode 100644 intl/benchmarks/xpcshell.ini create mode 100644 intl/benchmarks/xpcshell.toml delete mode 100644 intl/l10n/test/xpcshell.ini create mode 100644 intl/l10n/test/xpcshell.toml delete mode 100644 intl/locale/tests/unit/xpcshell.ini create mode 100644 intl/locale/tests/unit/xpcshell.toml delete mode 100644 intl/strres/tests/unit/xpcshell.ini create mode 100644 intl/strres/tests/unit/xpcshell.toml delete mode 100644 intl/uconv/tests/unit/xpcshell.ini create mode 100644 intl/uconv/tests/unit/xpcshell.toml delete mode 100644 ipc/testshell/tests/xpcshell.ini create mode 100644 ipc/testshell/tests/xpcshell.toml delete mode 100644 js/xpconnect/tests/unit/xpcshell.ini create mode 100644 js/xpconnect/tests/unit/xpcshell.toml delete mode 100644 layout/tools/layout-debug/tests/unit/xpcshell.ini create mode 100644 layout/tools/layout-debug/tests/unit/xpcshell.toml delete mode 100644 memory/replace/dmd/test/xpcshell.ini create mode 100644 memory/replace/dmd/test/xpcshell.toml delete mode 100644 mobile/android/components/extensions/test/xpcshell/xpcshell.ini create mode 100644 mobile/android/components/extensions/test/xpcshell/xpcshell.toml delete mode 100644 mobile/android/modules/geckoview/test/xpcshell/xpcshell.ini create mode 100644 mobile/android/modules/geckoview/test/xpcshell/xpcshell.toml delete mode 100644 modules/libjar/test/unit/xpcshell.ini create mode 100644 modules/libjar/test/unit/xpcshell.toml delete mode 100644 modules/libjar/zipwriter/test/unit/xpcshell.ini create mode 100644 modules/libjar/zipwriter/test/unit/xpcshell.toml delete mode 100644 modules/libmar/tests/unit/xpcshell.ini create mode 100644 modules/libmar/tests/unit/xpcshell.toml delete mode 100644 modules/libpref/test/unit/xpcshell.ini create mode 100644 modules/libpref/test/unit/xpcshell.toml delete mode 100644 modules/libpref/test/unit_ipc/xpcshell.ini create mode 100644 modules/libpref/test/unit_ipc/xpcshell.toml delete mode 100644 netwerk/cookie/test/unit/xpcshell.ini create mode 100644 netwerk/cookie/test/unit/xpcshell.toml delete mode 100644 netwerk/dns/tests/unit/xpcshell.ini create mode 100644 netwerk/dns/tests/unit/xpcshell.toml delete mode 100644 netwerk/test/httpserver/test/xpcshell.ini create mode 100644 netwerk/test/httpserver/test/xpcshell.toml delete mode 100644 netwerk/test/unit/xpcshell.ini create mode 100644 netwerk/test/unit/xpcshell.toml delete mode 100644 netwerk/test/unit_ipc/xpcshell.ini create mode 100644 netwerk/test/unit_ipc/xpcshell.toml delete mode 100644 parser/xml/test/unit/xpcshell.ini create mode 100644 parser/xml/test/unit/xpcshell.toml diff --git a/extensions/permissions/test/moz.build b/extensions/permissions/test/moz.build index e92c0f3c573077..38768cef3075d4 100644 --- a/extensions/permissions/test/moz.build +++ b/extensions/permissions/test/moz.build @@ -9,7 +9,7 @@ TEST_DIRS += [ ] XPCSHELL_TESTS_MANIFESTS += [ - "unit/xpcshell.ini", + "unit/xpcshell.toml", ] BROWSER_CHROME_MANIFESTS += ["browser.toml"] diff --git a/extensions/permissions/test/unit/xpcshell.ini b/extensions/permissions/test/unit/xpcshell.ini deleted file mode 100644 index 294d7c47a3536b..00000000000000 --- a/extensions/permissions/test/unit/xpcshell.ini +++ /dev/null @@ -1,60 +0,0 @@ -[DEFAULT] -head = head.js - -[test_permmanager_default_pref.js] -[test_permmanager_defaults.js] -[test_permmanager_expiration.js] -skip-if = - win10_2004 # Bug 1718292 - win10_2009 # Bug 1718292 - win11_2009 # Bug 1797751 - os == "win" && os_version == "6.1" # Skip on Azure - frequent failure -[test_permmanager_getAllByTypes.js] -[test_permmanager_getAllByTypeSince.js] -[test_permmanager_getAllForPrincipal.js] -[test_permmanager_getAllWithTypePrefix.js] -[test_permmanager_getPermissionObject.js] -[test_permmanager_notifications.js] -[test_permmanager_removeall.js] -[test_permmanager_removebytype.js] -[test_permmanager_removebytypesince.js] -[test_permmanager_removesince.js] -[test_permmanager_load_invalid_entries.js] -skip-if = debug == true -[test_permmanager_idn.js] -[test_permmanager_subdomains.js] -[test_permmanager_local_files.js] -[test_permmanager_cleardata.js] -[test_permmanager_removepermission.js] -[test_permmanager_matchesuri.js] -[test_permmanager_matches.js] -[test_permmanager_migrate_4-7.js] -skip-if = toolkit == 'android' # Android doesn't use places -[test_permmanager_migrate_5-7a.js] -skip-if = toolkit == 'android' # Android doesn't use places -[test_permmanager_migrate_5-7b.js] -skip-if = toolkit == 'android' # Android doesn't use places -[test_permmanager_migrate_6-7a.js] -skip-if = toolkit == 'android' # Android doesn't use places -[test_permmanager_migrate_6-7b.js] -skip-if = toolkit == 'android' # Android doesn't use places -[test_permmanager_migrate_4-7_no_history.js] -skip-if = - apple_silicon || toolkit == 'android' # Disabled due to bleedover with other tests when run in regular suites; passes in "failures" jobs -[test_permmanager_migrate_7-8.js] -skip-if = toolkit == 'android' # Android doesn't use places -[test_permmanager_migrate_9-10.js] -skip-if = toolkit == 'android' # Android doesn't use places -[test_permmanager_migrate_10-11.js] -skip-if = toolkit == 'android' # Android doesn't use places -[test_permmanager_migrate_11-12.js] -skip-if = toolkit == 'android' # Android doesn't use places -[test_permmanager_oa_strip.js] -[test_permmanager_site_scope.js] -[test_permmanager_remove_add_update.js] -skip-if = win10_2004 && bits == 64 # Bug 1718292 -[test_permmanager_ipc.js] -# This test is meant to run on a multi process mode -# and with file urls loaded in their own child process. -skip-if = !e10s -firefox-appdir = browser diff --git a/extensions/permissions/test/unit/xpcshell.toml b/extensions/permissions/test/unit/xpcshell.toml new file mode 100644 index 00000000000000..84ce3149267555 --- /dev/null +++ b/extensions/permissions/test/unit/xpcshell.toml @@ -0,0 +1,94 @@ +[DEFAULT] +head = "head.js" + +["test_permmanager_cleardata.js"] + +["test_permmanager_default_pref.js"] + +["test_permmanager_defaults.js"] + +["test_permmanager_expiration.js"] +skip-if = [ + "win10_2009", # Bug 1718292 + "win11_2009", # Bug 1797751 +] + +["test_permmanager_getAllByTypeSince.js"] + +["test_permmanager_getAllByTypes.js"] + +["test_permmanager_getAllForPrincipal.js"] + +["test_permmanager_getAllWithTypePrefix.js"] + +["test_permmanager_getPermissionObject.js"] + +["test_permmanager_idn.js"] + +["test_permmanager_ipc.js"] +# This test is meant to run on a multi process mode +# and with file urls loaded in their own child process. +skip-if = ["!e10s"] +firefox-appdir = "browser" + +["test_permmanager_load_invalid_entries.js"] +skip-if = ["debug == true"] + +["test_permmanager_local_files.js"] + +["test_permmanager_matches.js"] + +["test_permmanager_matchesuri.js"] + +["test_permmanager_migrate_10-11.js"] +skip-if = ["os == 'android'"] # Android doesn't use places + +["test_permmanager_migrate_11-12.js"] +skip-if = ["os == 'android'"] # Android doesn't use places + +["test_permmanager_migrate_4-7.js"] +skip-if = ["os == 'android'"] # Android doesn't use places + +["test_permmanager_migrate_4-7_no_history.js"] +skip-if = [ + "apple_silicon", # Disabled due to bleedover with other tests when run in regular suites; passes in "failures" jobs + "os == 'android'" +] + +["test_permmanager_migrate_5-7a.js"] +skip-if = ["os == 'android'"] # Android doesn't use places + +["test_permmanager_migrate_5-7b.js"] +skip-if = ["os == 'android'"] # Android doesn't use places + +["test_permmanager_migrate_6-7a.js"] +skip-if = ["os == 'android'"] # Android doesn't use places + +["test_permmanager_migrate_6-7b.js"] +skip-if = ["os == 'android'"] # Android doesn't use places + +["test_permmanager_migrate_7-8.js"] +skip-if = ["os == 'android'"] # Android doesn't use places + +["test_permmanager_migrate_9-10.js"] +skip-if = ["os == 'android'"] # Android doesn't use places + +["test_permmanager_notifications.js"] + +["test_permmanager_oa_strip.js"] + +["test_permmanager_remove_add_update.js"] + +["test_permmanager_removeall.js"] + +["test_permmanager_removebytype.js"] + +["test_permmanager_removebytypesince.js"] + +["test_permmanager_removepermission.js"] + +["test_permmanager_removesince.js"] + +["test_permmanager_site_scope.js"] + +["test_permmanager_subdomains.js"] diff --git a/extensions/pref/autoconfig/moz.build b/extensions/pref/autoconfig/moz.build index a8292ea733d93b..b48bb1d9fc5b9e 100644 --- a/extensions/pref/autoconfig/moz.build +++ b/extensions/pref/autoconfig/moz.build @@ -6,6 +6,6 @@ DIRS += ["src"] -XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.ini", "test/unit/xpcshell_snap.ini"] +XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.toml", "test/unit/xpcshell_snap.toml"] MARIONETTE_UNIT_MANIFESTS += ["test/marionette/manifest.ini"] diff --git a/extensions/pref/autoconfig/test/unit/xpcshell.ini b/extensions/pref/autoconfig/test/unit/xpcshell.ini deleted file mode 100644 index fd09da01af1b89..00000000000000 --- a/extensions/pref/autoconfig/test/unit/xpcshell.ini +++ /dev/null @@ -1,23 +0,0 @@ -[DEFAULT] -head = -skip-if = - toolkit == 'android' - os == 'win' && msix # Does not work in MSIX builds. -support-files = - autoconfig-all.cfg - autoconfig-latin1.cfg - autoconfig-utf8.cfg - autoconfig-chromecheck.cfg - autoconfig-no-sandbox-check.cfg - autoconfig.js - autoconfig-no-sandbox.js - -[test_autoconfig.js] -[test_autoconfig_nonascii.js] -run-sequentially = very high failure rate in parallel -[test_autoconfig_no_sandbox.js] -run-sequentially = very high failure rate in parallel -[test_autoconfig_default_path.js] -run-if = os == 'linux' -[test_autoconfig_custom_path.js] -run-if = os == 'linux' diff --git a/extensions/pref/autoconfig/test/unit/xpcshell.toml b/extensions/pref/autoconfig/test/unit/xpcshell.toml new file mode 100644 index 00000000000000..118231b4fdd24b --- /dev/null +++ b/extensions/pref/autoconfig/test/unit/xpcshell.toml @@ -0,0 +1,29 @@ +[DEFAULT] +head = "" +skip-if = [ + "os == 'android'", + "os == 'win' && msix", # Does not work in MSIX builds. +] +support-files = [ + "autoconfig-all.cfg", + "autoconfig-latin1.cfg", + "autoconfig-utf8.cfg", + "autoconfig-chromecheck.cfg", + "autoconfig-no-sandbox-check.cfg", + "autoconfig.js", + "autoconfig-no-sandbox.js", +] + +["test_autoconfig.js"] + +["test_autoconfig_custom_path.js"] +run-if = ["os == 'linux'"] + +["test_autoconfig_default_path.js"] +run-if = ["os == 'linux'"] + +["test_autoconfig_no_sandbox.js"] +run-sequentially = "very high failure rate in parallel" + +["test_autoconfig_nonascii.js"] +run-sequentially = "very high failure rate in parallel" diff --git a/extensions/pref/autoconfig/test/unit/xpcshell_snap.ini b/extensions/pref/autoconfig/test/unit/xpcshell_snap.ini deleted file mode 100644 index ff24d466460bc5..00000000000000 --- a/extensions/pref/autoconfig/test/unit/xpcshell_snap.ini +++ /dev/null @@ -1,8 +0,0 @@ -[DEFAULT] -head = -skip-if = os != 'linux' - -[test_autoconfig_snap.js] -support-files = - autoconfig_snap.js - autoconfig-snap.cfg diff --git a/extensions/pref/autoconfig/test/unit/xpcshell_snap.toml b/extensions/pref/autoconfig/test/unit/xpcshell_snap.toml new file mode 100644 index 00000000000000..8ee36a9d13564c --- /dev/null +++ b/extensions/pref/autoconfig/test/unit/xpcshell_snap.toml @@ -0,0 +1,9 @@ +[DEFAULT] +head = "" +run-if = ["os == 'linux'"] + +["test_autoconfig_snap.js"] +support-files = [ + "autoconfig_snap.js", + "autoconfig-snap.cfg", +] diff --git a/extensions/spellcheck/hunspell/moz.build b/extensions/spellcheck/hunspell/moz.build index 8dc89413ad07c5..784b49339c72d4 100644 --- a/extensions/spellcheck/hunspell/moz.build +++ b/extensions/spellcheck/hunspell/moz.build @@ -10,4 +10,4 @@ if not CONFIG["MOZ_WASM_SANDBOXING_HUNSPELL"]: DIRS += ["src"] if CONFIG["ENABLE_TESTS"]: - XPCSHELL_TESTS_MANIFESTS += ["tests/unit/xpcshell.ini"] + XPCSHELL_TESTS_MANIFESTS += ["tests/unit/xpcshell.toml"] diff --git a/extensions/spellcheck/hunspell/tests/unit/xpcshell.ini b/extensions/spellcheck/hunspell/tests/unit/xpcshell.ini deleted file mode 100644 index badbe8debf5db3..00000000000000 --- a/extensions/spellcheck/hunspell/tests/unit/xpcshell.ini +++ /dev/null @@ -1,8 +0,0 @@ -[DEFAULT] -head = -skip-if = toolkit == 'android' -support-files = data/** -firefox-appdir = browser - -[test_hunspell.js] -[test_hunspell_unicode_paths.js] diff --git a/extensions/spellcheck/hunspell/tests/unit/xpcshell.toml b/extensions/spellcheck/hunspell/tests/unit/xpcshell.toml new file mode 100644 index 00000000000000..a4f20b4797ef25 --- /dev/null +++ b/extensions/spellcheck/hunspell/tests/unit/xpcshell.toml @@ -0,0 +1,9 @@ +[DEFAULT] +head = "" +skip-if = ["os == 'android'"] +support-files = ["data/**"] +firefox-appdir = "browser" + +["test_hunspell.js"] + +["test_hunspell_unicode_paths.js"] diff --git a/image/moz.build b/image/moz.build index 87dbefcdd2d1cf..002507132721f8 100644 --- a/image/moz.build +++ b/image/moz.build @@ -23,7 +23,7 @@ MOCHITEST_MANIFESTS += ["test/mochitest/mochitest.toml"] MOCHITEST_CHROME_MANIFESTS += ["test/mochitest/chrome.toml"] -XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.ini"] +XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.toml"] XPIDL_SOURCES += [ "imgICache.idl", diff --git a/image/test/unit/xpcshell.ini b/image/test/unit/xpcshell.ini deleted file mode 100644 index 7ce8a02e1ea53a..00000000000000 --- a/image/test/unit/xpcshell.ini +++ /dev/null @@ -1,42 +0,0 @@ -[DEFAULT] -head = -support-files = - async_load_tests.js - bug413512.ico - bug815359.ico - image1.png - image1.webp - image1quality50.webp - image1png16x16.jpg - image1png64x64.jpg - image2.jpg - image2jpg16x16-win.png - image2jpg16x16.png - image2jpg16x16cropped.jpg - image2jpg16x16cropped2.jpg - image2jpg16x32cropped3.jpg - image2jpg16x32scaled.jpg - image2jpg32x16cropped4.jpg - image2jpg32x16scaled.jpg - image2jpg32x32-win.png - image2jpg32x32.jpg - image2jpg32x32.png - image3.ico - image3ico16x16.png - image3ico32x32.png - image4.gif - image4gif16x16bmp24bpp.ico - image4gif16x16bmp32bpp.ico - image4gif32x32bmp24bpp.ico - image4gif32x32bmp32bpp.ico - image_load_helpers.js - - -[test_async_notification.js] -[test_async_notification_404.js] -[test_async_notification_animated.js] -[test_encoder_apng.js] -[test_encoder_png.js] -[test_imgtools.js] -[test_moz_icon_uri.js] -[test_private_channel.js] diff --git a/image/test/unit/xpcshell.toml b/image/test/unit/xpcshell.toml new file mode 100644 index 00000000000000..5e1af40fdcade2 --- /dev/null +++ b/image/test/unit/xpcshell.toml @@ -0,0 +1,50 @@ +[DEFAULT] +head = "" +support-files = [ + "async_load_tests.js", + "bug413512.ico", + "bug815359.ico", + "image1.png", + "image1.webp", + "image1quality50.webp", + "image1png16x16.jpg", + "image1png64x64.jpg", + "image2.jpg", + "image2jpg16x16-win.png", + "image2jpg16x16.png", + "image2jpg16x16cropped.jpg", + "image2jpg16x16cropped2.jpg", + "image2jpg16x32cropped3.jpg", + "image2jpg16x32scaled.jpg", + "image2jpg32x16cropped4.jpg", + "image2jpg32x16scaled.jpg", + "image2jpg32x32-win.png", + "image2jpg32x32.jpg", + "image2jpg32x32.png", + "image3.ico", + "image3ico16x16.png", + "image3ico32x32.png", + "image4.gif", + "image4gif16x16bmp24bpp.ico", + "image4gif16x16bmp32bpp.ico", + "image4gif32x32bmp24bpp.ico", + "image4gif32x32bmp32bpp.ico", + "image_load_helpers.js", +] + + +["test_async_notification.js"] + +["test_async_notification_404.js"] + +["test_async_notification_animated.js"] + +["test_encoder_apng.js"] + +["test_encoder_png.js"] + +["test_imgtools.js"] + +["test_moz_icon_uri.js"] + +["test_private_channel.js"] diff --git a/intl/benchmarks/xpcshell.ini b/intl/benchmarks/xpcshell.ini deleted file mode 100644 index 6e0935be0e3a7b..00000000000000 --- a/intl/benchmarks/xpcshell.ini +++ /dev/null @@ -1,17 +0,0 @@ -[DEFAULT] -head = head.js - -# Add perftests here as it's useful to run them as xpcshell tests, but we don't need them -# to be run in CI. - -[perftest_dateTimeFormat.js] -skip-if = true - -[perftest_locale.js] -skip-if = true - -[perftest_numberFormat.js] -skip-if = true - -[perftest_pluralRules.js] -skip-if = true diff --git a/intl/benchmarks/xpcshell.toml b/intl/benchmarks/xpcshell.toml new file mode 100644 index 00000000000000..5de350450266ed --- /dev/null +++ b/intl/benchmarks/xpcshell.toml @@ -0,0 +1,17 @@ +[DEFAULT] +head = "head.js" + +# Add perftests here as it's useful to run them as xpcshell tests, but we don't need them +# to be run in CI. + +["perftest_dateTimeFormat.js"] +skip-if = ["true"] + +["perftest_locale.js"] +skip-if = ["true"] + +["perftest_numberFormat.js"] +skip-if = ["true"] + +["perftest_pluralRules.js"] +skip-if = ["true"] diff --git a/intl/l10n/moz.build b/intl/l10n/moz.build index 3e39713c63c5c6..6dfc7a4b83c17e 100644 --- a/intl/l10n/moz.build +++ b/intl/l10n/moz.build @@ -49,7 +49,7 @@ if CONFIG["COMPILE_ENVIRONMENT"]: "!localization_ffi_generated.h", ] -XPCSHELL_TESTS_MANIFESTS += ["test/xpcshell.ini"] +XPCSHELL_TESTS_MANIFESTS += ["test/xpcshell.toml"] MOCHITEST_CHROME_MANIFESTS += ["test/mochitest/chrome.toml"] SPHINX_TREES["/l10n"] = "docs" diff --git a/intl/l10n/test/xpcshell.ini b/intl/l10n/test/xpcshell.ini deleted file mode 100644 index 4b5073ebe00c4d..00000000000000 --- a/intl/l10n/test/xpcshell.ini +++ /dev/null @@ -1,13 +0,0 @@ -[DEFAULT] -head = - -[test_datetimeformat.js] -[test_l10nregistry.js] -[test_l10nregistry_fuzzed.js] -[test_l10nregistry_sync.js] -[test_localization.js] -[test_localization_sync.js] -[test_messagecontext.js] -[test_missing_variables.js] -skip-if = debug # Intentionally triggers a debug assert for missing Fluent arguments. -[test_pseudo.js] diff --git a/intl/l10n/test/xpcshell.toml b/intl/l10n/test/xpcshell.toml new file mode 100644 index 00000000000000..e08a0eae5ff302 --- /dev/null +++ b/intl/l10n/test/xpcshell.toml @@ -0,0 +1,21 @@ +[DEFAULT] +head = "" + +["test_datetimeformat.js"] + +["test_l10nregistry.js"] + +["test_l10nregistry_fuzzed.js"] + +["test_l10nregistry_sync.js"] + +["test_localization.js"] + +["test_localization_sync.js"] + +["test_messagecontext.js"] + +["test_missing_variables.js"] +skip-if = ["debug"] # Intentionally triggers a debug assert for missing Fluent arguments. + +["test_pseudo.js"] diff --git a/intl/locale/moz.build b/intl/locale/moz.build index 5e9082fbf424ab..8099d1a6955af4 100644 --- a/intl/locale/moz.build +++ b/intl/locale/moz.build @@ -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 += ["tests/unit/xpcshell.ini"] +XPCSHELL_TESTS_MANIFESTS += ["tests/unit/xpcshell.toml"] TESTING_JS_MODULES += [ "tests/LangPackMatcherTestUtils.sys.mjs", diff --git a/intl/locale/tests/unit/xpcshell.ini b/intl/locale/tests/unit/xpcshell.ini deleted file mode 100644 index ecefa119aee214..00000000000000 --- a/intl/locale/tests/unit/xpcshell.ini +++ /dev/null @@ -1,17 +0,0 @@ -[DEFAULT] -head = -support-files = - data/intl_on_workers_worker.js - data/chrome.manifest - -[test_bug22310.js] -skip-if = toolkit != "windows" && toolkit != "cocoa" - -[test_intl_on_workers.js] -skip-if = toolkit == "android" # bug 1309447 -[test_langPackMatcher.js] - -[test_osPreferences.js] -skip-if = toolkit == "android" # bug 1344596 -[test_localeService.js] -[test_localeService_negotiateLanguages.js] diff --git a/intl/locale/tests/unit/xpcshell.toml b/intl/locale/tests/unit/xpcshell.toml new file mode 100644 index 00000000000000..bbce8bd46e8bea --- /dev/null +++ b/intl/locale/tests/unit/xpcshell.toml @@ -0,0 +1,21 @@ +[DEFAULT] +head ="" +support-files = [ + "data/intl_on_workers_worker.js", + "data/chrome.manifest", +] + +["test_bug22310.js"] +skip-if = ["os != 'win' && os != 'mac'"] + +["test_intl_on_workers.js"] +skip-if = ["os == 'android'"] # bug 1309447 + +["test_langPackMatcher.js"] + +["test_localeService.js"] + +["test_localeService_negotiateLanguages.js"] + +["test_osPreferences.js"] +skip-if = ["os == 'android'"] # bug 1344596 diff --git a/intl/moz.build b/intl/moz.build index a180d8d418c3f2..e4c255ef519b20 100644 --- a/intl/moz.build +++ b/intl/moz.build @@ -37,7 +37,7 @@ EXPORTS += [ PERFTESTS_MANIFESTS += ["benchmarks/perftest.ini"] -XPCSHELL_TESTS_MANIFESTS += ["benchmarks/xpcshell.ini"] +XPCSHELL_TESTS_MANIFESTS += ["benchmarks/xpcshell.toml"] with Files("**"): BUG_COMPONENT = ("Core", "Internationalization") diff --git a/intl/strres/moz.build b/intl/strres/moz.build index 0146366cdeb875..fc933fd816b925 100644 --- a/intl/strres/moz.build +++ b/intl/strres/moz.build @@ -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 += ["tests/unit/xpcshell.ini"] +XPCSHELL_TESTS_MANIFESTS += ["tests/unit/xpcshell.toml"] XPIDL_SOURCES += [ "nsIStringBundle.idl", diff --git a/intl/strres/tests/unit/xpcshell.ini b/intl/strres/tests/unit/xpcshell.ini deleted file mode 100644 index 49840c144aa727..00000000000000 --- a/intl/strres/tests/unit/xpcshell.ini +++ /dev/null @@ -1,8 +0,0 @@ -[DEFAULT] -head = -support-files = - 397093.properties - strres.properties - -[test_bug378839.js] -[test_bug397093.js] diff --git a/intl/strres/tests/unit/xpcshell.toml b/intl/strres/tests/unit/xpcshell.toml new file mode 100644 index 00000000000000..d6569e928f1f98 --- /dev/null +++ b/intl/strres/tests/unit/xpcshell.toml @@ -0,0 +1,10 @@ +[DEFAULT] +head = "" +support-files = [ + "397093.properties", + "strres.properties" +,] + +["test_bug378839.js"] + +["test_bug397093.js"] diff --git a/intl/uconv/tests/moz.build b/intl/uconv/tests/moz.build index 4c5a0aa9d887cd..b9cad75ed7f62b 100644 --- a/intl/uconv/tests/moz.build +++ b/intl/uconv/tests/moz.build @@ -8,6 +8,6 @@ TEST_DIRS += [ "gtest", ] -XPCSHELL_TESTS_MANIFESTS += ["unit/xpcshell.ini"] +XPCSHELL_TESTS_MANIFESTS += ["unit/xpcshell.toml"] MOCHITEST_MANIFESTS += ["mochitest.toml"] diff --git a/intl/uconv/tests/unit/xpcshell.ini b/intl/uconv/tests/unit/xpcshell.ini deleted file mode 100644 index 708d77f8256085..00000000000000 --- a/intl/uconv/tests/unit/xpcshell.ini +++ /dev/null @@ -1,91 +0,0 @@ -[DEFAULT] -head = head_charsetConversionTests.js -support-files = - data/unicode-conversion.utf16.txt - data/unicode-conversion.utf16be.txt - data/unicode-conversion.utf16le.txt - data/unicode-conversion.utf8.txt - -[test_bug116882.js] -[test_bug317216.js] -[test_bug321379.js] -[test_bug340714.js] -[test_bug381412.Big5-HKSCS.js] -[test_bug381412.Big5.js] -[test_bug381412.euc-kr.js] -[test_bug381412.euc_jp.js] -[test_bug381412.gb2312.js] -[test_bug381412.js] -[test_bug396637.js] -[test_bug399257.js] -[test_bug457886.js] -[test_bug522931.js] -[test_bug563283.js] -[test_bug563618.js] -[test_bug601429.js] -[test_bug715319.euc_jp.js] -[test_bug715319.gb2312.js] -[test_bug715319.dbcs.js] -[test_charset_conversion.js] -[test_decode_8859-1.js] -[test_decode_8859-10.js] -[test_decode_8859-11.js] -[test_decode_8859-13.js] -[test_decode_8859-14.js] -[test_decode_8859-15.js] -[test_decode_8859-2.js] -[test_decode_8859-3.js] -[test_decode_8859-4.js] -[test_decode_8859-5.js] -[test_decode_8859-6.js] -[test_decode_8859-7.js] -[test_decode_8859-8.js] -[test_decode_8859-9.js] -[test_decode_CP1250.js] -[test_decode_CP1251.js] -[test_decode_CP1252.js] -[test_decode_CP1253.js] -[test_decode_CP1254.js] -[test_decode_CP1255.js] -[test_decode_CP1256.js] -[test_decode_CP1257.js] -[test_decode_CP1258.js] -[test_decode_CP874.js] -[test_decode_gb18030.js] -[test_decode_gbk.js] -[test_decode_x_mac_cyrillic.js] -[test_decode_macintosh.js] -[test_decode_x_mac_ukrainian.js] -[test_encode_8859-1.js] -[test_encode_8859-10.js] -[test_encode_8859-11.js] -[test_encode_8859-13.js] -[test_encode_8859-14.js] -[test_encode_8859-15.js] -[test_encode_8859-2.js] -[test_encode_8859-3.js] -[test_encode_8859-4.js] -[test_encode_8859-5.js] -[test_encode_8859-6.js] -[test_encode_8859-7.js] -[test_encode_8859-8.js] -[test_encode_8859-9.js] -[test_encode_CP1250.js] -[test_encode_CP1251.js] -[test_encode_CP1252.js] -[test_encode_CP1253.js] -[test_encode_CP1254.js] -[test_encode_CP1255.js] -[test_encode_CP1256.js] -[test_encode_CP1257.js] -[test_encode_CP1258.js] -[test_encode_CP874.js] -[test_encode_gb18030.js] -[test_encode_gbk.js] -[test_encode_x_mac_cyrillic.js] -[test_encode_macintosh.js] -[test_input_stream.js] -[test_unEscapeNonAsciiURI.js] -[test_unEscapeURIForUI.js] -[test_unmapped.js] -[test_utf8_illegals.js] diff --git a/intl/uconv/tests/unit/xpcshell.toml b/intl/uconv/tests/unit/xpcshell.toml new file mode 100644 index 00000000000000..8ec780f3c92069 --- /dev/null +++ b/intl/uconv/tests/unit/xpcshell.toml @@ -0,0 +1,175 @@ +[DEFAULT] +head = "head_charsetConversionTests.js" +support-files = [ + "data/unicode-conversion.utf16.txt", + "data/unicode-conversion.utf16be.txt", + "data/unicode-conversion.utf16le.txt", + "data/unicode-conversion.utf8.txt", +] + +["test_bug116882.js"] + +["test_bug317216.js"] + +["test_bug321379.js"] + +["test_bug340714.js"] + +["test_bug381412.Big5-HKSCS.js"] + +["test_bug381412.Big5.js"] + +["test_bug381412.euc-kr.js"] + +["test_bug381412.euc_jp.js"] + +["test_bug381412.gb2312.js"] + +["test_bug381412.js"] + +["test_bug396637.js"] + +["test_bug399257.js"] + +["test_bug457886.js"] + +["test_bug522931.js"] + +["test_bug563283.js"] + +["test_bug563618.js"] + +["test_bug601429.js"] + +["test_bug715319.dbcs.js"] + +["test_bug715319.euc_jp.js"] + +["test_bug715319.gb2312.js"] + +["test_charset_conversion.js"] + +["test_decode_8859-1.js"] + +["test_decode_8859-10.js"] + +["test_decode_8859-11.js"] + +["test_decode_8859-13.js"] + +["test_decode_8859-14.js"] + +["test_decode_8859-15.js"] + +["test_decode_8859-2.js"] + +["test_decode_8859-3.js"] + +["test_decode_8859-4.js"] + +["test_decode_8859-5.js"] + +["test_decode_8859-6.js"] + +["test_decode_8859-7.js"] + +["test_decode_8859-8.js"] + +["test_decode_8859-9.js"] + +["test_decode_CP1250.js"] + +["test_decode_CP1251.js"] + +["test_decode_CP1252.js"] + +["test_decode_CP1253.js"] + +["test_decode_CP1254.js"] + +["test_decode_CP1255.js"] + +["test_decode_CP1256.js"] + +["test_decode_CP1257.js"] + +["test_decode_CP1258.js"] + +["test_decode_CP874.js"] + +["test_decode_gb18030.js"] + +["test_decode_gbk.js"] + +["test_decode_macintosh.js"] + +["test_decode_x_mac_cyrillic.js"] + +["test_decode_x_mac_ukrainian.js"] + +["test_encode_8859-1.js"] + +["test_encode_8859-10.js"] + +["test_encode_8859-11.js"] + +["test_encode_8859-13.js"] + +["test_encode_8859-14.js"] + +["test_encode_8859-15.js"] + +["test_encode_8859-2.js"] + +["test_encode_8859-3.js"] + +["test_encode_8859-4.js"] + +["test_encode_8859-5.js"] + +["test_encode_8859-6.js"] + +["test_encode_8859-7.js"] + +["test_encode_8859-8.js"] + +["test_encode_8859-9.js"] + +["test_encode_CP1250.js"] + +["test_encode_CP1251.js"] + +["test_encode_CP1252.js"] + +["test_encode_CP1253.js"] + +["test_encode_CP1254.js"] + +["test_encode_CP1255.js"] + +["test_encode_CP1256.js"] + +["test_encode_CP1257.js"] + +["test_encode_CP1258.js"] + +["test_encode_CP874.js"] + +["test_encode_gb18030.js"] + +["test_encode_gbk.js"] + +["test_encode_macintosh.js"] + +["test_encode_x_mac_cyrillic.js"] + +["test_input_stream.js"] + +["test_unEscapeNonAsciiURI.js"] + +["test_unEscapeURIForUI.js"] + +["test_unmapped.js"] + +["test_utf8_illegals.js"] + diff --git a/ipc/testshell/moz.build b/ipc/testshell/moz.build index 56447a71652959..c30175c0c055d0 100644 --- a/ipc/testshell/moz.build +++ b/ipc/testshell/moz.build @@ -10,7 +10,7 @@ EXPORTS.mozilla.ipc += [ "XPCShellEnvironment.h", ] -XPCSHELL_TESTS_MANIFESTS += ["tests/xpcshell.ini"] +XPCSHELL_TESTS_MANIFESTS += ["tests/xpcshell.toml"] SOURCES += [ "TestShellChild.cpp", diff --git a/ipc/testshell/tests/xpcshell.ini b/ipc/testshell/tests/xpcshell.ini deleted file mode 100644 index 3dfd85b2ea8d74..00000000000000 --- a/ipc/testshell/tests/xpcshell.ini +++ /dev/null @@ -1,8 +0,0 @@ -[DEFAULT] -head = -skip-if = toolkit == 'android' - -[test_ipcshell.js] -# Bug 676963: test fails consistently on Android -fail-if = os == "android" -[test_ipcshell_child.js] diff --git a/ipc/testshell/tests/xpcshell.toml b/ipc/testshell/tests/xpcshell.toml new file mode 100644 index 00000000000000..9e3b377e24ecdf --- /dev/null +++ b/ipc/testshell/tests/xpcshell.toml @@ -0,0 +1,9 @@ +[DEFAULT] +head = "" +skip-if = ["os == 'android'"] + +["test_ipcshell.js"] +# Bug 676963: test fails consistently on Android +fail-if = ["os == 'android'"] + +["test_ipcshell_child.js"] diff --git a/js/xpconnect/tests/moz.build b/js/xpconnect/tests/moz.build index c61dc8da0265b9..d1a0e30f93d285 100644 --- a/js/xpconnect/tests/moz.build +++ b/js/xpconnect/tests/moz.build @@ -17,5 +17,5 @@ if CONFIG["COMPILE_ENVIRONMENT"]: ] XPCSHELL_TESTS_MANIFESTS += [ - "unit/xpcshell.ini", + "unit/xpcshell.toml", ] diff --git a/js/xpconnect/tests/unit/test_file2.js b/js/xpconnect/tests/unit/test_file2.js index 9c72eb4c62b542..4f3149b69148a5 100644 --- a/js/xpconnect/tests/unit/test_file2.js +++ b/js/xpconnect/tests/unit/test_file2.js @@ -11,7 +11,7 @@ add_task(async function() { var file = Cc["@mozilla.org/file/directory_service;1"] .getService(Ci.nsIProperties) .get("CurWorkD", Ci.nsIFile); - file.append("xpcshell.ini"); + file.append("xpcshell.toml"); // should be able to construct a file var f1 = await File.createFromFileName(file.path); @@ -22,8 +22,8 @@ add_task(async function() { Assert.ok(f1 instanceof File, "Should be a DOM File"); Assert.ok(f2 instanceof File, "Should be a DOM File"); - Assert.ok(f1.name == "xpcshell.ini", "Should be the right file"); - Assert.ok(f2.name == "xpcshell.ini", "Should be the right file"); + Assert.ok(f1.name == "xpcshell.toml", "Should be the right file"); + Assert.ok(f2.name == "xpcshell.toml", "Should be the right file"); Assert.ok(f1.type == "", "Should be the right type"); Assert.ok(f2.type == "", "Should be the right type"); diff --git a/js/xpconnect/tests/unit/xpcshell.ini b/js/xpconnect/tests/unit/xpcshell.ini deleted file mode 100644 index 4ea0634a28de2f..00000000000000 --- a/js/xpconnect/tests/unit/xpcshell.ini +++ /dev/null @@ -1,228 +0,0 @@ -[DEFAULT] -head = head.js -support-files = - CatRegistrationComponents.manifest - CatBackgroundTaskRegistrationComponents.manifest - bogus_element_type.jsm - bogus_exports_type.jsm - bug451678_subscript.js - TestBlob.jsm - TestFile.jsm - environment_script.js - environment_loadscript.jsm - environment_checkscript.jsm - file_simple_script.js - importer.jsm - recursive_importA.jsm - recursive_importB.jsm - ReturnCodeChild.jsm - ReturnCodeChild.sys.mjs - syntax_error.jsm - uninitialized_lexical.jsm - es6module.js - es6import.js - es6module_throws.js - es6module_missing_import.js - es6module_parse_error.js - es6module_parse_error_in_import.js - es6module_cycle_a.js - es6module_cycle_b.js - es6module_cycle_c.js - es6module_top_level_await.js - es6module_devtoolsLoader.js - es6module_devtoolsLoader.sys.mjs - es6module_devtoolsLoader_only.js - esmified-1.sys.mjs - esmified-2.sys.mjs - esmified-3.sys.mjs - esmified-4.sys.mjs - esmified-5.sys.mjs - esmified-6.sys.mjs - esmified-not-exported.sys.mjs - not-esmified-not-exported.jsm - esm_lazy-1.sys.mjs - esm_lazy-2.sys.mjs - jsm_loaded-1.jsm - jsm_loaded-2.jsm - jsm_loaded-3.jsm - es6module_loaded-1.sys.mjs - es6module_loaded-2.sys.mjs - es6module_loaded-3.sys.mjs - api_script.js - import_stack.jsm - import_stack.sys.mjs - import_stack_static_1.sys.mjs - import_stack_static_2.sys.mjs - import_stack_static_3.sys.mjs - import_stack_static_4.sys.mjs - es6module_import_error.js - es6module_import_error2.js - es6module_dynamic_import.js - es6module_dynamic_import2.js - es6module_absolute.js - es6module_absolute2.js - envChain.jsm - envChain_subscript.jsm - error_export.sys.mjs - error_import.sys.mjs - error_other.sys.mjs - -[test_allowWaivers.js] -[test_bogus_files.js] -[test_bug267645.js] -[test_bug408412.js] -[test_bug451678.js] -[test_bug604362.js] -[test_bug677864.js] -[test_bug711404.js] -[test_bug742444.js] -[test_bug778409.js] -[test_bug780370.js] -[test_bug809652.js] -[test_bug809674.js] -[test_bug813901.js] -[test_bug845201.js] -[test_bug845862.js] -[test_bug849730.js] -[test_bug851895.js] -[test_bug853709.js] -[test_bug856067.js] -[test_bug868675.js] -[test_bug867486.js] -[test_bug872772.js] -[test_bug885800.js] -[test_bug930091.js] -[test_bug976151.js] -[test_bug1001094.js] -[test_bug1021312.js] -[test_bug1033253.js] -[test_bug1033920.js] -[test_bug1033927.js] -[test_bug1034262.js] -[test_bug1081990.js] -[test_bug1110546.js] -[test_bug1131707.js] -[test_bug1150771.js] -[test_bug1151385.js] -[test_bug1170311.js] -[test_bug1244222.js] -[test_bug1617527.js] -[test_bug_442086.js] -[test_callFunctionWithAsyncStack.js] -[test_cenums.js] -[test_compileScript.js] -[test_deepFreezeClone.js] -[test_defineModuleGetter.js] -[test_eventSource.js] -[test_file.js] -skip-if = os == 'android' && processor == 'x86_64' -[test_blob.js] -[test_blob2.js] -[test_file2.js] -skip-if = os == 'android' && processor == 'x86_64' -[test_getCallerLocation.js] -[test_generateQI.js] -[test_import.js] -[test_import_fail.js] -[test_isModuleLoaded.js] -[test_js_weak_references.js] -[test_onGarbageCollection-01.js] -head = head_ongc.js -[test_onGarbageCollection-02.js] -head = head_ongc.js -[test_onGarbageCollection-03.js] -head = head_ongc.js -[test_onGarbageCollection-04.js] -head = head_ongc.js -[test_onGarbageCollection-05.js] -head = head_ongc.js -[test_reflect_parse.js] -[test_resistFingerprinting_date_now.js] -[test_localeCompare.js] -[test_recursive_import.js] -[test_ReadableStream_from.js] -[test_xpcomutils.js] -[test_unload.js] -[test_attributes.js] -[test_params.js] -[test_tearoffs.js] -[test_want_components.js] -[test_components.js] -[test_allowedDomains.js] -[test_allowedDomainsXHR.js] -[test_nuke_sandbox.js] -[test_nuke_sandbox_event_listeners.js] -[test_nuke_webextension_wrappers.js] -[test_subScriptLoader.js] -[test_rewrap_dead_wrapper.js] -[test_sandbox_metadata.js] -[test_sandbox_DOMException.js] -[test_exportFunction.js] -[test_promise.js] -[test_returncode.js] -[test_textDecoder.js] -[test_url.js] -[test_URLSearchParams.js] -[test_fileReader.js] -[test_messageChannel.js] -[test_crypto.js] -[test_css.js] -[test_rtcIdentityProvider.js] -[test_sandbox_atob.js] -[test_structuredClone.js] -[test_isProxy.js] -[test_js_memory_telemetry.js] -[test_getObjectPrincipal.js] -[test_sandbox_name.js] -[test_storage.js] -[test_watchdog_enable.js] -head = head_watchdog.js -[test_watchdog_disable.js] -head = head_watchdog.js -[test_watchdog_toggle.js] -head = head_watchdog.js -[test_watchdog_default.js] -head = head_watchdog.js -[test_watchdog_hibernate.js] -head = head_watchdog.js -[test_weak_keys.js] -[test_symbols_as_weak_keys.js] -[test_xpcwn_instanceof.js] -[test_xpcwn_tamperproof.js] -[test_xrayed_arguments.js] -[test_xrayed_iterator.js] -[test_xray_instanceof.js] -[test_xray_named_element_access.js] -[test_private_field_xrays.js] -[test_xray_SavedFrame.js] -[test_xray_SavedFrame-02.js] -[test_xray_regexp.js] -[test_resolve_dead_promise.js] -[test_function_names.js] -[test_FrameScriptEnvironment.js] -[test_SubscriptLoaderEnvironment.js] -[test_SubscriptLoaderSandboxEnvironment.js] -[test_SubscriptLoaderJSMEnvironment.js] -[test_ComponentEnvironment.js] -[test_wrapped_js_enumerator.js] -[test_uawidget_scope.js] -[test_uninitialized_lexical.js] -[test_print_stderr.js] -[test_import_devtools_loader.js] -[test_import_es6_modules.js] -[test_import_shim.js] -[test_defineESModuleGetters.js] -[test_loadedESModules.js] -[test_import_from_sandbox.js] -[test_import_stack.js] -skip-if = - !nightly_build - !debug -[test_envChain_frameScript.js] -[test_envChain_JSM.js] -[test_envChain_subscript.js] -[test_envChain_subscript_in_JSM.js] -[test_import_syntax_error.js] -[test_wasm_tailcalls_profiler.js] -skip-if = tsan - !nightly_build diff --git a/js/xpconnect/tests/unit/xpcshell.toml b/js/xpconnect/tests/unit/xpcshell.toml new file mode 100644 index 00000000000000..a449724621f70c --- /dev/null +++ b/js/xpconnect/tests/unit/xpcshell.toml @@ -0,0 +1,373 @@ +[DEFAULT] +head = "head.js" +support-files = [ + "CatRegistrationComponents.manifest", + "CatBackgroundTaskRegistrationComponents.manifest", + "bogus_element_type.jsm", + "bogus_exports_type.jsm", + "bug451678_subscript.js", + "TestBlob.jsm", + "TestFile.jsm", + "environment_script.js", + "environment_loadscript.jsm", + "environment_checkscript.jsm", + "file_simple_script.js", + "importer.jsm", + "recursive_importA.jsm", + "recursive_importB.jsm", + "ReturnCodeChild.jsm", + "ReturnCodeChild.sys.mjs", + "syntax_error.jsm", + "uninitialized_lexical.jsm", + "es6module.js", + "es6import.js", + "es6module_throws.js", + "es6module_missing_import.js", + "es6module_parse_error.js", + "es6module_parse_error_in_import.js", + "es6module_cycle_a.js", + "es6module_cycle_b.js", + "es6module_cycle_c.js", + "es6module_top_level_await.js", + "es6module_devtoolsLoader.js", + "es6module_devtoolsLoader.sys.mjs", + "es6module_devtoolsLoader_only.js", + "esmified-1.sys.mjs", + "esmified-2.sys.mjs", + "esmified-3.sys.mjs", + "esmified-4.sys.mjs", + "esmified-5.sys.mjs", + "esmified-6.sys.mjs", + "esmified-not-exported.sys.mjs", + "not-esmified-not-exported.jsm", + "esm_lazy-1.sys.mjs", + "esm_lazy-2.sys.mjs", + "jsm_loaded-1.jsm", + "jsm_loaded-2.jsm", + "jsm_loaded-3.jsm", + "es6module_loaded-1.sys.mjs", + "es6module_loaded-2.sys.mjs", + "es6module_loaded-3.sys.mjs", + "api_script.js", + "import_stack.jsm", + "import_stack.sys.mjs", + "import_stack_static_1.sys.mjs", + "import_stack_static_2.sys.mjs", + "import_stack_static_3.sys.mjs", + "import_stack_static_4.sys.mjs", + "es6module_import_error.js", + "es6module_import_error2.js", + "es6module_dynamic_import.js", + "es6module_dynamic_import2.js", + "es6module_absolute.js", + "es6module_absolute2.js", + "envChain.jsm", + "envChain_subscript.jsm", + "error_export.sys.mjs", + "error_import.sys.mjs", + "error_other.sys.mjs", +] + +["test_ComponentEnvironment.js"] + +["test_FrameScriptEnvironment.js"] + +["test_ReadableStream_from.js"] + +["test_SubscriptLoaderEnvironment.js"] + +["test_SubscriptLoaderJSMEnvironment.js"] + +["test_SubscriptLoaderSandboxEnvironment.js"] + +["test_URLSearchParams.js"] + +["test_allowWaivers.js"] + +["test_allowedDomains.js"] + +["test_allowedDomainsXHR.js"] + +["test_attributes.js"] + +["test_blob.js"] + +["test_blob2.js"] + +["test_bogus_files.js"] + +["test_bug267645.js"] + +["test_bug408412.js"] + +["test_bug451678.js"] + +["test_bug604362.js"] + +["test_bug677864.js"] + +["test_bug711404.js"] + +["test_bug742444.js"] + +["test_bug778409.js"] + +["test_bug780370.js"] + +["test_bug809652.js"] + +["test_bug809674.js"] + +["test_bug813901.js"] + +["test_bug845201.js"] + +["test_bug845862.js"] + +["test_bug849730.js"] + +["test_bug851895.js"] + +["test_bug853709.js"] + +["test_bug856067.js"] + +["test_bug867486.js"] + +["test_bug868675.js"] + +["test_bug872772.js"] + +["test_bug885800.js"] + +["test_bug930091.js"] + +["test_bug976151.js"] + +["test_bug1001094.js"] + +["test_bug1021312.js"] + +["test_bug1033253.js"] + +["test_bug1033920.js"] + +["test_bug1033927.js"] + +["test_bug1034262.js"] + +["test_bug1081990.js"] + +["test_bug1110546.js"] + +["test_bug1131707.js"] + +["test_bug1150771.js"] + +["test_bug1151385.js"] + +["test_bug1170311.js"] + +["test_bug1244222.js"] + +["test_bug1617527.js"] + +["test_bug_442086.js"] + +["test_callFunctionWithAsyncStack.js"] + +["test_cenums.js"] + +["test_compileScript.js"] + +["test_components.js"] + +["test_crypto.js"] + +["test_css.js"] + +["test_deepFreezeClone.js"] + +["test_defineESModuleGetters.js"] + +["test_defineModuleGetter.js"] + +["test_envChain_JSM.js"] + +["test_envChain_frameScript.js"] + +["test_envChain_subscript.js"] + +["test_envChain_subscript_in_JSM.js"] + +["test_eventSource.js"] + +["test_exportFunction.js"] + +["test_file.js"] +skip-if = ["os == 'android' && processor == 'x86_64'"] + +["test_file2.js"] +skip-if = ["os == 'android' && processor == 'x86_64'"] + +["test_fileReader.js"] + +["test_function_names.js"] + +["test_generateQI.js"] + +["test_getCallerLocation.js"] + +["test_getObjectPrincipal.js"] + +["test_import.js"] + +["test_import_devtools_loader.js"] + +["test_import_es6_modules.js"] + +["test_import_fail.js"] + +["test_import_from_sandbox.js"] + +["test_import_shim.js"] + +["test_import_stack.js"] +skip-if = [ + "!nightly_build", + "!debug", +] + +["test_import_syntax_error.js"] + +["test_isModuleLoaded.js"] + +["test_isProxy.js"] + +["test_js_memory_telemetry.js"] + +["test_js_weak_references.js"] + +["test_loadedESModules.js"] + +["test_localeCompare.js"] + +["test_messageChannel.js"] + +["test_nuke_sandbox.js"] + +["test_nuke_sandbox_event_listeners.js"] + +["test_nuke_webextension_wrappers.js"] + +["test_onGarbageCollection-01.js"] +head = "head_ongc.js" + +["test_onGarbageCollection-02.js"] +head = "head_ongc.js" + +["test_onGarbageCollection-03.js"] +head = "head_ongc.js" + +["test_onGarbageCollection-04.js"] +head = "head_ongc.js" + +["test_onGarbageCollection-05.js"] +head = "head_ongc.js" + +["test_params.js"] + +["test_print_stderr.js"] + +["test_private_field_xrays.js"] + +["test_promise.js"] + +["test_recursive_import.js"] + +["test_reflect_parse.js"] + +["test_resistFingerprinting_date_now.js"] + +["test_resolve_dead_promise.js"] + +["test_returncode.js"] + +["test_rewrap_dead_wrapper.js"] + +["test_rtcIdentityProvider.js"] + +["test_sandbox_DOMException.js"] + +["test_sandbox_atob.js"] + +["test_sandbox_metadata.js"] + +["test_sandbox_name.js"] + +["test_storage.js"] + +["test_structuredClone.js"] + +["test_subScriptLoader.js"] + +["test_symbols_as_weak_keys.js"] + +["test_tearoffs.js"] + +["test_textDecoder.js"] + +["test_uawidget_scope.js"] + +["test_uninitialized_lexical.js"] + +["test_unload.js"] + +["test_url.js"] + +["test_want_components.js"] + +["test_wasm_tailcalls_profiler.js"] +skip-if = [ + "tsan", + "!nightly_build", +] + +["test_watchdog_default.js"] +head = "head_watchdog.js" + +["test_watchdog_disable.js"] +head = "head_watchdog.js" + +["test_watchdog_enable.js"] +head = "head_watchdog.js" + +["test_watchdog_hibernate.js"] +head = "head_watchdog.js" + +["test_watchdog_toggle.js"] +head = "head_watchdog.js" + +["test_weak_keys.js"] + +["test_wrapped_js_enumerator.js"] + +["test_xpcomutils.js"] + +["test_xpcwn_instanceof.js"] + +["test_xpcwn_tamperproof.js"] + +["test_xray_SavedFrame-02.js"] + +["test_xray_SavedFrame.js"] + +["test_xray_instanceof.js"] + +["test_xray_named_element_access.js"] + +["test_xray_regexp.js"] + +["test_xrayed_arguments.js"] + +["test_xrayed_iterator.js"] diff --git a/layout/tools/layout-debug/moz.build b/layout/tools/layout-debug/moz.build index ac434521e0e03b..cc7cf90dd29054 100644 --- a/layout/tools/layout-debug/moz.build +++ b/layout/tools/layout-debug/moz.build @@ -6,7 +6,7 @@ DIRS += ["src", "ui"] -XPCSHELL_TESTS_MANIFESTS += ["tests/unit/xpcshell.ini"] +XPCSHELL_TESTS_MANIFESTS += ["tests/unit/xpcshell.toml"] BROWSER_CHROME_MANIFESTS += ["tests/browser/browser.toml"] diff --git a/layout/tools/layout-debug/tests/unit/xpcshell.ini b/layout/tools/layout-debug/tests/unit/xpcshell.ini deleted file mode 100644 index 46035d5f137d97..00000000000000 --- a/layout/tools/layout-debug/tests/unit/xpcshell.ini +++ /dev/null @@ -1,4 +0,0 @@ -[DEFAULT] -head = - -[test_componentsRegistered.js] diff --git a/layout/tools/layout-debug/tests/unit/xpcshell.toml b/layout/tools/layout-debug/tests/unit/xpcshell.toml new file mode 100644 index 00000000000000..f6e90212915b99 --- /dev/null +++ b/layout/tools/layout-debug/tests/unit/xpcshell.toml @@ -0,0 +1,4 @@ +[DEFAULT] +head = "" + +["test_componentsRegistered.js"] diff --git a/memory/replace/dmd/test/moz.build b/memory/replace/dmd/test/moz.build index d6ec431c703586..77e4fa12a08f43 100644 --- a/memory/replace/dmd/test/moz.build +++ b/memory/replace/dmd/test/moz.build @@ -22,5 +22,5 @@ DEFINES["MOZ_NO_MOZALLOC"] = True DisableStlWrapping() XPCSHELL_TESTS_MANIFESTS += [ - "xpcshell.ini", + "xpcshell.toml", ] diff --git a/memory/replace/dmd/test/xpcshell.ini b/memory/replace/dmd/test/xpcshell.ini deleted file mode 100644 index 2baeeed270f386..00000000000000 --- a/memory/replace/dmd/test/xpcshell.ini +++ /dev/null @@ -1,35 +0,0 @@ -[DEFAULT] -support-files = - basic-scan-32-expected.txt - basic-scan-64-expected.txt - complete-empty-live-expected.txt - complete-empty-dark-matter-expected.txt - complete-empty-cumulative-expected.txt - complete-full1-live-expected.txt - complete-full1-dark-matter-expected.txt - complete-full2-dark-matter-expected.txt - complete-full2-cumulative-expected.txt - complete-partial-live-expected.txt - scan-test.py - script-max-frames.json - script-max-frames-8-expected.txt - script-max-frames-3-expected.txt - script-max-frames-1-expected.txt - script-sort-by.json.gz - script-sort-by-usable-expected.txt - script-sort-by-req-expected.txt - script-sort-by-slop-expected.txt - script-sort-by-num-blocks-expected.txt - script-ignore-alloc-fns.json - script-ignore-alloc-fns-expected.txt - script-diff-live1.json - script-diff-live2.json - script-diff-live-expected.txt - script-diff-dark-matter1.json - script-diff-dark-matter2.json - script-diff-dark-matter-expected.txt - -[test_dmd.js] -dmd = true -skip-if = - !(os=='linux' || os=='mac' || (os=='win' && !pgo)) diff --git a/memory/replace/dmd/test/xpcshell.toml b/memory/replace/dmd/test/xpcshell.toml new file mode 100644 index 00000000000000..ef05a8ec2607d5 --- /dev/null +++ b/memory/replace/dmd/test/xpcshell.toml @@ -0,0 +1,35 @@ +[DEFAULT] +support-files = [ + "basic-scan-32-expected.txt", + "basic-scan-64-expected.txt", + "complete-empty-live-expected.txt", + "complete-empty-dark-matter-expected.txt", + "complete-empty-cumulative-expected.txt", + "complete-full1-live-expected.txt", + "complete-full1-dark-matter-expected.txt", + "complete-full2-dark-matter-expected.txt", + "complete-full2-cumulative-expected.txt", + "complete-partial-live-expected.txt", + "scan-test.py", + "script-max-frames.json", + "script-max-frames-8-expected.txt", + "script-max-frames-3-expected.txt", + "script-max-frames-1-expected.txt", + "script-sort-by.json.gz", + "script-sort-by-usable-expected.txt", + "script-sort-by-req-expected.txt", + "script-sort-by-slop-expected.txt", + "script-sort-by-num-blocks-expected.txt", + "script-ignore-alloc-fns.json", + "script-ignore-alloc-fns-expected.txt", + "script-diff-live1.json", + "script-diff-live2.json", + "script-diff-live-expected.txt", + "script-diff-dark-matter1.json", + "script-diff-dark-matter2.json", + "script-diff-dark-matter-expected.txt", +] + +["test_dmd.js"] +dmd = true +skip-if = ["!(os=='linux' || os=='mac' || (os=='win' && !pgo))"] diff --git a/mobile/android/components/extensions/moz.build b/mobile/android/components/extensions/moz.build index 865dacd2c94aa9..131ae528598c63 100644 --- a/mobile/android/components/extensions/moz.build +++ b/mobile/android/components/extensions/moz.build @@ -18,4 +18,4 @@ DIRS += ["schemas"] MOCHITEST_MANIFESTS += ["test/mochitest/mochitest.toml"] MOCHITEST_CHROME_MANIFESTS += ["test/mochitest/chrome.toml"] -XPCSHELL_TESTS_MANIFESTS += ["test/xpcshell/xpcshell.ini"] +XPCSHELL_TESTS_MANIFESTS += ["test/xpcshell/xpcshell.toml"] diff --git a/mobile/android/components/extensions/test/xpcshell/xpcshell.ini b/mobile/android/components/extensions/test/xpcshell/xpcshell.ini deleted file mode 100644 index 3ff896935c6805..00000000000000 --- a/mobile/android/components/extensions/test/xpcshell/xpcshell.ini +++ /dev/null @@ -1,8 +0,0 @@ -[DEFAULT] -head = head.js -firefox-appdir = browser -tags = webextensions in-process-webextensions -skip-if = os != "android" - -[test_ext_native_messaging_geckoview.js] -[test_ext_native_messaging_permissions.js] diff --git a/mobile/android/components/extensions/test/xpcshell/xpcshell.toml b/mobile/android/components/extensions/test/xpcshell/xpcshell.toml new file mode 100644 index 00000000000000..c9486971a0ef59 --- /dev/null +++ b/mobile/android/components/extensions/test/xpcshell/xpcshell.toml @@ -0,0 +1,9 @@ +[DEFAULT] +head = "head.js" +firefox-appdir = "browser" +tags = "webextensions in-process-webextensions" +run-if = ["os == 'android'"] + +["test_ext_native_messaging_geckoview.js"] + +["test_ext_native_messaging_permissions.js"] diff --git a/mobile/android/modules/geckoview/moz.build b/mobile/android/modules/geckoview/moz.build index 33046d314c97c9..7b5007110762d9 100644 --- a/mobile/android/modules/geckoview/moz.build +++ b/mobile/android/modules/geckoview/moz.build @@ -41,4 +41,4 @@ EXTRA_JS_MODULES += [ "Messaging.sys.mjs", ] -XPCSHELL_TESTS_MANIFESTS += ["test/xpcshell/xpcshell.ini"] +XPCSHELL_TESTS_MANIFESTS += ["test/xpcshell/xpcshell.toml"] diff --git a/mobile/android/modules/geckoview/test/xpcshell/xpcshell.ini b/mobile/android/modules/geckoview/test/xpcshell/xpcshell.ini deleted file mode 100644 index 2e974830b4e766..00000000000000 --- a/mobile/android/modules/geckoview/test/xpcshell/xpcshell.ini +++ /dev/null @@ -1,5 +0,0 @@ -[DEFAULT] -firefox-appdir = browser -skip-if = os != "android" - -[test_ChildCrashHandler.js] diff --git a/mobile/android/modules/geckoview/test/xpcshell/xpcshell.toml b/mobile/android/modules/geckoview/test/xpcshell/xpcshell.toml new file mode 100644 index 00000000000000..174a258d241706 --- /dev/null +++ b/mobile/android/modules/geckoview/test/xpcshell/xpcshell.toml @@ -0,0 +1,5 @@ +[DEFAULT] +firefox-appdir = "browser" +run-if = ["os == 'android'"] + +["test_ChildCrashHandler.js"] diff --git a/modules/libjar/moz.build b/modules/libjar/moz.build index e249e85fca6243..c99c8931693357 100644 --- a/modules/libjar/moz.build +++ b/modules/libjar/moz.build @@ -12,7 +12,7 @@ if CONFIG["MOZ_ZIPWRITER"]: MOCHITEST_MANIFESTS += ["test/mochitest/mochitest.toml"] -XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.ini"] +XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.toml"] XPIDL_SOURCES += [ "nsIJARChannel.idl", diff --git a/modules/libjar/test/unit/xpcshell.ini b/modules/libjar/test/unit/xpcshell.ini deleted file mode 100644 index f8d5bf7b40e999..00000000000000 --- a/modules/libjar/test/unit/xpcshell.ini +++ /dev/null @@ -1,56 +0,0 @@ -[DEFAULT] -head = -skip-if = toolkit == 'android' -support-files = - data/empty - data/test_bug333423.zip - data/test_bug336691.zip - data/test_bug370103.jar - data/test_bug379841.zip - data/test_bug589292.zip - data/test_bug597702.zip - data/test_bug637286.zip - data/test_bug658093.zip - data/test_1801102.jar - data/test_corrupt.zip - data/test_corrupt2.zip - data/test_corrupt3.zip - data/test_crx_dummy.crx - data/test_crx_v3_dummy.crx - data/test_umlaute.zip - data/uncompressed.zip - data/test_empty_file.zip - -[test_jarchannel.js] -skip-if = os == "mac" -[test_bug278262.js] -[test_bug333423.js] -[test_bug336691.js] -[test_bug370103.js] -[test_bug379841.js] -[test_bug453254.js] -[test_bug458158.js] -[test_bug589292.js] -[test_bug597702.js] -[test_bug637286.js] -[test_bug658093.js] -[test_corrupt_536911.js] -[test_corrupt_541828.js] -[test_corrupt_1211262.js] -[test_corrupt_1801102.js] -[test_crx.js] -[test_dirjar_bug525755.js] -[test_jarinput_stream_zipreader_reference.js] -[test_not_found.js] -[test_uncompressed.js] -[test_umlaute.js] -[test_bug1328865.js] -[test_bug1550815.js] -# recovering from SIGBUS is temporarily disabled by bug 1583735 -skip-if = true -[test_empty_jar_telemetry.js] -[test_fault_handler.js] -head = ../../zipwriter/test/unit/head_zipwriter.js -skip-if = - os != "win" # tests windows specific exception handling - true # Requires elevated priviledges. See bug 1707853 and comments in test diff --git a/modules/libjar/test/unit/xpcshell.toml b/modules/libjar/test/unit/xpcshell.toml new file mode 100644 index 00000000000000..0670d0d95361b3 --- /dev/null +++ b/modules/libjar/test/unit/xpcshell.toml @@ -0,0 +1,81 @@ +[DEFAULT] +head = "" +skip-if = ["os == 'android'"] +support-files = [ + "data/empty", + "data/test_bug333423.zip", + "data/test_bug336691.zip", + "data/test_bug370103.jar", + "data/test_bug379841.zip", + "data/test_bug589292.zip", + "data/test_bug597702.zip", + "data/test_bug637286.zip", + "data/test_bug658093.zip", + "data/test_1801102.jar", + "data/test_corrupt.zip", + "data/test_corrupt2.zip", + "data/test_corrupt3.zip", + "data/test_crx_dummy.crx", + "data/test_crx_v3_dummy.crx", + "data/test_umlaute.zip", + "data/uncompressed.zip", + "data/test_empty_file.zip", +] + +["test_bug278262.js"] + +["test_bug333423.js"] + +["test_bug336691.js"] + +["test_bug370103.js"] + +["test_bug379841.js"] + +["test_bug453254.js"] + +["test_bug458158.js"] + +["test_bug589292.js"] + +["test_bug597702.js"] + +["test_bug637286.js"] + +["test_bug658093.js"] + +["test_bug1328865.js"] + +["test_bug1550815.js"] +# recovering from SIGBUS is temporarily disabled by bug 1583735 +skip-if = ["true"] + +["test_corrupt_1211262.js"] + +["test_corrupt_1801102.js"] + +["test_corrupt_536911.js"] + +["test_corrupt_541828.js"] + +["test_crx.js"] + +["test_dirjar_bug525755.js"] + +["test_empty_jar_telemetry.js"] + +["test_fault_handler.js"] +head = "../../zipwriter/test/unit/head_zipwriter.js" +run-if = ["os == 'win'"] # tests windows specific exception handling +skip-if = ["true"] # Requires elevated priviledges. See bug 1707853 and comments in test + +["test_jarchannel.js"] +skip-if = ["os == 'mac'"] + +["test_jarinput_stream_zipreader_reference.js"] + +["test_not_found.js"] + +["test_umlaute.js"] + +["test_uncompressed.js"] diff --git a/modules/libjar/zipwriter/moz.build b/modules/libjar/zipwriter/moz.build index 4d945225363133..e9a310f0687401 100644 --- a/modules/libjar/zipwriter/moz.build +++ b/modules/libjar/zipwriter/moz.build @@ -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 += ["test/unit/xpcshell.ini"] +XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.toml"] XPIDL_SOURCES += [ "nsIZipWriter.idl", diff --git a/modules/libjar/zipwriter/test/unit/xpcshell.ini b/modules/libjar/zipwriter/test/unit/xpcshell.ini deleted file mode 100644 index 4873a92c175d51..00000000000000 --- a/modules/libjar/zipwriter/test/unit/xpcshell.ini +++ /dev/null @@ -1,36 +0,0 @@ -[DEFAULT] -head = head_zipwriter.js -support-files = - data/test_bug446708/thumbs/st14-1.tiff - data/emptyfile.txt - data/smallfile.txt - data/test.png - data/test.txt - data/test.zip - data/test_bug399727.html - data/test_bug399727.zlib - data/test_bug717061.gz - data/test_bug717061.html - -[test_asyncadd.js] -[test_asyncbadadd.js] -[test_asyncbadremove.js] -[test_asyncremove.js] -[test_bug399727.js] -[test_bug419769_1.js] -[test_bug419769_2.js] -[test_bug425768.js] -[test_bug433248.js] -[test_bug446708.js] -[test_bug467740.js] -[test_createempty.js] -[test_deflatedata.js] -[test_directory.js] -[test_editexisting.js] -[test_storedata.js] -[test_sync.js] -[test_undochange.js] -[test_zipcomment.js] -[test_zippermissions.js] -[test_bug717061.js] -[test_alignment.js] diff --git a/modules/libjar/zipwriter/test/unit/xpcshell.toml b/modules/libjar/zipwriter/test/unit/xpcshell.toml new file mode 100644 index 00000000000000..98ae9cba0fb3df --- /dev/null +++ b/modules/libjar/zipwriter/test/unit/xpcshell.toml @@ -0,0 +1,58 @@ +[DEFAULT] +head = "head_zipwriter.js" +support-files = [ + "data/test_bug446708/thumbs/st14-1.tiff", + "data/emptyfile.txt", + "data/smallfile.txt", + "data/test.png", + "data/test.txt", + "data/test.zip", + "data/test_bug399727.html", + "data/test_bug399727.zlib", + "data/test_bug717061.gz", + "data/test_bug717061.html", +] + +["test_alignment.js"] + +["test_asyncadd.js"] + +["test_asyncbadadd.js"] + +["test_asyncbadremove.js"] + +["test_asyncremove.js"] + +["test_bug399727.js"] + +["test_bug419769_1.js"] + +["test_bug419769_2.js"] + +["test_bug425768.js"] + +["test_bug433248.js"] + +["test_bug446708.js"] + +["test_bug467740.js"] + +["test_bug717061.js"] + +["test_createempty.js"] + +["test_deflatedata.js"] + +["test_directory.js"] + +["test_editexisting.js"] + +["test_storedata.js"] + +["test_sync.js"] + +["test_undochange.js"] + +["test_zipcomment.js"] + +["test_zippermissions.js"] diff --git a/modules/libmar/tests/moz.build b/modules/libmar/tests/moz.build index 7b96d8dfd32b5b..34e767760919fa 100644 --- a/modules/libmar/tests/moz.build +++ b/modules/libmar/tests/moz.build @@ -5,7 +5,7 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. if CONFIG["OS_TARGET"] != "Android" and CONFIG["COMPILE_ENVIRONMENT"]: - XPCSHELL_TESTS_MANIFESTS += ["unit/xpcshell.ini"] + XPCSHELL_TESTS_MANIFESTS += ["unit/xpcshell.toml"] TEST_HARNESS_FILES.xpcshell.modules.libmar.tests.unit += [ "!/dist/bin/signmar%s" % CONFIG["BIN_SUFFIX"], diff --git a/modules/libmar/tests/unit/xpcshell.ini b/modules/libmar/tests/unit/xpcshell.ini deleted file mode 100644 index c677d464384ff5..00000000000000 --- a/modules/libmar/tests/unit/xpcshell.ini +++ /dev/null @@ -1,8 +0,0 @@ -[DEFAULT] -head = head_libmar.js -support-files = data/** -skip-if = os == 'win' && msix # Updates are disabled for MSIX builds - -[test_create.js] -[test_extract.js] -[test_sign_verify.js] diff --git a/modules/libmar/tests/unit/xpcshell.toml b/modules/libmar/tests/unit/xpcshell.toml new file mode 100644 index 00000000000000..5ffea5544f3acc --- /dev/null +++ b/modules/libmar/tests/unit/xpcshell.toml @@ -0,0 +1,10 @@ +[DEFAULT] +head = "head_libmar.js" +support-files = ["data/**"] +skip-if = ["os == 'win' && msix"] # Updates are disabled for MSIX builds + +["test_create.js"] + +["test_extract.js"] + +["test_sign_verify.js"] diff --git a/modules/libpref/moz.build b/modules/libpref/moz.build index 3e835d422cfdfb..536c1367395bb9 100644 --- a/modules/libpref/moz.build +++ b/modules/libpref/moz.build @@ -11,8 +11,8 @@ if CONFIG["ENABLE_TESTS"]: DIRS += ["test/gtest"] XPCSHELL_TESTS_MANIFESTS += [ - "test/unit/xpcshell.ini", - "test/unit_ipc/xpcshell.ini", + "test/unit/xpcshell.toml", + "test/unit_ipc/xpcshell.toml", ] BROWSER_CHROME_MANIFESTS += ["test/browser/browser.toml"] diff --git a/modules/libpref/test/unit/xpcshell.ini b/modules/libpref/test/unit/xpcshell.ini deleted file mode 100644 index 0778b8659f8a0d..00000000000000 --- a/modules/libpref/test/unit/xpcshell.ini +++ /dev/null @@ -1,28 +0,0 @@ -[DEFAULT] -head = head_libPrefs.js -support-files = - data/testPref.js - extdata/testExt.js - -[test_warnings.js] -[test_bug345529.js] -[test_bug506224.js] -[test_bug577950.js] -[test_bug790374.js] -[test_stickyprefs.js] -skip-if = (os == "win" && socketprocess_networking) -support-files = data/testPrefSticky.js data/testPrefStickyUser.js -[test_locked_file_prefs.js] -skip-if = (os == "win" && socketprocess_networking) -support-files = data/testPrefLocked.js data/testPrefLockedUser.js -[test_changeType.js] -[test_defaultValues.js] -[test_dirtyPrefs.js] -[test_libPrefs.js] -[test_bug1354613.js] -[test_parser.js] -support-files = data/testParser.js -[test_parsePrefs.js] -support-files = - data/testPrefUTF8.js -head = diff --git a/modules/libpref/test/unit/xpcshell.toml b/modules/libpref/test/unit/xpcshell.toml new file mode 100644 index 00000000000000..6f9440d6093f24 --- /dev/null +++ b/modules/libpref/test/unit/xpcshell.toml @@ -0,0 +1,45 @@ +[DEFAULT] +head = "head_libPrefs.js" +support-files = [ + "data/testPref.js", + "extdata/testExt.js", +] + +["test_bug345529.js"] + +["test_bug506224.js"] + +["test_bug577950.js"] + +["test_bug790374.js"] + +["test_bug1354613.js"] + +["test_changeType.js"] + +["test_defaultValues.js"] + +["test_dirtyPrefs.js"] + +["test_libPrefs.js"] + +["test_locked_file_prefs.js"] +skip-if = ["os == 'win' && socketprocess_networking"] +support-files = [ + "data/testPrefLocked.js", "data/testPrefLockedUser.js", +] + +["test_parsePrefs.js"] +support-files = ["data/testPrefUTF8.js"] +head = "" + +["test_parser.js"] +support-files = ["data/testParser.js"] + +["test_stickyprefs.js"] +skip-if = ["os == 'win' && socketprocess_networking"] +support-files = [ + "data/testPrefSticky.js", "data/testPrefStickyUser.js", +] + +["test_warnings.js"] diff --git a/modules/libpref/test/unit_ipc/xpcshell.ini b/modules/libpref/test/unit_ipc/xpcshell.ini deleted file mode 100644 index e2a444f774e7f8..00000000000000 --- a/modules/libpref/test/unit_ipc/xpcshell.ini +++ /dev/null @@ -1,14 +0,0 @@ -[DEFAULT] -head = -skip-if = toolkit == 'android' - -[test_existing_prefs.js] -[test_initial_prefs.js] -[test_large_pref.js] -[test_locked_prefs.js] -[test_observed_prefs.js] -[test_update_prefs.js] -[test_sharedMap.js] -[test_sharedMap_static_prefs.js] -skip-if = !debug # Relies on debug assertions to catch failure cases. -[test_user_default_prefs.js] diff --git a/modules/libpref/test/unit_ipc/xpcshell.toml b/modules/libpref/test/unit_ipc/xpcshell.toml new file mode 100644 index 00000000000000..a398efa53718cb --- /dev/null +++ b/modules/libpref/test/unit_ipc/xpcshell.toml @@ -0,0 +1,22 @@ +[DEFAULT] +head = "" +skip-if = ["os == 'android'"] + +["test_existing_prefs.js"] + +["test_initial_prefs.js"] + +["test_large_pref.js"] + +["test_locked_prefs.js"] + +["test_observed_prefs.js"] + +["test_sharedMap.js"] + +["test_sharedMap_static_prefs.js"] +run-if = ["debug"] # Relies on debug assertions to catch failure cases. + +["test_update_prefs.js"] + +["test_user_default_prefs.js"] diff --git a/netwerk/cookie/moz.build b/netwerk/cookie/moz.build index df7dd598387d54..1667943a313cc9 100644 --- a/netwerk/cookie/moz.build +++ b/netwerk/cookie/moz.build @@ -46,7 +46,7 @@ UNIFIED_SOURCES += [ "CookieStorage.cpp", ] XPCSHELL_TESTS_MANIFESTS += [ - "test/unit/xpcshell.ini", + "test/unit/xpcshell.toml", ] BROWSER_CHROME_MANIFESTS += [ diff --git a/netwerk/cookie/test/unit/xpcshell.ini b/netwerk/cookie/test/unit/xpcshell.ini deleted file mode 100644 index 0147643a89bf03..00000000000000 --- a/netwerk/cookie/test/unit/xpcshell.ini +++ /dev/null @@ -1,15 +0,0 @@ -[DEFAULT] -head = - -[test_baseDomain_publicsuffix.js] -[test_bug643051.js] -[test_bug1155169.js] -[test_bug1321912.js] -[test_eviction.js] -[test_getCookieSince.js] -[test_migrateCookieLifetimePref.js] -[test_parser_0001.js] -[test_parser_0019.js] -[test_rawSameSite.js] -[test_schemeMap.js] -[test_timestamp_fixup.js] diff --git a/netwerk/cookie/test/unit/xpcshell.toml b/netwerk/cookie/test/unit/xpcshell.toml new file mode 100644 index 00000000000000..694d3cb84779d9 --- /dev/null +++ b/netwerk/cookie/test/unit/xpcshell.toml @@ -0,0 +1,26 @@ +[DEFAULT] +head = "" + +["test_baseDomain_publicsuffix.js"] + +["test_bug643051.js"] + +["test_bug1155169.js"] + +["test_bug1321912.js"] + +["test_eviction.js"] + +["test_getCookieSince.js"] + +["test_migrateCookieLifetimePref.js"] + +["test_parser_0001.js"] + +["test_parser_0019.js"] + +["test_rawSameSite.js"] + +["test_schemeMap.js"] + +["test_timestamp_fixup.js"] diff --git a/netwerk/dns/moz.build b/netwerk/dns/moz.build index 17612ff1b39689..784a1631fba910 100644 --- a/netwerk/dns/moz.build +++ b/netwerk/dns/moz.build @@ -28,7 +28,7 @@ EXTRA_JS_MODULES["netwerk-dns"] += [ "PublicSuffixList.sys.mjs", ] -XPCSHELL_TESTS_MANIFESTS += ["tests/unit/xpcshell.ini"] +XPCSHELL_TESTS_MANIFESTS += ["tests/unit/xpcshell.toml"] EXPORTS += [ "nsEffectiveTLDService.h", diff --git a/netwerk/dns/tests/unit/xpcshell.ini b/netwerk/dns/tests/unit/xpcshell.ini deleted file mode 100644 index 8c6f3411336bce..00000000000000 --- a/netwerk/dns/tests/unit/xpcshell.ini +++ /dev/null @@ -1,13 +0,0 @@ -[DEFAULT] -head = ../../../../services/common/tests/unit/head_global.js ../../../../services/common/tests/unit/head_helpers.js -firefox-appdir = browser -support-files = - data/** - !/services/common/tests/unit/head_global.js - !/services/common/tests/unit/head_helpers.js - -[test_PublicSuffixList.js] -tags = remote-settings -[test_nsEffectiveTLDService_getKnownPublicSuffix.js] -[test_nsEffectiveTLDService_getSite.js] -[test_nsEffectiveTLDService_Reload_DAFSA.js] diff --git a/netwerk/dns/tests/unit/xpcshell.toml b/netwerk/dns/tests/unit/xpcshell.toml new file mode 100644 index 00000000000000..1047b7d4961060 --- /dev/null +++ b/netwerk/dns/tests/unit/xpcshell.toml @@ -0,0 +1,17 @@ +[DEFAULT] +head = "../../../../services/common/tests/unit/head_global.js ../../../../services/common/tests/unit/head_helpers.js" +firefox-appdir = "browser" +support-files = [ + "data/**", + "!/services/common/tests/unit/head_global.js", + "!/services/common/tests/unit/head_helpers.js", +] + +["test_PublicSuffixList.js"] +tags = "remote-settings" + +["test_nsEffectiveTLDService_Reload_DAFSA.js"] + +["test_nsEffectiveTLDService_getKnownPublicSuffix.js"] + +["test_nsEffectiveTLDService_getSite.js"] diff --git a/netwerk/test/httpserver/moz.build b/netwerk/test/httpserver/moz.build index bb2c64d54fc073..f4c978b16058e2 100644 --- a/netwerk/test/httpserver/moz.build +++ b/netwerk/test/httpserver/moz.build @@ -10,7 +10,7 @@ XPIDL_SOURCES += [ XPIDL_MODULE = "test_necko" -XPCSHELL_TESTS_MANIFESTS += ["test/xpcshell.ini"] +XPCSHELL_TESTS_MANIFESTS += ["test/xpcshell.toml"] EXTRA_COMPONENTS += [ "httpd.sys.mjs", diff --git a/netwerk/test/httpserver/test/xpcshell.ini b/netwerk/test/httpserver/test/xpcshell.ini deleted file mode 100644 index 056c09efb68934..00000000000000 --- a/netwerk/test/httpserver/test/xpcshell.ini +++ /dev/null @@ -1,38 +0,0 @@ -[DEFAULT] -head = head_utils.js -support-files = data/** - -[test_async_response_sending.js] -[test_basic_functionality.js] -[test_body_length.js] -[test_byte_range.js] -[test_cern_meta.js] -[test_default_index_handler.js] -[test_empty_body.js] -[test_errorhandler_exception.js] -[test_header_array.js] -[test_headers.js] -[test_host.js] -skip-if = os == 'mac' -run-sequentially = Reusing same server on different specific ports. -[test_host_identity.js] -[test_linedata.js] -[test_load_module.js] -[test_name_scheme.js] -[test_processasync.js] -[test_qi.js] -[test_registerdirectory.js] -[test_registerfile.js] -[test_registerprefix.js] -[test_request_line_split_in_two_packets.js] -[test_response_write.js] -[test_seizepower.js] -skip-if = (os == 'mac' && socketprocess_networking) -[test_setindexhandler.js] -[test_setstatusline.js] -[test_sjs.js] -[test_sjs_object_state.js] -[test_sjs_state.js] -[test_sjs_throwing_exceptions.js] -[test_start_stop.js] -[test_start_stop_ipv6.js] diff --git a/netwerk/test/httpserver/test/xpcshell.toml b/netwerk/test/httpserver/test/xpcshell.toml new file mode 100644 index 00000000000000..0a687e0363994a --- /dev/null +++ b/netwerk/test/httpserver/test/xpcshell.toml @@ -0,0 +1,68 @@ +[DEFAULT] +head = "head_utils.js" +support-files = ["data/**"] + +["test_async_response_sending.js"] + +["test_basic_functionality.js"] + +["test_body_length.js"] + +["test_byte_range.js"] + +["test_cern_meta.js"] + +["test_default_index_handler.js"] + +["test_empty_body.js"] + +["test_errorhandler_exception.js"] + +["test_header_array.js"] + +["test_headers.js"] + +["test_host.js"] +skip-if = ["os == 'mac'"] +run-sequentially = "Reusing same server on different specific ports." + +["test_host_identity.js"] + +["test_linedata.js"] + +["test_load_module.js"] + +["test_name_scheme.js"] + +["test_processasync.js"] + +["test_qi.js"] + +["test_registerdirectory.js"] + +["test_registerfile.js"] + +["test_registerprefix.js"] + +["test_request_line_split_in_two_packets.js"] + +["test_response_write.js"] + +["test_seizepower.js"] +skip-if = ["os == 'mac' && socketprocess_networking"] + +["test_setindexhandler.js"] + +["test_setstatusline.js"] + +["test_sjs.js"] + +["test_sjs_object_state.js"] + +["test_sjs_state.js"] + +["test_sjs_throwing_exceptions.js"] + +["test_start_stop.js"] + +["test_start_stop_ipv6.js"] diff --git a/netwerk/test/moz.build b/netwerk/test/moz.build index e23c569acf7f60..192c18bc5221e4 100644 --- a/netwerk/test/moz.build +++ b/netwerk/test/moz.build @@ -15,8 +15,8 @@ MOCHITEST_MANIFESTS += ["mochitests/mochitest.toml"] XPCSHELL_TESTS_MANIFESTS += [ "unit/node_execute/xpcshell.ini", - "unit/xpcshell.ini", - "unit_ipc/xpcshell.ini", + "unit/xpcshell.toml", + "unit_ipc/xpcshell.toml", ] TESTING_JS_MODULES += [ diff --git a/netwerk/test/unit/xpcshell.ini b/netwerk/test/unit/xpcshell.ini deleted file mode 100644 index 9c3a513403f54c..00000000000000 --- a/netwerk/test/unit/xpcshell.ini +++ /dev/null @@ -1,785 +0,0 @@ - -[DEFAULT] -head = head_channels.js head_cache.js head_cache2.js head_cookies.js head_servers.js head_trr.js head_http3.js head_telemetry.js head_websocket.js head_webtransport.js -support-files = - http2-ca.pem - proxy-ca.pem - client-cert.p12 - data/cookies_v10.sqlite - data/image.png - data/system_root.lnk - data/test_psl.txt - data/test_readline1.txt - data/test_readline2.txt - data/test_readline3.txt - data/test_readline4.txt - data/test_readline5.txt - data/test_readline6.txt - data/test_readline7.txt - data/test_readline8.txt - data/signed_win.exe - socks_client_subprocess.js - test_link.desktop - test_link.url - test_link.lnk - ../../dns/effective_tld_names.dat - test_alt-data_cross_process.js - trr_common.js - test_http3_prio_helpers.js - http2_test_common.js - -# dom.serviceWorkers.enabled is currently set to false in StaticPrefList.yaml -# and enabled individually by app prefs, so for the xpcshell tests that involve -# interception, we need to explicitly enable the pref. -# Consider enabling it in StaticPrefList.yaml -# https://bugzilla.mozilla.org/show_bug.cgi?id=1816325 -# Several tests rely on redirecting to data: URIs, which was allowed for a long -# time but now forbidden. So we enable it just for these tests. -prefs = - dom.serviceWorkers.enabled=true - network.allow_redirect_to_data=true - -[test_trr_nat64.js] -run-sequentially = node server exceptions dont replay well -[test_nsIBufferedOutputStream_writeFrom_block.js] -[test_cache2-00-service-get.js] -[test_cache2-01-basic.js] -[test_cache2-01a-basic-readonly.js] -[test_cache2-01b-basic-datasize.js] -[test_cache2-01c-basic-hasmeta-only.js] -[test_cache2-01d-basic-not-wanted.js] -[test_cache2-01e-basic-bypass-if-busy.js] -[test_cache2-01f-basic-openTruncate.js] -[test_cache2-02-open-non-existing.js] -[test_cache2-02b-open-non-existing-and-doom.js] -[test_cache2-03-oncacheentryavail-throws.js] -[test_cache2-04-oncacheentryavail-throws2x.js] -[test_cache2-05-visit.js] -[test_cache2-06-pb-mode.js] -[test_cache2-07-visit-memory.js] -[test_cache2-07a-open-memory.js] -[test_cache2-08-evict-disk-by-memory-storage.js] -[test_cache2-09-evict-disk-by-uri.js] -[test_cache2-10-evict-direct.js] -[test_cache2-10b-evict-direct-immediate.js] -[test_cache2-11-evict-memory.js] -[test_cache2-12-evict-disk.js] -[test_cache2-13-evict-non-existing.js] -[test_cache2-14-concurent-readers.js] -[test_cache2-14b-concurent-readers-complete.js] -[test_cache2-15-conditional-304.js] -[test_cache2-16-conditional-200.js] -[test_cache2-17-evict-all.js] -[test_cache2-18-not-valid.js] -[test_cache2-19-range-206.js] -[test_cache2-20-range-200.js] -[test_cache2-21-anon-storage.js] -[test_cache2-22-anon-visit.js] -[test_cache2-23-read-over-chunk.js] -[test_cache2-24-exists.js] -[test_cache2-25-chunk-memory-limit.js] -[test_cache2-26-no-outputstream-open.js] -[test_cache2-27-force-valid-for.js] -[test_cache2-28-last-access-attrs.js] -# This test will be fixed in bug 1067931 -skip-if = true -[test_cache2-28a-OPEN_SECRETLY.js] -# This test will be fixed in bug 1067931 -skip-if = true -[test_cache2-29a-concurrent_read_resumable_entry_size_zero.js] -[test_cache2-29b-concurrent_read_non-resumable_entry_size_zero.js] -[test_cache2-29c-concurrent_read_half-interrupted.js] -[test_cache2-29d-concurrent_read_half-corrupted-206.js] -[test_cache2-29e-concurrent_read_half-non-206-response.js] -[test_cache2-30a-entry-pinning.js] -[test_cache2-30b-pinning-storage-clear.js] -[test_cache2-30c-pinning-deferred-doom.js] -[test_cache2-30d-pinning-WasEvicted-API.js] -[test_cache2-31-visit-all.js] -[test_cache2-32-clear-origin.js] -[test_partial_response_entry_size_smart_shrink.js] -[test_304_responses.js] -[test_421.js] -[test_307_redirect.js] -[test_NetUtil.js] -[test_URIs.js] -# Intermittent time-outs on Android, bug 1285020 -requesttimeoutfactor = 2 -[test_URIs2.js] -# Intermittent time-outs on Android, bug 1285020 -requesttimeoutfactor = 2 -[test_aboutblank.js] -[test_auth_jar.js] -[test_auth_proxy.js] -[test_authentication.js] -[test_ntlm_authentication.js] -[test_auth_multiple.js] -[test_authpromptwrapper.js] -[test_auth_dialog_permission.js] -[test_backgroundfilesaver.js] -[test_bug203271.js] -[test_bug248970_cache.js] -[test_bug248970_cookie.js] -[test_bug261425.js] -[test_bug263127.js] -[test_bug282432.js] -[test_bug321706.js] -[test_bug331825.js] -[test_bug336501.js] -[test_bug337744.js] -[test_bug368702.js] -[test_bug369787.js] -[test_bug371473.js] -[test_bug376844.js] -[test_bug376865.js] -[test_bug379034.js] -[test_bug380994.js] -[test_bug388281.js] -[test_bug396389.js] -[test_bug401564.js] -[test_bug411952.js] -[test_bug412945.js] -[test_bug414122.js] -[test_bug427957.js] -[test_bug429347.js] -[test_bug455311.js] -[test_bug468426.js] -[test_bug468594.js] -[test_bug470716.js] -[test_bug477578.js] -[test_bug479413.js] -[test_bug479485.js] -[test_bug482601.js] -[test_bug482934.js] -[test_bug490095.js] -[test_bug504014.js] -[test_bug510359.js] -[test_bug526789.js] -[test_bug528292.js] -[test_bug536324_64bit_content_length.js] -[test_bug540566.js] -[test_bug553970.js] -[test_bug561042.js] -[test_bug561276.js] -[test_bug580508.js] -[test_bug586908.js] -[test_bug596443.js] -[test_bug618835.js] -[test_bug633743.js] -[test_bug650522.js] -[test_bug650995.js] -[test_bug652761.js] -[test_bug654926.js] -[test_bug654926_doom_and_read.js] -[test_bug654926_test_seek.js] -[test_bug659569.js] -[test_bug660066.js] -[test_bug667087.js] -[test_bug667818.js] -[test_bug667907.js] -[test_bug669001.js] -[test_bug770243.js] -[test_bug894586.js] -# Allocating 4GB might actually succeed on 64 bit machines -skip-if = bits != 32 -[test_bug935499.js] -[test_bug1064258.js] -[test_bug1177909.js] -[test_bug1218029.js] -[test_udpsocket.js] -[test_udpsocket_offline.js] -[test_doomentry.js] -[test_dooh.js] -head = head_channels.js head_cache.js head_cookies.js head_servers.js head_trr.js head_http3.js trr_common.js -run-sequentially = node server exceptions dont replay well -skip-if = socketprocess_networking -[test_cacheflags.js] -skip-if = - os == "win" && os_version == "6.1" # Skip on Azure - frequent failure -[test_cache_jar.js] -[test_cache-entry-id.js] -[test_channel_close.js] -skip-if = os == "win" && socketprocess_networking && !debug -[test_channel_long_domain.js] -[test_compareURIs.js] -[test_compressappend.js] -[test_content_encoding_gzip.js] -[test_content_sniffer.js] -[test_cookie_header.js] -[test_cookiejars.js] -[test_cookiejars_safebrowsing.js] -[test_cookies_async_failure.js] -skip-if = - os == 'linux' && bits == 64 && !debug #Bug 1553353 -[test_cookies_privatebrowsing.js] -[test_cookies_profile_close.js] -skip-if = os == "android" # Bug 1700483 -[test_cookies_read.js] -[test_cookies_sync_failure.js] -[test_cookies_thirdparty.js] -skip-if = appname == 'thunderbird' -reason = Thunderbird runs with fission enabled. This test requires fission.autostart=false. Bug 1749403. -[test_cookies_thirdparty_session.js] -skip-if = appname == 'thunderbird' -reason = Thunderbird runs with fission enabled. This test requires fission.autostart=false. Bug 1749403. -[test_cookies_upgrade_10.js] -[test_cookies_purge_counting.js] -[test_cookies_purge_counting_per_host.js] -[test_cookies_partition_counting.js] -[test_dns_cancel.js] -skip-if = verify -[test_data_protocol.js] -[test_dns_service.js] -[test_dns_offline.js] -[test_dns_onion.js] -[test_dns_originAttributes.js] -[test_dns_localredirect.js] -[test_dns_proxy_bypass.js] -[test_dns_disabled.js] -[test_domain_eviction.js] -[test_duplicate_headers.js] -[test_chunked_responses.js] -prefs = - security.allow_eval_with_system_principal=true -[test_content_length_underrun.js] -[test_event_sink.js] -[test_eviction.js] -[test_extract_charset_from_content_type.js] -[test_file_protocol.js] -[test_gio_protocol.js] -skip-if = (toolkit != 'gtk') -[test_filestreams.js] -[test_freshconnection.js] -[test_gre_resources.js] -[test_head.js] -[test_header_Accept-Language.js] -[test_header_Accept-Language_case.js] -[test_headers.js] -[test_hostnameIsLocalIPAddress.js] -[test_hostnameIsSharedIPAddress.js] -[test_http_headers.js] -[test_httpauth.js] -[test_httpcancel.js] -[test_httpResponseTimeout.js] -skip-if = (os == "win" && socketprocess_networking) -[test_httpsuspend.js] -[test_idnservice.js] -[test_idn_blacklist.js] -[test_idn_urls.js] -[test_idna2008.js] -[test_idn_spoof.js] -[test_immutable.js] -run-sequentially = node server exceptions dont replay well -[test_localhost_offline.js] -[test_localstreams.js] -[test_large_port.js] -[test_mismatch_last-modified.js] -[test_MIME_params.js] -[test_mozTXTToHTMLConv.js] -[test_multipart_byteranges.js] -[test_multipart_streamconv.js] -[test_multipart_streamconv_missing_lead_boundary.js] -[test_multipart_streamconv_missing_boundary_lead_dashes.js] -[test_multipart_streamconv-byte-by-byte.js] -[test_nestedabout_serialize.js] -[test_net_addr.js] -# Bug 732363: test fails on windows for unknown reasons. -skip-if = os == "win" -[test_nojsredir.js] -[test_offline_status.js] -[test_origin.js] -[test_anonymous-coalescing.js] -[test_original_sent_received_head.js] -[test_parse_content_type.js] -[test_permmgr.js] -[test_plaintext_sniff.js] -skip-if = true # Causes sporatic oranges -[test_post.js] -[test_private_necko_channel.js] -[test_private_cookie_changed.js] -[test_progress.js] -[test_protocolproxyservice.js] -skip-if = - apple_silicon # bug 1707738 - (tsan && socketprocess_networking) # Bug 1808235 -[test_protocolproxyservice-async-filters.js] -[test_proxy-failover_canceled.js] -[test_proxy-failover_passing.js] -[test_proxy-replace_canceled.js] -[test_proxy-replace_passing.js] -[test_psl.js] -[test_range_requests.js] -[test_readline.js] -[test_redirect_veto.js] -[test_redirect-caching_canceled.js] -[test_redirect-caching_failure.js] -[test_redirect-caching_passing.js] -[test_redirect_canceled.js] -[test_redirect_failure.js] -[test_redirect_from_script.js] -[test_redirect_from_script_after-open_passing.js] -[test_redirect_passing.js] -[test_redirect_loop.js] -[test_redirect_baduri.js] -[test_redirect_different-protocol.js] -[test_redirect_protocol_telemetry.js] -[test_reentrancy.js] -[test_reopen.js] -[test_resumable_channel.js] -[test_resumable_truncate.js] -[test_safeoutputstream.js] -[test_schema_2_migration.js] -[test_schema_3_migration.js] -[test_schema_10_migration.js] -[test_simple.js] -[test_sockettransportsvc_available.js] -[test_socks.js] -skip-if = - (os == 'mac' && debug) #Bug 1140656 - os == 'win' && msix # https://bugzilla.mozilla.org/show_bug.cgi?id=1808049 -# Bug 675039: test fails consistently on Android -fail-if = os == "android" -# http2 unit tests require us to have node available to run the spdy and http2 server -[test_http2.js] -run-sequentially = node server exceptions dont replay well -head = head_channels.js head_cache.js head_cookies.js head_servers.js head_trr.js head_http3.js http2_test_common.js -[test_altsvc.js] -run-sequentially = node server exceptions dont replay well -[test_speculative_connect.js] -[test_standardurl.js] -[test_standardurl_default_port.js] -[test_standardurl_port.js] -[test_streamcopier.js] -[test_traceable_channel.js] -[test_unescapestring.js] -[test_xmlhttprequest.js] -[test_XHR_redirects.js] -[test_bug826063.js] -[test_bug812167.js] -[test_tldservice_nextsubdomain.js] -[test_about_protocol.js] -[test_bug856978.js] -[test_unix_domain.js] -[test_addr_in_use_error.js] -[test_about_networking.js] -[test_ping_aboutnetworking.js] -skip-if = (verify && (os == 'mac')) -[test_referrer.js] -[test_referrer_cross_origin.js] -[test_referrer_policy.js] -[test_predictor.js] -[test_signature_extraction.js] -skip-if = os != "win" -[test_trr_ttl.js] -[test_synthesized_response.js] -[test_udp_multicast.js] -skip-if = - win10_2004 # Bug 1742311 -[test_redirect_history.js] -[test_reply_without_content_type.js] -[test_websocket_offline.js] -[test_be_conservative.js] -firefox-appdir = browser -[test_ech_grease.js] -firefox-appdir = browser -skip-if = - (tsan && socketprocess_networking) # Bug 1808236 -[test_be_conservative_error_handling.js] -firefox-appdir = browser -[test_tls_server.js] -firefox-appdir = browser -[test_tls_server_multiple_clients.js] -[test_1073747.js] -[test_safeoutputstream_append.js] -[test_suspend_channel_before_connect.js] -[test_suspend_channel_on_examine.js] -[test_suspend_channel_on_modified.js] -[test_inhibit_caching.js] -[test_dns_disable_ipv4.js] -[test_dns_disable_ipv6.js] -[test_bug1195415.js] -[test_cookie_blacklist.js] -[test_getHost.js] -[test_bug412457.js] -skip-if = appname == "thunderbird" -[test_bug464591.js] -skip-if = appname == "thunderbird" -[test_alt-data_simple.js] -skip-if = os == "win" # Bug 1760081 -run-sequentially = very high failure rate in parallel -[test_alt-data_stream.js] -[test_alt-data_too_big.js] -[test_alt-data_overwrite.js] -[test_alt-data_closeWithStatus.js] -[test_cache-control_request.js] -[test_bug1279246.js] -[test_throttlequeue.js] -[test_throttlechannel.js] -[test_throttling.js] -[test_separate_connections.js] -[test_trackingProtection_annotateChannels.js] -[test_ntlm_web_auth.js] -skip-if = os == "win" && os_version == "6.1" && bits == 32 # fails on Win7 -[test_ntlm_proxy_auth.js] -[test_ntlm_proxy_and_web_auth.js] -skip-if = os == "win" && os_version == "6.1" && bits == 32 # fails on Win7 -[test_race_cache_with_network.js] -skip-if = - os == "win" && os_version == "6.1" # Skip on Azure - frequent failure -[test_rcwn_always_cache_new_content.js] -[test_rcwn_interrupted.js] -[test_channel_priority.js] -[test_bug1312774_http1.js] -[test_bug1312782_http1.js] -skip-if = os == "android" # Bug 1700483 -[test_bug1355539_http1.js] -skip-if = - os == "win" && os_version == "6.1" # Skip on Azure - frequent failure -[test_bug1378385_http1.js] -[test_tls_flags_separate_connections.js] -[test_tls_flags.js] -skip-if = (os == "android" && processor == "x86_64") -[test_uri_mutator.js] -[test_bug1411316_http1.js] -[test_header_Server_Timing.js] -run-sequentially = node server exceptions dont replay well -[test_trr.js] -head = head_channels.js head_cache.js head_cookies.js head_servers.js head_trr.js head_http3.js trr_common.js -run-sequentially = very high failure rate in parallel -skip-if = - os == "win" && os_version == "6.1" # Skip on Azure - frequent failure -[test_ioservice.js] -[test_substituting_protocol_handler.js] -[test_proxyconnect.js] -skip-if = - tsan - socketprocess_networking # Bug 1614708 -[test_captive_portal_service.js] -run-sequentially = node server exceptions dont replay well -[test_early_hint_listener_http2.js] -run-sequentially = node server exceptions dont replay well -[test_dns_by_type_resolve.js] -[test_network_connectivity_service.js] -[test_suspend_channel_on_authRetry.js] -[test_suspend_channel_on_examine_merged_response.js] -[test_bug1527293.js] -[test_stale-while-revalidate_negative.js] -[test_stale-while-revalidate_positive.js] -[test_stale-while-revalidate_loop.js] -[test_stale-while-revalidate_max-age-0.js] -[test_http1-proxy.js] -[test_http2-proxy.js] -run-sequentially = one http2 node proxy is used for all tests, this test is using global session counter -skip-if = os == "android" -[test_head_request_no_response_body.js] -[test_cache_204_response.js] -[test_http3.js] -skip-if = - os == 'android' # bug 1622901 - os == 'win' && msix # https://bugzilla.mozilla.org/show_bug.cgi?id=1807931 -run-sequentially = http3server -[test_http3_421.js] -skip-if = - os == 'android' - os == 'win' && msix # https://bugzilla.mozilla.org/show_bug.cgi?id=1807931 -run-sequentially = http3server -[test_http3_perf.js] -skip-if = - os == 'android' - os == 'win' && msix # https://bugzilla.mozilla.org/show_bug.cgi?id=1807931 -run-sequentially = http3server -[test_http3_prio_disabled.js] -skip-if = - os == 'android' - os == 'win' && msix # https://bugzilla.mozilla.org/show_bug.cgi?id=1807931 -run-sequentially = http3server -[test_http3_prio_enabled.js] -skip-if = - os == 'android' - os == 'win' && msix # https://bugzilla.mozilla.org/show_bug.cgi?id=1807931 -run-sequentially = http3server -[test_http3_early_hint_listener.js] -skip-if = - os == 'android' - os == 'linux' # Bug 1773916 - os == 'win' && msix # https://bugzilla.mozilla.org/show_bug.cgi?id=1808049 -run-sequentially = http3server -[test_node_execute.js] -[test_loadgroup_cancel.js] -[test_obs-fold.js] -[test_defaultURI.js] -[test_port_remapping.js] -skip-if = (os == "win" && socketprocess_networking) -[test_dns_override.js] -[test_dns_override_for_localhost.js] -[test_no_cookies_after_last_pb_exit.js] -[test_trr_httpssvc.js] -run-sequentially = node server exceptions dont replay well -[test_trr_case_sensitivity.js] -run-sequentially = node server exceptions dont replay well -[test_trr_proxy.js] -[test_trr_decoding.js] -[test_trr_cname_chain.js] -run-sequentially = node server exceptions dont replay well -[test_http_sfv.js] -[test_blob_channelname.js] -[test_altsvc_pref.js] -skip-if = - os == 'android' - os == 'win' && msix # https://bugzilla.mozilla.org/show_bug.cgi?id=1807931 -[test_http3_alt_svc.js] -skip-if = - os == 'android' - os == 'win' && msix # https://bugzilla.mozilla.org/show_bug.cgi?id=1807931 -run-sequentially = http3server -[test_use_httpssvc.js] -run-sequentially = node server exceptions dont replay well -[test_trr_additional_section.js] -run-sequentially = node server exceptions dont replay well -[test_trr_extended_error.js] -run-sequentially = node server exceptions dont replay well -[test_httpssvc_iphint.js] -run-sequentially = node server exceptions dont replay well -[test_multipart_streamconv_empty.js] -[test_httpssvc_priority.js] -run-sequentially = node server exceptions dont replay well -[test_trr_https_fallback.js] -skip-if = - asan - tsan - os == 'win' - os == 'android' -run-sequentially = node server exceptions dont replay well -[test_http3_trans_close.js] -skip-if = - os == 'android' - os == 'win' && msix # https://bugzilla.mozilla.org/show_bug.cgi?id=1807931 -run-sequentially = http3server -[test_brotli_http.js] -[test_brotli_unknown_content_type.js] -[test_altsvc_http3.js] -skip-if = - true # Bug 1675008 - asan - tsan - os == 'android' -run-sequentially = http3server -[test_http3_fatal_stream_error.js] -skip-if = - os == 'android' - os == 'win' && msix # https://bugzilla.mozilla.org/show_bug.cgi?id=1807931 -run-sequentially = node server exceptions dont replay well -[test_http3_large_post.js] -skip-if = - os == 'win' - os == 'android' -[test_http3_error_before_connect.js] -skip-if = - os == 'android' - os == 'win' && msix # https://bugzilla.mozilla.org/show_bug.cgi?id=1807931 -run-sequentially = node server exceptions dont replay well -[test_http3_server_not_existing.js] -skip-if = os == 'android' -run-sequentially = node server exceptions dont replay well -[test_http3_fast_fallback.js] -skip-if = - os == 'win' - os == 'android' -run-sequentially = node server exceptions dont replay well -[test_cookie_ipv6.js] -[test_httpssvc_retry_with_ech.js] -skip-if = - os == 'android' # bug 1622901 - os == 'mac' && !debug - asan - os == 'win' && msix # https://bugzilla.mozilla.org/show_bug.cgi?id=1808048 -run-sequentially = node server exceptions dont replay well -[test_httpssvc_ech_with_alpn.js] -skip-if = - os == 'android' # bug 1622901 - os == 'mac' && !debug - asan - os == 'win' && msix # https://bugzilla.mozilla.org/show_bug.cgi?id=1808048 -run-sequentially = node server exceptions dont replay well -[test_httpssvc_retry_without_ech.js] -skip-if = - os == 'win' && msix # https://bugzilla.mozilla.org/show_bug.cgi?id=1808048 -run-sequentially = node server exceptions dont replay well -[test_httpssvc_https_upgrade.js] -[test_bug1683176.js] -skip-if = - os == "android" - !debug - (os == "win" && socketprocess_networking) -[test_SuperfluousAuth.js] -[test_trr_confirmation.js] -skip-if = - socketprocess_networking # confirmation state isn't passed cross-process - appname == 'thunderbird' # bug 1760097 -run-sequentially = node server exceptions dont replay well -[test_trr_cancel.js] -run-sequentially = node server exceptions dont replay well -[test_http_server_timing.js] -[test_dns_retry.js] -skip-if = - os == 'mac' # server on a local ipv6 is not started on mac - socketprocess_networking # bug 1760106 -run-sequentially = node server exceptions dont replay well -[test_http3_version1.js] -skip-if = - os == 'win' - os == 'android' -run-sequentially = very high failure rate in parallel -[test_trr_domain.js] -[test_progress_no_proxy_and_proxy.js] -skip-if = - os == 'win' - os == 'android' -run-sequentially = very high failure rate in parallel -[test_http3_0rtt.js] -skip-if = - os == 'win' - os == 'android' -[test_http3_large_post_telemetry.js] -disabled = bug 1771744 - telemetry probe expired -# skip-if = -# asan -# tsan -# os == 'win' -# os == 'android' -# socketprocess_networking -[test_http3_coalescing.js] -skip-if = - os == 'android' - socketprocess_networking - os == 'win' && msix # https://bugzilla.mozilla.org/show_bug.cgi?id=1808049 -run-sequentially = node server exceptions dont replay well -[test_websocket_with_h3_active.js] -skip-if = - os == 'android' - verify && (os == 'win') - os == 'win' && msix # https://bugzilla.mozilla.org/show_bug.cgi?id=1808049 -run-sequentially = node server exceptions dont replay well -[test_304_headers.js] -[test_http3_direct_proxy.js] -skip-if = - os == 'android' - os == 'win' && msix # https://bugzilla.mozilla.org/show_bug.cgi?id=1808049 -run-sequentially = node server exceptions dont replay well -[test_bug1725766.js] -skip-if = os == "android" # skip because of bug 1589327 -[test_trr_af_fallback.js] -[test_https_rr_ech_prefs.js] -skip-if = os == "android" -run-sequentially = node server exceptions dont replay well -[test_proxy_pac.js] -[test_trr_enterprise_policy.js] -firefox-appdir = browser # needed for resource:///modules/policies/schema.sys.mjs to be registered -skip-if = - os == "android" - socketprocess_networking -[test_early_hint_listener.js] -skip-if = - os == 'win' && msix # https://bugzilla.mozilla.org/show_bug.cgi?id=1807931 -[test_trr_with_proxy.js] -head = head_channels.js head_cache.js head_cookies.js head_servers.js head_trr.js trr_common.js -skip-if = - os == "android" - socketprocess_networking # Bug 1808233 -run-sequentially = node server exceptions dont replay well -[test_trr_blocklist.js] -run-sequentially = node server exceptions dont replay well -[test_https_rr_sorted_alpn.js] -skip-if = os == "android" -run-sequentially = node server exceptions dont replay well -[test_trr_strict_mode.js] -[test_servers.js] -[test_networking_over_socket_process.js] -skip-if = - os == "android" - !socketprocess_networking -run-sequentially = node server exceptions dont replay well -[test_http_408_retry.js] -[test_brotli_decoding.js] -[test_retry_0rtt.js] -skip-if = - verify && (os == 'android') - os == 'win' && msix # https://bugzilla.mozilla.org/show_bug.cgi?id=1808048 -run-sequentially = tlsserver uses fixed port -[test_http2-proxy-failing.js] -run-sequentially = node server exceptions dont replay well -[test_tls13_disabled.js] -skip-if = - os == 'android' - verify && (os == 'win') - os == 'win' && msix # https://bugzilla.mozilla.org/show_bug.cgi?id=1808049 -run-sequentially = node server exceptions dont replay well -[test_proxy-slow-upload.js] -[test_cert_verification_failure.js] -run-sequentially = node server exceptions dont replay well -[test_cert_info.js] -[test_websocket_server.js] -run-sequentially = node server exceptions dont replay well -[test_h2proxy_connection_limit.js] -run-sequentially = node server exceptions dont replay well -[test_pac_reload_after_network_change.js] -[test_proxy_cancel.js] -run-sequentially = node server exceptions dont replay well -[test_connection_based_auth.js] -[test_webtransport_simple.js] -# This test will be fixed in bug 1796556 -skip-if = - os == 'android' - os == 'win' && msix # https://bugzilla.mozilla.org/show_bug.cgi?id=1807931 - verify && (os == 'win') - socketprocess_networking -[test_websocket_fails.js] -run-sequentially = node server exceptions dont replay well -skip-if = - (os == "android") && verify # Bug 1804101 -[test_websocket_fails_2.js] -run-sequentially = node server exceptions dont replay well -[test_websocket_server_multiclient.js] -run-sequentially = node server exceptions dont replay well -[test_orb_empty_header.js] -[test_http2_with_proxy.js] -run-sequentially = node server exceptions dont replay well -head = head_channels.js head_cache.js head_cookies.js head_servers.js head_trr.js head_http3.js http2_test_common.js -[test_coaleasing_h2_and_h3_connection.js] -skip-if = - os == 'android' - os == 'win' && msix # https://bugzilla.mozilla.org/show_bug.cgi?id=1808049 -run-sequentially = http3server -[test_bhttp.js] -[test_oblivious_http.js] -[test_ohttp.js] -[test_hpke_config_manager.js] -skip-if = !nightly_build # OHTTP Config manager not currently shipped to release. -[test_websocket_500k.js] -skip-if = verify -run-sequentially = node server exceptions dont replay well -[test_trr_noPrefetch.js] -[test_http3_server.js] -skip-if = - verify - os == 'android' - os == 'win' && msix # https://bugzilla.mozilla.org/show_bug.cgi?id=1808049 -run-sequentially = node server exceptions dont replay well -[test_trr_telemetry.js] -head = head_channels.js head_cache.js head_cookies.js head_servers.js head_trr.js head_http3.js trr_common.js -skip-if = - os == 'android' - socketprocess_networking -[test_trr_proxy_auth.js] -skip-if = - os == 'android' - socketprocess_networking -[test_http3_dns_retry.js] -skip-if = - os == 'android' - os == 'win' && msix -run-sequentially = node server exceptions dont replay well -[test_non_ipv4_hostname_ending_in_number_cookie_db.js] -[test_verify_traffic.js] -[test_client_auth_with_proxy.js] -skip-if = os == "android" diff --git a/netwerk/test/unit/xpcshell.toml b/netwerk/test/unit/xpcshell.toml new file mode 100644 index 00000000000000..808bb7a0dce86f --- /dev/null +++ b/netwerk/test/unit/xpcshell.toml @@ -0,0 +1,1266 @@ +[DEFAULT] +head = "head_channels.js head_cache.js head_cache2.js head_cookies.js head_servers.js head_trr.js head_http3.js head_telemetry.js head_websocket.js head_webtransport.js" +support-files = [ + "http2-ca.pem", + "proxy-ca.pem", + "client-cert.p12", + "data/cookies_v10.sqlite", + "data/image.png", + "data/system_root.lnk", + "data/test_psl.txt", + "data/test_readline1.txt", + "data/test_readline2.txt", + "data/test_readline3.txt", + "data/test_readline4.txt", + "data/test_readline5.txt", + "data/test_readline6.txt", + "data/test_readline7.txt", + "data/test_readline8.txt", + "data/signed_win.exe", + "socks_client_subprocess.js", + "test_link.desktop", + "test_link.url", + "test_link.lnk", + "../../dns/effective_tld_names.dat", + "test_alt-data_cross_process.js", + "trr_common.js", + "test_http3_prio_helpers.js", + "http2_test_common.js", +] + +# dom.serviceWorkers.enabled is currently set to false in StaticPrefList.yaml +# and enabled individually by app prefs, so for the xpcshell tests that involve +# interception, we need to explicitly enable the pref. +# Consider enabling it in StaticPrefList.yaml +# https://bugzilla.mozilla.org/show_bug.cgi?id=1816325 +# Several tests rely on redirecting to data: URIs, which was allowed for a long +# time but now forbidden. So we enable it just for these tests. +prefs = [ + "dom.serviceWorkers.enabled=true", + "network.allow_redirect_to_data=true", +] + +["test_1073747.js"] + +["test_304_headers.js"] + +["test_304_responses.js"] + +["test_307_redirect.js"] + +["test_421.js"] + +["test_MIME_params.js"] + +["test_NetUtil.js"] + +["test_SuperfluousAuth.js"] + +["test_URIs.js"] +# Intermittent time-outs on Android, bug 1285020 +requesttimeoutfactor = 2 + +["test_URIs2.js"] +# Intermittent time-outs on Android, bug 1285020 +requesttimeoutfactor = 2 + +["test_XHR_redirects.js"] + +["test_about_networking.js"] + +["test_about_protocol.js"] + +["test_aboutblank.js"] + +["test_addr_in_use_error.js"] + +["test_alt-data_closeWithStatus.js"] + +["test_alt-data_overwrite.js"] + +["test_alt-data_simple.js"] +skip-if = ["os == 'win'"] # Bug 1760081 +run-sequentially = "very high failure rate in parallel" + +["test_alt-data_stream.js"] + +["test_alt-data_too_big.js"] + +["test_altsvc.js"] +run-sequentially = "node server exceptions dont replay well" + +["test_altsvc_http3.js"] +skip-if = [ + "true", # Bug 1675008 + "asan", + "tsan", + "os == 'android'", +] +run-sequentially = "http3server" + +["test_altsvc_pref.js"] +skip-if = [ + "os == 'android'", + "os == 'win' && msix", # https://bugzilla.mozilla.org/show_bug.cgi?id=1807931 +] + +["test_anonymous-coalescing.js"] + +["test_auth_dialog_permission.js"] + +["test_auth_jar.js"] + +["test_auth_multiple.js"] + +["test_auth_proxy.js"] + +["test_authentication.js"] + +["test_authpromptwrapper.js"] + +["test_backgroundfilesaver.js"] + +["test_be_conservative.js"] +firefox-appdir = "browser" + +["test_be_conservative_error_handling.js"] +firefox-appdir = "browser" + +["test_bhttp.js"] + +["test_blob_channelname.js"] + +["test_brotli_decoding.js"] + +["test_brotli_http.js"] + +["test_brotli_unknown_content_type.js"] + +["test_bug203271.js"] + +["test_bug248970_cache.js"] + +["test_bug248970_cookie.js"] + +["test_bug261425.js"] + +["test_bug263127.js"] + +["test_bug282432.js"] + +["test_bug321706.js"] + +["test_bug331825.js"] + +["test_bug336501.js"] + +["test_bug337744.js"] + +["test_bug368702.js"] + +["test_bug369787.js"] + +["test_bug371473.js"] + +["test_bug376844.js"] + +["test_bug376865.js"] + +["test_bug379034.js"] + +["test_bug380994.js"] + +["test_bug388281.js"] + +["test_bug396389.js"] + +["test_bug401564.js"] + +["test_bug411952.js"] + +["test_bug412457.js"] +skip-if = ["appname == 'thunderbird'"] + +["test_bug412945.js"] + +["test_bug414122.js"] + +["test_bug427957.js"] + +["test_bug429347.js"] + +["test_bug455311.js"] + +["test_bug464591.js"] +skip-if = ["appname == 'thunderbird'"] + +["test_bug468426.js"] + +["test_bug468594.js"] + +["test_bug470716.js"] + +["test_bug477578.js"] + +["test_bug479413.js"] + +["test_bug479485.js"] + +["test_bug482601.js"] + +["test_bug482934.js"] + +["test_bug490095.js"] + +["test_bug504014.js"] + +["test_bug510359.js"] + +["test_bug526789.js"] + +["test_bug528292.js"] + +["test_bug536324_64bit_content_length.js"] + +["test_bug540566.js"] + +["test_bug553970.js"] + +["test_bug561042.js"] + +["test_bug561276.js"] + +["test_bug580508.js"] + +["test_bug586908.js"] + +["test_bug596443.js"] + +["test_bug618835.js"] + +["test_bug633743.js"] + +["test_bug650522.js"] + +["test_bug650995.js"] + +["test_bug652761.js"] + +["test_bug654926.js"] + +["test_bug654926_doom_and_read.js"] + +["test_bug654926_test_seek.js"] + +["test_bug659569.js"] + +["test_bug660066.js"] + +["test_bug667087.js"] + +["test_bug667818.js"] + +["test_bug667907.js"] + +["test_bug669001.js"] + +["test_bug770243.js"] + +["test_bug812167.js"] + +["test_bug826063.js"] + +["test_bug856978.js"] + +["test_bug894586.js"] +# Allocating 4GB might actually succeed on 64 bit machines +skip-if = ["bits != 32"] + +["test_bug935499.js"] + +["test_bug1064258.js"] + +["test_bug1177909.js"] + +["test_bug1195415.js"] + +["test_bug1218029.js"] + +["test_bug1279246.js"] + +["test_bug1312774_http1.js"] + +["test_bug1312782_http1.js"] +skip-if = ["os == 'android'"] # Bug 1700483 + +["test_bug1355539_http1.js"] + +["test_bug1378385_http1.js"] + +["test_bug1411316_http1.js"] + +["test_bug1527293.js"] + +["test_bug1683176.js"] +skip-if = [ + "os == 'android'", + "!debug", + "os == 'win' && socketprocess_networking", +] + +["test_bug1725766.js"] +skip-if = ["os == 'android'"] # skip because of bug 1589327 + +["test_cache-control_request.js"] + +["test_cache-entry-id.js"] + +["test_cache2-00-service-get.js"] + +["test_cache2-01-basic.js"] + +["test_cache2-01a-basic-readonly.js"] + +["test_cache2-01b-basic-datasize.js"] + +["test_cache2-01c-basic-hasmeta-only.js"] + +["test_cache2-01d-basic-not-wanted.js"] + +["test_cache2-01e-basic-bypass-if-busy.js"] + +["test_cache2-01f-basic-openTruncate.js"] + +["test_cache2-02-open-non-existing.js"] + +["test_cache2-02b-open-non-existing-and-doom.js"] + +["test_cache2-03-oncacheentryavail-throws.js"] + +["test_cache2-04-oncacheentryavail-throws2x.js"] + +["test_cache2-05-visit.js"] + +["test_cache2-06-pb-mode.js"] + +["test_cache2-07-visit-memory.js"] + +["test_cache2-07a-open-memory.js"] + +["test_cache2-08-evict-disk-by-memory-storage.js"] + +["test_cache2-09-evict-disk-by-uri.js"] + +["test_cache2-10-evict-direct.js"] + +["test_cache2-10b-evict-direct-immediate.js"] + +["test_cache2-11-evict-memory.js"] + +["test_cache2-12-evict-disk.js"] + +["test_cache2-13-evict-non-existing.js"] + +["test_cache2-14-concurent-readers.js"] + +["test_cache2-14b-concurent-readers-complete.js"] + +["test_cache2-15-conditional-304.js"] + +["test_cache2-16-conditional-200.js"] + +["test_cache2-17-evict-all.js"] + +["test_cache2-18-not-valid.js"] + +["test_cache2-19-range-206.js"] + +["test_cache2-20-range-200.js"] + +["test_cache2-21-anon-storage.js"] + +["test_cache2-22-anon-visit.js"] + +["test_cache2-23-read-over-chunk.js"] + +["test_cache2-24-exists.js"] + +["test_cache2-25-chunk-memory-limit.js"] + +["test_cache2-26-no-outputstream-open.js"] + +["test_cache2-27-force-valid-for.js"] + +["test_cache2-28-last-access-attrs.js"] +# This test will be fixed in bug 1067931 +skip-if = ["true"] + +["test_cache2-28a-OPEN_SECRETLY.js"] +# This test will be fixed in bug 1067931 +skip-if = ["true"] + +["test_cache2-29a-concurrent_read_resumable_entry_size_zero.js"] + +["test_cache2-29b-concurrent_read_non-resumable_entry_size_zero.js"] + +["test_cache2-29c-concurrent_read_half-interrupted.js"] + +["test_cache2-29d-concurrent_read_half-corrupted-206.js"] + +["test_cache2-29e-concurrent_read_half-non-206-response.js"] + +["test_cache2-30a-entry-pinning.js"] + +["test_cache2-30b-pinning-storage-clear.js"] + +["test_cache2-30c-pinning-deferred-doom.js"] + +["test_cache2-30d-pinning-WasEvicted-API.js"] + +["test_cache2-31-visit-all.js"] + +["test_cache2-32-clear-origin.js"] + +["test_cache_204_response.js"] + +["test_cache_jar.js"] + +["test_cacheflags.js"] + +["test_captive_portal_service.js"] +run-sequentially = "node server exceptions dont replay well" + +["test_cert_info.js"] + +["test_cert_verification_failure.js"] +run-sequentially = "node server exceptions dont replay well" + +["test_channel_close.js"] +skip-if = ["os == 'win' && socketprocess_networking && !debug"] + +["test_channel_long_domain.js"] + +["test_channel_priority.js"] + +["test_chunked_responses.js"] +prefs = ["security.allow_eval_with_system_principal=true"] + +["test_client_auth_with_proxy.js"] +skip-if = ["os == 'android'"] + +["test_coaleasing_h2_and_h3_connection.js"] +skip-if = [ + "os == 'android'", + "os == 'win' && msix", +] # https://bugzilla.mozilla.org/show_bug.cgi?id=1808049 +run-sequentially = "http3server" + +["test_compareURIs.js"] + +["test_compressappend.js"] + +["test_connection_based_auth.js"] + +["test_content_encoding_gzip.js"] + +["test_content_length_underrun.js"] + +["test_content_sniffer.js"] + +["test_cookie_blacklist.js"] + +["test_cookie_header.js"] + +["test_cookie_ipv6.js"] + +["test_cookiejars.js"] + +["test_cookiejars_safebrowsing.js"] + +["test_cookies_async_failure.js"] +skip-if = ["os == 'linux' && bits == 64 && !debug"] #Bug 1553353 + +["test_cookies_partition_counting.js"] + +["test_cookies_privatebrowsing.js"] + +["test_cookies_profile_close.js"] +skip-if = ["os == 'android'"] # Bug 1700483 + +["test_cookies_purge_counting.js"] + +["test_cookies_purge_counting_per_host.js"] + +["test_cookies_read.js"] + +["test_cookies_sync_failure.js"] + +["test_cookies_thirdparty.js"] +skip-if = ["appname == 'thunderbird'"] +reason = "Thunderbird runs with fission enabled. This test requires fission.autostart=false. Bug 1749403." + +["test_cookies_thirdparty_session.js"] +skip-if = ["appname == 'thunderbird'"] +reason = "Thunderbird runs with fission enabled. This test requires fission.autostart=false. Bug 1749403." + +["test_cookies_upgrade_10.js"] + +["test_data_protocol.js"] + +["test_defaultURI.js"] + +["test_dns_by_type_resolve.js"] + +["test_dns_cancel.js"] +skip-if = ["verify"] + +["test_dns_disable_ipv4.js"] + +["test_dns_disable_ipv6.js"] + +["test_dns_disabled.js"] + +["test_dns_localredirect.js"] + +["test_dns_offline.js"] + +["test_dns_onion.js"] + +["test_dns_originAttributes.js"] + +["test_dns_override.js"] + +["test_dns_override_for_localhost.js"] + +["test_dns_proxy_bypass.js"] + +["test_dns_retry.js"] +skip-if = [ + "os == 'mac'", # server on a local ipv6 is not started on mac + "socketprocess_networking", +] # bug 1760106 +run-sequentially = "node server exceptions dont replay well" + +["test_dns_service.js"] + +["test_domain_eviction.js"] + +["test_dooh.js"] +head = "head_channels.js head_cache.js head_cookies.js head_servers.js head_trr.js head_http3.js trr_common.js" +run-sequentially = "node server exceptions dont replay well" +skip-if = ["socketprocess_networking"] + +["test_doomentry.js"] + +["test_duplicate_headers.js"] + +["test_early_hint_listener.js"] +skip-if = ["os == 'win' && msix"] # https://bugzilla.mozilla.org/show_bug.cgi?id=1807931 + +["test_early_hint_listener_http2.js"] +run-sequentially = "node server exceptions dont replay well" + +["test_ech_grease.js"] +firefox-appdir = "browser" +skip-if = ["tsan && socketprocess_networking"] # Bug 1808236 + +["test_event_sink.js"] + +["test_eviction.js"] + +["test_extract_charset_from_content_type.js"] + +["test_file_protocol.js"] + +["test_filestreams.js"] + +["test_freshconnection.js"] + +["test_getHost.js"] + +["test_gio_protocol.js"] +run-if = ["os == 'linux'"] + +["test_gre_resources.js"] + +["test_h2proxy_connection_limit.js"] +run-sequentially = "node server exceptions dont replay well" + +["test_head.js"] + +["test_head_request_no_response_body.js"] + +["test_header_Accept-Language.js"] + +["test_header_Accept-Language_case.js"] + +["test_header_Server_Timing.js"] +run-sequentially = "node server exceptions dont replay well" + +["test_headers.js"] + +["test_hostnameIsLocalIPAddress.js"] + +["test_hostnameIsSharedIPAddress.js"] + +["test_hpke_config_manager.js"] +skip-if = ["!nightly_build"] # OHTTP Config manager not currently shipped to release. + +["test_http1-proxy.js"] + +["test_http2-proxy-failing.js"] +run-sequentially = "node server exceptions dont replay well" + +["test_http2-proxy.js"] +run-sequentially = "one http2 node proxy is used for all tests, this test is using global session counter" +skip-if = ["os == 'android'"] + +["test_http2.js"] +run-sequentially = "node server exceptions dont replay well" +head = "head_channels.js head_cache.js head_cookies.js head_servers.js head_trr.js head_http3.js http2_test_common.js" + +["test_http2_with_proxy.js"] +run-sequentially = "node server exceptions dont replay well" +head = "head_channels.js head_cache.js head_cookies.js head_servers.js head_trr.js head_http3.js http2_test_common.js" + +["test_http3.js"] +skip-if = [ + "os == 'android'", # bug 1622901 + "os == 'win' && msix", # https://bugzilla.mozilla.org/show_bug.cgi?id=1807931 +] +run-sequentially = "http3server" + +["test_http3_0rtt.js"] +skip-if = [ + "os == 'win'", + "os == 'android'", +] + +["test_http3_421.js"] +skip-if = [ + "os == 'android'", + "os == 'win' && msix", # https://bugzilla.mozilla.org/show_bug.cgi?id=1807931 +] +run-sequentially = "http3server" + +["test_http3_alt_svc.js"] +skip-if = [ + "os == 'android'", + "os == 'win' && msix", # https://bugzilla.mozilla.org/show_bug.cgi?id=1807931 +] +run-sequentially = "http3server" + +["test_http3_coalescing.js"] +skip-if = [ + "os == 'android'", + "socketprocess_networking", + "os == 'win' && msix", # https://bugzilla.mozilla.org/show_bug.cgi?id=1808049 +] +run-sequentially = "node server exceptions dont replay well" + +["test_http3_direct_proxy.js"] +skip-if = [ + "os == 'android'", + "os == 'win' && msix", # https://bugzilla.mozilla.org/show_bug.cgi?id=1808049 +] +run-sequentially = "node server exceptions dont replay well" + +["test_http3_dns_retry.js"] +skip-if = [ + "os == 'android'", + "os == 'win' && msix", +] +run-sequentially = "node server exceptions dont replay well" + +["test_http3_early_hint_listener.js"] +skip-if = [ + "os == 'android'", + "os == 'linux'", # Bug 1773916 + "os == 'win' && msix", # https://bugzilla.mozilla.org/show_bug.cgi?id=1808049 +] +run-sequentially = "http3server" + +["test_http3_error_before_connect.js"] +skip-if = [ + "os == 'android'", + "os == 'win' && msix", # https://bugzilla.mozilla.org/show_bug.cgi?id=1807931 +] +run-sequentially = "node server exceptions dont replay well" + +["test_http3_fast_fallback.js"] +skip-if = [ + "os == 'win'", + "os == 'android'", +] +run-sequentially = "node server exceptions dont replay well" + +["test_http3_fatal_stream_error.js"] +skip-if = [ + "os == 'android'", + "os == 'win' && msix", # https://bugzilla.mozilla.org/show_bug.cgi?id=1807931 +] +run-sequentially = "node server exceptions dont replay well" + +["test_http3_large_post.js"] +skip-if = [ + "os == 'win'", + "os == 'android'", +] + +["test_http3_large_post_telemetry.js"] +disabled = "bug 1771744 - telemetry probe expired" +# skip-if = +# asan +# tsan +# os == 'win' +# os == 'android' +# socketprocess_networking + +["test_http3_perf.js"] +skip-if = [ + "os == 'android'", + "os == 'win' && msix", # https://bugzilla.mozilla.org/show_bug.cgi?id=1807931 +] +run-sequentially = "http3server" + +["test_http3_prio_disabled.js"] +skip-if = [ + "os == 'android'", + "os == 'win' && msix", # https://bugzilla.mozilla.org/show_bug.cgi?id=1807931 +] +run-sequentially = "http3server" + +["test_http3_prio_enabled.js"] +skip-if = [ + "os == 'android'", + "os == 'win' && msix", # https://bugzilla.mozilla.org/show_bug.cgi?id=1807931 +] +run-sequentially = "http3server" + +["test_http3_server.js"] +skip-if = [ + "verify", + "os == 'android'", + "os == 'win' && msix", # https://bugzilla.mozilla.org/show_bug.cgi?id=1808049 +] +run-sequentially = "node server exceptions dont replay well" + +["test_http3_server_not_existing.js"] +skip-if = ["os == 'android'"] +run-sequentially = "node server exceptions dont replay well" + +["test_http3_trans_close.js"] +skip-if = [ + "os == 'android'", + "os == 'win' && msix", # https://bugzilla.mozilla.org/show_bug.cgi?id=1807931 +] +run-sequentially = "http3server" + +["test_http3_version1.js"] +skip-if = [ + "os == 'win'", + "os == 'android'", +] +run-sequentially = "node server exceptions dont replay well" + +["test_httpResponseTimeout.js"] +skip-if = ["os == 'win' && socketprocess_networking"] + +["test_http_408_retry.js"] + +["test_http_headers.js"] + +["test_http_server_timing.js"] + +["test_http_sfv.js"] + +["test_httpauth.js"] + +["test_httpcancel.js"] + +["test_https_rr_ech_prefs.js"] +skip-if = ["os == 'android'"] +run-sequentially = "node server exceptions dont replay well" + +["test_https_rr_sorted_alpn.js"] +skip-if = ["os == 'android'"] +run-sequentially = "node server exceptions dont replay well" + +["test_httpssvc_ech_with_alpn.js"] +skip-if = [ + "os == 'android'", # bug 1622901 + "os == 'mac' && !debug", + "asan", + "os == 'win' && msix", # https://bugzilla.mozilla.org/show_bug.cgi?id=1808048 +] +run-sequentially = "node server exceptions dont replay well" + +["test_httpssvc_https_upgrade.js"] + +["test_httpssvc_iphint.js"] +run-sequentially = "node server exceptions dont replay well" + +["test_httpssvc_priority.js"] +run-sequentially = "node server exceptions dont replay well" + +["test_httpssvc_retry_with_ech.js"] +skip-if = [ + "os == 'android'", # bug 1622901 + "os == 'mac' && !debug", + "asan", + "os == 'win' && msix", # https://bugzilla.mozilla.org/show_bug.cgi?id=1808048 +] +run-sequentially = "node server exceptions dont replay well" + +["test_httpssvc_retry_without_ech.js"] +skip-if = ["os == 'win' && msix"] # https://bugzilla.mozilla.org/show_bug.cgi?id=1808048 +run-sequentially = "node server exceptions dont replay well" + +["test_httpsuspend.js"] + +["test_idn_blacklist.js"] + +["test_idn_spoof.js"] + +["test_idn_urls.js"] + +["test_idna2008.js"] + +["test_idnservice.js"] + +["test_immutable.js"] +run-sequentially = "node server exceptions dont replay well" + +["test_inhibit_caching.js"] + +["test_ioservice.js"] + +["test_large_port.js"] + +["test_loadgroup_cancel.js"] + +["test_localhost_offline.js"] + +["test_localstreams.js"] + +["test_mismatch_last-modified.js"] + +["test_mozTXTToHTMLConv.js"] + +["test_multipart_byteranges.js"] + +["test_multipart_streamconv-byte-by-byte.js"] + +["test_multipart_streamconv.js"] + +["test_multipart_streamconv_empty.js"] + +["test_multipart_streamconv_missing_boundary_lead_dashes.js"] + +["test_multipart_streamconv_missing_lead_boundary.js"] + +["test_nestedabout_serialize.js"] + +["test_net_addr.js"] +# Bug 732363: test fails on windows for unknown reasons. +skip-if = ["os == 'win'"] + +["test_network_connectivity_service.js"] + +["test_networking_over_socket_process.js"] +skip-if = [ + "os == 'android'", + "!socketprocess_networking", +] +run-sequentially = "node server exceptions dont replay well" + +["test_no_cookies_after_last_pb_exit.js"] + +["test_node_execute.js"] + +["test_nojsredir.js"] + +["test_non_ipv4_hostname_ending_in_number_cookie_db.js"] + +["test_nsIBufferedOutputStream_writeFrom_block.js"] + +["test_ntlm_authentication.js"] + +["test_ntlm_proxy_and_web_auth.js"] + +["test_ntlm_proxy_auth.js"] + +["test_ntlm_web_auth.js"] + +["test_oblivious_http.js"] + +["test_obs-fold.js"] + +["test_offline_status.js"] + +["test_ohttp.js"] + +["test_orb_empty_header.js"] + +["test_origin.js"] + +["test_original_sent_received_head.js"] + +["test_pac_reload_after_network_change.js"] + +["test_parse_content_type.js"] + +["test_partial_response_entry_size_smart_shrink.js"] + +["test_permmgr.js"] + +["test_ping_aboutnetworking.js"] +skip-if = ["verify && os == 'mac'"] + +["test_plaintext_sniff.js"] +skip-if = ["true"] # Causes sporatic oranges + +["test_port_remapping.js"] +skip-if = ["os == 'win' && socketprocess_networking"] + +["test_post.js"] + +["test_predictor.js"] + +["test_private_cookie_changed.js"] + +["test_private_necko_channel.js"] + +["test_progress.js"] + +["test_progress_no_proxy_and_proxy.js"] +skip-if = [ + "os == 'win'", + "os == 'android'", +] +run-sequentially = "node server exceptions dont replay well" + +["test_protocolproxyservice-async-filters.js"] + +["test_protocolproxyservice.js"] +skip-if = [ + "apple_silicon", # bug 1707738 + "tsan && socketprocess_networking", # Bug 1808235 +] + +["test_proxy-failover_canceled.js"] + +["test_proxy-failover_passing.js"] + +["test_proxy-replace_canceled.js"] + +["test_proxy-replace_passing.js"] + +["test_proxy-slow-upload.js"] + +["test_proxy_cancel.js"] +run-sequentially = "node server exceptions dont replay well" + +["test_proxy_pac.js"] + +["test_proxyconnect.js"] +skip-if = [ + "tsan", + "socketprocess_networking", # Bug 1614708 +] + +["test_psl.js"] + +["test_race_cache_with_network.js"] + +["test_range_requests.js"] + +["test_rcwn_always_cache_new_content.js"] + +["test_rcwn_interrupted.js"] + +["test_readline.js"] + +["test_redirect-caching_canceled.js"] + +["test_redirect-caching_failure.js"] + +["test_redirect-caching_passing.js"] + +["test_redirect_baduri.js"] + +["test_redirect_canceled.js"] + +["test_redirect_different-protocol.js"] + +["test_redirect_failure.js"] + +["test_redirect_from_script.js"] + +["test_redirect_from_script_after-open_passing.js"] + +["test_redirect_history.js"] + +["test_redirect_loop.js"] + +["test_redirect_passing.js"] + +["test_redirect_protocol_telemetry.js"] + +["test_redirect_veto.js"] + +["test_reentrancy.js"] + +["test_referrer.js"] + +["test_referrer_cross_origin.js"] + +["test_referrer_policy.js"] + +["test_reopen.js"] + +["test_reply_without_content_type.js"] + +["test_resumable_channel.js"] + +["test_resumable_truncate.js"] + +["test_retry_0rtt.js"] +skip-if = [ + "verify && os == 'android'", + "os == 'win' && msix", # https://bugzilla.mozilla.org/show_bug.cgi?id=1808048 +] +run-sequentially = "tlsserver uses fixed port" + +["test_safeoutputstream.js"] + +["test_safeoutputstream_append.js"] + +["test_schema_10_migration.js"] + +["test_schema_2_migration.js"] + +["test_schema_3_migration.js"] + +["test_separate_connections.js"] + +["test_servers.js"] + +["test_signature_extraction.js"] +skip-if = ["os != 'win'"] + +["test_simple.js"] + +["test_sockettransportsvc_available.js"] + +["test_socks.js"] +skip-if = [ + "os == 'mac' && debug", #Bug 1140656 + "os == 'win' && msix", # https://bugzilla.mozilla.org/show_bug.cgi?id=1808049 +] +# Bug 675039: test fails consistently on Android +fail-if = ["os == 'android'"] +# http2 unit tests require us to have node available to run the spdy and http2 server + +["test_speculative_connect.js"] + +["test_stale-while-revalidate_loop.js"] + +["test_stale-while-revalidate_max-age-0.js"] + +["test_stale-while-revalidate_negative.js"] + +["test_stale-while-revalidate_positive.js"] + +["test_standardurl.js"] + +["test_standardurl_default_port.js"] + +["test_standardurl_port.js"] + +["test_streamcopier.js"] + +["test_substituting_protocol_handler.js"] + +["test_suspend_channel_before_connect.js"] + +["test_suspend_channel_on_authRetry.js"] + +["test_suspend_channel_on_examine.js"] + +["test_suspend_channel_on_examine_merged_response.js"] + +["test_suspend_channel_on_modified.js"] + +["test_synthesized_response.js"] + +["test_throttlechannel.js"] + +["test_throttlequeue.js"] + +["test_throttling.js"] + +["test_tldservice_nextsubdomain.js"] + +["test_tls13_disabled.js"] +skip-if = [ + "os == 'android'", + "verify && os == 'win'", + "os == 'win' && msix", # https://bugzilla.mozilla.org/show_bug.cgi?id=1808049 +] +run-sequentially = "node server exceptions dont replay well" + +["test_tls_flags.js"] +skip-if = ["os == 'android' && processor == 'x86_64'"] + +["test_tls_flags_separate_connections.js"] + +["test_tls_server.js"] +firefox-appdir = "browser" + +["test_tls_server_multiple_clients.js"] + +["test_traceable_channel.js"] + +["test_trackingProtection_annotateChannels.js"] + +["test_trr.js"] +head = "head_channels.js head_cache.js head_cookies.js head_servers.js head_trr.js head_http3.js trr_common.js" +run-sequentially = "very high failure rate in parallel" + +["test_trr_additional_section.js"] +run-sequentially = "node server exceptions dont replay well" + +["test_trr_af_fallback.js"] + +["test_trr_blocklist.js"] +run-sequentially = "node server exceptions dont replay well" + +["test_trr_cancel.js"] +run-sequentially = "node server exceptions dont replay well" + +["test_trr_case_sensitivity.js"] +run-sequentially = "node server exceptions dont replay well" + +["test_trr_cname_chain.js"] +run-sequentially = "node server exceptions dont replay well" + +["test_trr_confirmation.js"] +skip-if = [ + "socketprocess_networking", # confirmation state isn't passed cross-process + "appname == 'thunderbird'", # bug 1760097 +] +run-sequentially = "node server exceptions dont replay well" + +["test_trr_decoding.js"] + +["test_trr_domain.js"] + +["test_trr_enterprise_policy.js"] +firefox-appdir = "browser" # needed for resource:///modules/policies/schema.sys.mjs to be registered +skip-if = [ + "os == 'android'", + "socketprocess_networking", +] + +["test_trr_extended_error.js"] +run-sequentially = "node server exceptions dont replay well" + +["test_trr_https_fallback.js"] +skip-if = [ + "asan", + "tsan", + "os == 'win'", + "os == 'android'", +] +run-sequentially = "node server exceptions dont replay well" + +["test_trr_httpssvc.js"] +run-sequentially = "node server exceptions dont replay well" + +["test_trr_nat64.js"] +run-sequentially = "node server exceptions dont replay well" + +["test_trr_noPrefetch.js"] + +["test_trr_proxy.js"] + +["test_trr_proxy_auth.js"] +skip-if = [ + "os == 'android'", + "socketprocess_networking", +] + +["test_trr_strict_mode.js"] + +["test_trr_telemetry.js"] +head = "head_channels.js head_cache.js head_cookies.js head_servers.js head_trr.js head_http3.js trr_common.js" +skip-if = [ + "os == 'android'", + "socketprocess_networking", +] + +["test_trr_ttl.js"] + +["test_trr_with_proxy.js"] +head = "head_channels.js head_cache.js head_cookies.js head_servers.js head_trr.js trr_common.js" +skip-if = [ + "os == 'android'", + "socketprocess_networking", # Bug 1808233 +] +run-sequentially = "node server exceptions dont replay well" + +["test_udp_multicast.js"] + +["test_udpsocket.js"] + +["test_udpsocket_offline.js"] + +["test_unescapestring.js"] + +["test_unix_domain.js"] + +["test_uri_mutator.js"] + +["test_use_httpssvc.js"] +run-sequentially = "node server exceptions dont replay well" + +["test_verify_traffic.js"] + +["test_websocket_500k.js"] +skip-if = ["verify"] +run-sequentially = "node server exceptions dont replay well" + +["test_websocket_fails.js"] +run-sequentially = "node server exceptions dont replay well" +skip-if = ["os == 'android' && verify"] # Bug 1804101 + +["test_websocket_fails_2.js"] +run-sequentially = "node server exceptions dont replay well" + +["test_websocket_offline.js"] + +["test_websocket_server.js"] +run-sequentially = "node server exceptions dont replay well" + +["test_websocket_server_multiclient.js"] +run-sequentially = "node server exceptions dont replay well" + +["test_websocket_with_h3_active.js"] +skip-if = [ + "os == 'android'", + "verify && os == 'win'", + "os == 'win' && msix", # https://bugzilla.mozilla.org/show_bug.cgi?id=1808049 +] +run-sequentially = "node server exceptions dont replay well" + +["test_webtransport_simple.js"] +# This test will be fixed in bug 1796556 +skip-if = [ + "os == 'android'", + "os == 'win' && msix", # https://bugzilla.mozilla.org/show_bug.cgi?id=1807931 + "verify && os == 'win'", + "socketprocess_networking", +] + +["test_xmlhttprequest.js"] diff --git a/netwerk/test/unit_ipc/xpcshell.ini b/netwerk/test/unit_ipc/xpcshell.ini deleted file mode 100644 index c7cf14f0db6573..00000000000000 --- a/netwerk/test/unit_ipc/xpcshell.ini +++ /dev/null @@ -1,186 +0,0 @@ -[DEFAULT] -head = head_channels_clone.js ../unit/head_servers.js head_trr_clone.js head_http3_clone.js -skip-if = socketprocess_networking -# Several tests rely on redirecting to data: URIs, which was allowed for a long -# time but now forbidden. So we enable it just for these tests. -prefs = - network.allow_redirect_to_data=true -support-files = - child_channel_id.js - !/netwerk/test/unit/test_XHR_redirects.js - !/netwerk/test/unit/test_bug528292.js - !/netwerk/test/unit/test_cache-entry-id.js - !/netwerk/test/unit/test_cache_jar.js - !/netwerk/test/unit/test_cacheflags.js - !/netwerk/test/unit/test_channel_close.js - !/netwerk/test/unit/test_cookiejars.js - !/netwerk/test/unit/test_dns_cancel.js - !/netwerk/test/unit/test_dns_service.js - !/netwerk/test/unit/test_duplicate_headers.js - !/netwerk/test/unit/test_event_sink.js - !/netwerk/test/unit/test_getHost.js - !/netwerk/test/unit/test_gio_protocol.js - !/netwerk/test/unit/test_head.js - !/netwerk/test/unit/test_headers.js - !/netwerk/test/unit/test_httpsuspend.js - !/netwerk/test/unit/test_post.js - !/netwerk/test/unit/test_predictor.js - !/netwerk/test/unit/test_progress.js - !/netwerk/test/unit/test_redirect_veto.js - !/netwerk/test/unit/test_redirect-caching_canceled.js - !/netwerk/test/unit/test_redirect-caching_failure.js - !/netwerk/test/unit/test_redirect-caching_passing.js - !/netwerk/test/unit/test_redirect_canceled.js - !/netwerk/test/unit/test_redirect_different-protocol.js - !/netwerk/test/unit/test_redirect_failure.js - !/netwerk/test/unit/test_redirect_from_script.js - !/netwerk/test/unit/test_redirect_history.js - !/netwerk/test/unit/test_redirect_passing.js - !/netwerk/test/unit/test_reentrancy.js - !/netwerk/test/unit/test_reply_without_content_type.js - !/netwerk/test/unit/test_resumable_channel.js - !/netwerk/test/unit/test_simple.js - !/netwerk/test/unit/test_trackingProtection_annotateChannels.js - !/netwerk/test/unit/test_xmlhttprequest.js - !/netwerk/test/unit/head_channels.js - !/netwerk/test/unit/head_trr.js - !/netwerk/test/unit/head_cache2.js - !/netwerk/test/unit/data/image.png - !/netwerk/test/unit/data/system_root.lnk - !/netwerk/test/unit/data/test_psl.txt - !/netwerk/test/unit/data/test_readline1.txt - !/netwerk/test/unit/data/test_readline2.txt - !/netwerk/test/unit/data/test_readline3.txt - !/netwerk/test/unit/data/test_readline4.txt - !/netwerk/test/unit/data/test_readline5.txt - !/netwerk/test/unit/data/test_readline6.txt - !/netwerk/test/unit/data/test_readline7.txt - !/netwerk/test/unit/data/test_readline8.txt - !/netwerk/test/unit/data/signed_win.exe - !/netwerk/test/unit/test_alt-data_simple.js - !/netwerk/test/unit/test_alt-data_stream.js - !/netwerk/test/unit/test_alt-data_closeWithStatus.js - !/netwerk/test/unit/test_channel_priority.js - !/netwerk/test/unit/test_multipart_streamconv.js - !/netwerk/test/unit/test_original_sent_received_head.js - !/netwerk/test/unit/test_alt-data_cross_process.js - !/netwerk/test/unit/test_httpcancel.js - !/netwerk/test/unit/test_trr_httpssvc.js - !/netwerk/test/unit/test_http3_prio_enabled.js - !/netwerk/test/unit/test_http3_prio_disabled.js - !/netwerk/test/unit/test_http3_prio_helpers.js - !/netwerk/test/unit/http2-ca.pem - !/netwerk/test/unit/test_orb_empty_header.js - child_is_proxy_used.js - child_cookie_header.js - child_dns_by_type_resolve.js - child_veto_in_parent.js - - -[test_cookie_header_stripped.js] -[test_cacheflags_wrap.js] -prefs = network.allow_raw_sockets_in_content_processes=true -[test_cache-entry-id_wrap.js] -prefs = network.allow_raw_sockets_in_content_processes=true -[test_cache_jar_wrap.js] -[test_channel_close_wrap.js] -prefs = network.allow_raw_sockets_in_content_processes=true -[test_chunked_responses_wrap.js] -prefs = - network.allow_raw_sockets_in_content_processes=true - security.allow_eval_with_system_principal=true -[test_cookiejars_wrap.js] -prefs = network.allow_raw_sockets_in_content_processes=true -[test_dns_cancel_wrap.js] -prefs = network.allow_raw_sockets_in_content_processes=true -[test_dns_service_wrap.js] -[test_duplicate_headers_wrap.js] -prefs = network.allow_raw_sockets_in_content_processes=true -[test_event_sink_wrap.js] -prefs = network.allow_raw_sockets_in_content_processes=true -[test_gio_protocol_wrap.js] -skip-if = (toolkit != 'gtk') -[test_head_wrap.js] -prefs = network.allow_raw_sockets_in_content_processes=true -[test_headers_wrap.js] -prefs = network.allow_raw_sockets_in_content_processes=true -[test_httpsuspend_wrap.js] -prefs = network.allow_raw_sockets_in_content_processes=true -[test_post_wrap.js] -prefs = network.allow_raw_sockets_in_content_processes=true -[test_predictor_wrap.js] -[test_progress_wrap.js] -prefs = network.allow_raw_sockets_in_content_processes=true -[test_redirect-caching_canceled_wrap.js] -prefs = network.allow_raw_sockets_in_content_processes=true -[test_redirect-caching_failure_wrap.js] -prefs = network.allow_raw_sockets_in_content_processes=true -[test_redirect-caching_passing_wrap.js] -prefs = network.allow_raw_sockets_in_content_processes=true -[test_redirect_canceled_wrap.js] -prefs = network.allow_raw_sockets_in_content_processes=true -[test_redirect_failure_wrap.js] -prefs = network.allow_raw_sockets_in_content_processes=true -# Do not test the channel.redirectTo() API under e10s until 827269 is resolved -[test_redirect_from_script_wrap.js] -skip-if = true -[test_redirect_veto_wrap.js] -prefs = network.allow_raw_sockets_in_content_processes=true -[test_redirect_veto_parent.js] -prefs = network.allow_raw_sockets_in_content_processes=true -run-sequentially = doesn't play nice with others. -[test_redirect_passing_wrap.js] -prefs = network.allow_raw_sockets_in_content_processes=true -[test_redirect_different-protocol_wrap.js] -prefs = network.allow_raw_sockets_in_content_processes=true -[test_reentrancy_wrap.js] -prefs = network.allow_raw_sockets_in_content_processes=true -[test_resumable_channel_wrap.js] -prefs = network.allow_raw_sockets_in_content_processes=true -[test_simple_wrap.js] -prefs = network.allow_raw_sockets_in_content_processes=true -[test_http3_prio_disabled_wrap.js] -skip-if = - os == 'android' - os == 'win' && msix # https://bugzilla.mozilla.org/show_bug.cgi?id=1807925 -run-sequentially = http3server -[test_http3_prio_enabled_wrap.js] -skip-if = - os == 'android' - os == 'win' && msix # https://bugzilla.mozilla.org/show_bug.cgi?id=1807925 -run-sequentially = http3server -[test_xmlhttprequest_wrap.js] -prefs = network.allow_raw_sockets_in_content_processes=true -[test_XHR_redirects.js] -prefs = network.allow_raw_sockets_in_content_processes=true -[test_redirect_history_wrap.js] -prefs = network.allow_raw_sockets_in_content_processes=true -[test_reply_without_content_type_wrap.js] -prefs = network.allow_raw_sockets_in_content_processes=true -[test_getHost_wrap.js] -prefs = network.allow_raw_sockets_in_content_processes=true -[test_alt-data_simple_wrap.js] -prefs = network.allow_raw_sockets_in_content_processes=true -[test_alt-data_stream_wrap.js] -prefs = network.allow_raw_sockets_in_content_processes=true -[test_alt-data_closeWithStatus_wrap.js] -prefs = network.allow_raw_sockets_in_content_processes=true -[test_original_sent_received_head_wrap.js] -prefs = network.allow_raw_sockets_in_content_processes=true -[test_channel_id.js] -[test_trackingProtection_annotateChannels_wrap1.js] -prefs = network.allow_raw_sockets_in_content_processes=true -[test_trackingProtection_annotateChannels_wrap2.js] -prefs = network.allow_raw_sockets_in_content_processes=true -[test_channel_priority_wrap.js] -[test_multipart_streamconv_wrap.js] -prefs = network.allow_raw_sockets_in_content_processes=true -[test_alt-data_cross_process_wrap.js] -prefs = network.allow_raw_sockets_in_content_processes=true -[test_httpcancel_wrap.js] -prefs = network.allow_raw_sockets_in_content_processes=true -[test_dns_by_type_resolve_wrap.js] -[test_trr_httpssvc_wrap.js] -skip-if = os == "android" -[test_orb_empty_header_wrap.js] -[test_is_proxy_used.js] diff --git a/netwerk/test/unit_ipc/xpcshell.toml b/netwerk/test/unit_ipc/xpcshell.toml new file mode 100644 index 00000000000000..569bcda751afa0 --- /dev/null +++ b/netwerk/test/unit_ipc/xpcshell.toml @@ -0,0 +1,240 @@ +[DEFAULT] +head = "head_channels_clone.js ../unit/head_servers.js head_trr_clone.js head_http3_clone.js" +skip-if = ["socketprocess_networking"] +# Several tests rely on redirecting to data: URIs, which was allowed for a long +# time but now forbidden. So we enable it just for these tests. +prefs = ["network.allow_redirect_to_data=true"] +support-files = [ + "child_channel_id.js", + "!/netwerk/test/unit/test_XHR_redirects.js", + "!/netwerk/test/unit/test_bug528292.js", + "!/netwerk/test/unit/test_cache-entry-id.js", + "!/netwerk/test/unit/test_cache_jar.js", + "!/netwerk/test/unit/test_cacheflags.js", + "!/netwerk/test/unit/test_channel_close.js", + "!/netwerk/test/unit/test_cookiejars.js", + "!/netwerk/test/unit/test_dns_cancel.js", + "!/netwerk/test/unit/test_dns_service.js", + "!/netwerk/test/unit/test_duplicate_headers.js", + "!/netwerk/test/unit/test_event_sink.js", + "!/netwerk/test/unit/test_getHost.js", + "!/netwerk/test/unit/test_gio_protocol.js", + "!/netwerk/test/unit/test_head.js", + "!/netwerk/test/unit/test_headers.js", + "!/netwerk/test/unit/test_httpsuspend.js", + "!/netwerk/test/unit/test_post.js", + "!/netwerk/test/unit/test_predictor.js", + "!/netwerk/test/unit/test_progress.js", + "!/netwerk/test/unit/test_redirect_veto.js", + "!/netwerk/test/unit/test_redirect-caching_canceled.js", + "!/netwerk/test/unit/test_redirect-caching_failure.js", + "!/netwerk/test/unit/test_redirect-caching_passing.js", + "!/netwerk/test/unit/test_redirect_canceled.js", + "!/netwerk/test/unit/test_redirect_different-protocol.js", + "!/netwerk/test/unit/test_redirect_failure.js", + "!/netwerk/test/unit/test_redirect_from_script.js", + "!/netwerk/test/unit/test_redirect_history.js", + "!/netwerk/test/unit/test_redirect_passing.js", + "!/netwerk/test/unit/test_reentrancy.js", + "!/netwerk/test/unit/test_reply_without_content_type.js", + "!/netwerk/test/unit/test_resumable_channel.js", + "!/netwerk/test/unit/test_simple.js", + "!/netwerk/test/unit/test_trackingProtection_annotateChannels.js", + "!/netwerk/test/unit/test_xmlhttprequest.js", + "!/netwerk/test/unit/head_channels.js", + "!/netwerk/test/unit/head_trr.js", + "!/netwerk/test/unit/head_cache2.js", + "!/netwerk/test/unit/data/image.png", + "!/netwerk/test/unit/data/system_root.lnk", + "!/netwerk/test/unit/data/test_psl.txt", + "!/netwerk/test/unit/data/test_readline1.txt", + "!/netwerk/test/unit/data/test_readline2.txt", + "!/netwerk/test/unit/data/test_readline3.txt", + "!/netwerk/test/unit/data/test_readline4.txt", + "!/netwerk/test/unit/data/test_readline5.txt", + "!/netwerk/test/unit/data/test_readline6.txt", + "!/netwerk/test/unit/data/test_readline7.txt", + "!/netwerk/test/unit/data/test_readline8.txt", + "!/netwerk/test/unit/data/signed_win.exe", + "!/netwerk/test/unit/test_alt-data_simple.js", + "!/netwerk/test/unit/test_alt-data_stream.js", + "!/netwerk/test/unit/test_alt-data_closeWithStatus.js", + "!/netwerk/test/unit/test_channel_priority.js", + "!/netwerk/test/unit/test_multipart_streamconv.js", + "!/netwerk/test/unit/test_original_sent_received_head.js", + "!/netwerk/test/unit/test_alt-data_cross_process.js", + "!/netwerk/test/unit/test_httpcancel.js", + "!/netwerk/test/unit/test_trr_httpssvc.js", + "!/netwerk/test/unit/test_http3_prio_enabled.js", + "!/netwerk/test/unit/test_http3_prio_disabled.js", + "!/netwerk/test/unit/test_http3_prio_helpers.js", + "!/netwerk/test/unit/http2-ca.pem", + "!/netwerk/test/unit/test_orb_empty_header.js", + "child_is_proxy_used.js", + "child_cookie_header.js", + "child_dns_by_type_resolve.js", + "child_veto_in_parent.js", +] + +["test_XHR_redirects.js"] +prefs = ["network.allow_raw_sockets_in_content_processes=true"] + +["test_alt-data_closeWithStatus_wrap.js"] +prefs = ["network.allow_raw_sockets_in_content_processes=true"] + +["test_alt-data_cross_process_wrap.js"] +prefs = ["network.allow_raw_sockets_in_content_processes=true"] + +["test_alt-data_simple_wrap.js"] +prefs = ["network.allow_raw_sockets_in_content_processes=true"] + +["test_alt-data_stream_wrap.js"] +prefs = ["network.allow_raw_sockets_in_content_processes=true"] + +["test_cache-entry-id_wrap.js"] +prefs = ["network.allow_raw_sockets_in_content_processes=true"] + +["test_cache_jar_wrap.js"] + +["test_cacheflags_wrap.js"] +prefs = ["network.allow_raw_sockets_in_content_processes=true"] + +["test_channel_close_wrap.js"] +prefs = ["network.allow_raw_sockets_in_content_processes=true"] + +["test_channel_id.js"] + +["test_channel_priority_wrap.js"] + +["test_chunked_responses_wrap.js"] +prefs = [ + "network.allow_raw_sockets_in_content_processes=true", + "security.allow_eval_with_system_principal=true", +] + +["test_cookie_header_stripped.js"] + +["test_cookiejars_wrap.js"] +prefs = ["network.allow_raw_sockets_in_content_processes=true"] + +["test_dns_by_type_resolve_wrap.js"] + +["test_dns_cancel_wrap.js"] +prefs = ["network.allow_raw_sockets_in_content_processes=true"] + +["test_dns_service_wrap.js"] + +["test_duplicate_headers_wrap.js"] +prefs = ["network.allow_raw_sockets_in_content_processes=true"] + +["test_event_sink_wrap.js"] +prefs = ["network.allow_raw_sockets_in_content_processes=true"] + +["test_getHost_wrap.js"] +prefs = ["network.allow_raw_sockets_in_content_processes=true"] + +["test_gio_protocol_wrap.js"] +run-if = ["os == 'linux'"] + +["test_head_wrap.js"] +prefs = ["network.allow_raw_sockets_in_content_processes=true"] + +["test_headers_wrap.js"] +prefs = ["network.allow_raw_sockets_in_content_processes=true"] + +["test_http3_prio_disabled_wrap.js"] +skip-if = [ + "os == 'android'", + "os == 'win' && msix", +] # https://bugzilla.mozilla.org/show_bug.cgi?id=1807925 +run-sequentially = "http3server" + +["test_http3_prio_enabled_wrap.js"] +skip-if = [ + "os == 'android'", + "os == 'win' && msix", +] # https://bugzilla.mozilla.org/show_bug.cgi?id=1807925 +run-sequentially = "http3server" + +["test_httpcancel_wrap.js"] +prefs = ["network.allow_raw_sockets_in_content_processes=true"] + +["test_httpsuspend_wrap.js"] +prefs = ["network.allow_raw_sockets_in_content_processes=true"] + +["test_is_proxy_used.js"] + +["test_multipart_streamconv_wrap.js"] +prefs = ["network.allow_raw_sockets_in_content_processes=true"] + +["test_orb_empty_header_wrap.js"] + +["test_original_sent_received_head_wrap.js"] +prefs = ["network.allow_raw_sockets_in_content_processes=true"] + +["test_post_wrap.js"] +prefs = ["network.allow_raw_sockets_in_content_processes=true"] + +["test_predictor_wrap.js"] + +["test_progress_wrap.js"] +prefs = ["network.allow_raw_sockets_in_content_processes=true"] + +["test_redirect-caching_canceled_wrap.js"] +prefs = ["network.allow_raw_sockets_in_content_processes=true"] + +["test_redirect-caching_failure_wrap.js"] +prefs = ["network.allow_raw_sockets_in_content_processes=true"] + +["test_redirect-caching_passing_wrap.js"] +prefs = ["network.allow_raw_sockets_in_content_processes=true"] + +["test_redirect_canceled_wrap.js"] +prefs = ["network.allow_raw_sockets_in_content_processes=true"] + +["test_redirect_different-protocol_wrap.js"] +prefs = ["network.allow_raw_sockets_in_content_processes=true"] + +["test_redirect_failure_wrap.js"] +prefs = ["network.allow_raw_sockets_in_content_processes=true"] +# Do not test the channel.redirectTo() API under e10s until 827269 is resolved + +["test_redirect_from_script_wrap.js"] +skip-if = ["true"] + +["test_redirect_history_wrap.js"] +prefs = ["network.allow_raw_sockets_in_content_processes=true"] + +["test_redirect_passing_wrap.js"] +prefs = ["network.allow_raw_sockets_in_content_processes=true"] + +["test_redirect_veto_parent.js"] +prefs = ["network.allow_raw_sockets_in_content_processes=true"] +run-sequentially = "doesn't play nice with others." + +["test_redirect_veto_wrap.js"] +prefs = ["network.allow_raw_sockets_in_content_processes=true"] + +["test_reentrancy_wrap.js"] +prefs = ["network.allow_raw_sockets_in_content_processes=true"] + +["test_reply_without_content_type_wrap.js"] +prefs = ["network.allow_raw_sockets_in_content_processes=true"] + +["test_resumable_channel_wrap.js"] +prefs = ["network.allow_raw_sockets_in_content_processes=true"] + +["test_simple_wrap.js"] +prefs = ["network.allow_raw_sockets_in_content_processes=true"] + +["test_trackingProtection_annotateChannels_wrap1.js"] +prefs = ["network.allow_raw_sockets_in_content_processes=true"] + +["test_trackingProtection_annotateChannels_wrap2.js"] +prefs = ["network.allow_raw_sockets_in_content_processes=true"] + +["test_trr_httpssvc_wrap.js"] +skip-if = ["os == 'android'"] + +["test_xmlhttprequest_wrap.js"] +prefs = ["network.allow_raw_sockets_in_content_processes=true"] diff --git a/parser/xml/test/moz.build b/parser/xml/test/moz.build index 96dbb88c3d35da..c398a08e7bb3f7 100644 --- a/parser/xml/test/moz.build +++ b/parser/xml/test/moz.build @@ -5,4 +5,4 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. # Note: set the test module's name to test_ -XPCSHELL_TESTS_MANIFESTS += ["unit/xpcshell.ini"] +XPCSHELL_TESTS_MANIFESTS += ["unit/xpcshell.toml"] diff --git a/parser/xml/test/unit/xpcshell.ini b/parser/xml/test/unit/xpcshell.ini deleted file mode 100644 index 4ae9918864ed26..00000000000000 --- a/parser/xml/test/unit/xpcshell.ini +++ /dev/null @@ -1,6 +0,0 @@ -[DEFAULT] -head = -support-files = results.js - -[test_sanitizer.js] -[test_sanitizer_style.js] diff --git a/parser/xml/test/unit/xpcshell.toml b/parser/xml/test/unit/xpcshell.toml new file mode 100644 index 00000000000000..4ffabc0a44445d --- /dev/null +++ b/parser/xml/test/unit/xpcshell.toml @@ -0,0 +1,7 @@ +[DEFAULT] +head = "" +support-files = ["results.js"] + +["test_sanitizer.js"] + +["test_sanitizer_style.js"]