Files
Tom Marble 5ce09d7446 Bug 1995583 - test manifest cleanup for idiomatic usage r=jmaher,necko-reviewers,webcompat-reviewers,geckoview-reviewers,application-update-reviewers,media-playback-reviewers,sessionstore-reviewers,tabbrowser-reviewers,translations-reviewers,omc-reviewers,browser-installer-reviewers,twisniewski,masayuki,dom-core,smaug,nalexander,emcminn,sthompson,alwu,ai-ondevice-reviewers,valentin
For TOML manifests:

1. Change processor -> arch
2. Use arch instead of bits bits == '64' =>
   aarch64 (default on mac 15.30) or x86_64 bits == '32' => x86
3. Replace android_version with corresponding os_version
4. Remove conditions with linux os_version=="18.04"
   (unless they contain verify or verify-standalone)
5. Remove conditions with mac os_version=='11.20',
   (unless they contain verify or verify-standalone)
6. Remove conditions with win os_version=='11.2009' or win11_2009,
   (unless they contain verify or verify-standalone)
7. Linux conditions should have os_version, arch and display
   (simple "os == 'linux'" will get expanded to these two)
   "os == 'linux' && os_version == '22.04' && arch == 'x86_64' && display == 'wayland'"
   "os == 'linux' && os_version == '24.04' && arch == 'x86_64' && display == 'x11'"
8. Mac conditions should have os_version and arch
   (simple "os == 'mac'" will get expanded to these three)
   "os == 'mac' && os_version == '10.15' && arch == 'x86_64'",
   "os == 'mac' && os_version == '14.70' && arch == 'x86_64'",
   "os == 'mac' && os_version == '15.30' && arch == 'aarch64'",
9. Replace apple_catalina with
   os == 'mac' && os_version == '10.15' && arch == 'x86_64'
10. Replace apple_silicon with
   os == 'mac' && os_version = '15.30' && arch == 'aarch64'
11. Replace win10_2009 with
   os == 'win' && os_version = '10.2009' && arch == 'x86_64'
12. Replace "!debug" with three conditions "asan", "opt", or "tsan"
13. Replace literal boolean comparison with variables
    (e.g. "debug == false" => "!debug)

Resolves 2000285

Signed-off-by: Tom Marble <tmarble@info9.net>

Differential Revision: https://phabricator.services.mozilla.com/D272815
2025-11-22 00:30:39 +00:00

40 lines
1.1 KiB
TOML

[DEFAULT]
support-files = [
"data/worker.js",
"data/worker_fileReader.js",
"data/chrome.manifest",
"data/base_uri_worker.js",
"data/base_uri_module.mjs",
"data/base_uri_module2.mjs",
]
run-if = [
"os != 'android'",
]
["test_ext_redirects_sw_scripts.js"]
# The following firefox-appdir make sure that ExtensionTestUtils.loadExtension
# will be able to successfully start the background page (it does fail without
# it because there wouldn't be a global.tabTracker implementation as we would
# expect in a real Firefox, Fenix or Thunderbird instance).
firefox-appdir = "browser"
["test_ext_worker_offline_fetch.js"]
firefox-appdir = "browser"
["test_fileReader.js"]
["test_import_base_uri.js"]
["test_remoteworker_launch_new_process.js"]
# The following firefox-appdir make sure that this xpcshell test will run
# with e10s enabled (which is needed to make sure that the test case is
# going to launch the expected new processes)
firefox-appdir = "browser"
# Disable plugin loading to make it rr able to record and replay this test.
prefs = ["plugin.disable=true"]
["test_workers.js"]
["test_workers_clone_error.js"]