tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

xpcshell.toml (9181B)


      1 [DEFAULT]
      2 head = "head_psm.js"
      3 tags = "psm condprof"
      4 firefox-appdir = "browser"
      5 prefs = [
      6  "security.pki.certificate_transparency.mode=1",
      7 ]
      8 run-if = [
      9  "!msix", # Bug 1809477
     10 ]
     11 support-files = [
     12  "bad_certs/**",
     13  "ocsp_certs/**",
     14  "test_baseline_requirements/**",
     15  "test_broken_fips/**",
     16  "test_cert_eku/**",
     17  "test_cert_embedded_null/**",
     18  "test_cert_keyUsage/**",
     19  "test_cert_overrides_read_only/**",
     20  "test_cert_sha1/**",
     21  "test_cert_signatures/**",
     22  "test_cert_storage_preexisting/**",
     23  "test_cert_trust/**",
     24  "test_cert_utf8/**",
     25  "test_cert_version/**",
     26  "test_certDB_import/**",
     27  "test_content_signing/**",
     28  "test_crlite_filters/**",
     29  "test_ct/**",
     30  "test_delegated_credentials/**",
     31  "test_encrypted_client_hello/**",
     32  "test_ev_certs/**",
     33  "test_faulty_server/**",
     34  "test_intermediate_basic_usage_constraints/**",
     35  "test_intermediate_preloads/**",
     36  "test_keysize/**",
     37  "test_keysize_ev/**",
     38  "test_missing_intermediate/**",
     39  "test_name_constraints/**",
     40  "test_ocsp_url/**",
     41  "test_onecrl/**",
     42  "test_pdf_verification/**",
     43  "test_qwacs/**",
     44  "test_sdr_preexisting/**",
     45  "test_sdr_preexisting_with_password/**",
     46  "test_self_signed_certs/**",
     47  "test_signed_apps/**",
     48  "test_trust_anchors/**",
     49  "tlsserver/**",
     50 ]
     51 
     52 ["test_add_preexisting_cert.js"]
     53 
     54 ["test_allow_all_cert_errors.js"]
     55 run-sequentially = ["true"] # hardcoded ports
     56 
     57 ["test_baseline_requirements_subject_common_name.js"]
     58 
     59 ["test_blocklist_onecrl.js"]
     60 # Skip signature tests for Thunderbird (Bug 1341983).
     61 run-if = [
     62  "appname != 'thunderbird'",
     63 ]
     64 tags = "remote-settings blocklist psm"
     65 
     66 ["test_broken_fips.js"]
     67 # FIPS has never been a thing on Android, so the workaround doesn't
     68 # exist on that platform.
     69 # FIPS still works on Linux, so this test doesn't make any sense there.
     70 # FIPS still works on Windows, but running the test to ensure that it does not
     71 # break with a non-ASCII profile path.
     72 run-if = [
     73  "os != 'android'",
     74 ]
     75 
     76 ["test_certDB_export_pkcs12.js"]
     77 
     78 ["test_certDB_export_pkcs12_with_primary_password.js"]
     79 
     80 ["test_certDB_import.js"]
     81 # nsCertificateDialogs not available in geckoview, bug 1554276
     82 
     83 ["test_certDB_import_pkcs12.js"]
     84 
     85 ["test_certDB_import_with_primary_password.js"]
     86 # nsCertificateDialogs not available in geckoview, bug 1554276
     87 
     88 ["test_cert_chains.js"]
     89 run-sequentially = ["true"] # hardcoded ports
     90 
     91 ["test_cert_dbKey.js"]
     92 
     93 ["test_cert_eku.js"]
     94 
     95 ["test_cert_embedded_null.js"]
     96 
     97 ["test_cert_expiration_canary.js"]
     98 run-if = [
     99  "nightly_build",
    100 ]
    101 
    102 ["test_cert_keyUsage.js"]
    103 
    104 ["test_cert_override_read.js"]
    105 
    106 ["test_cert_overrides.js"]
    107 run-sequentially = ["true"] # hardcoded ports
    108 
    109 ["test_cert_overrides_read_only.js"]
    110 run-sequentially = ["true"] # hardcoded ports
    111 
    112 ["test_cert_sha1.js"]
    113 
    114 ["test_cert_signatures.js"]
    115 
    116 ["test_cert_storage.js"]
    117 tags = "addons psm blocklist"
    118 
    119 ["test_cert_storage_broken_db.js"]
    120 
    121 ["test_cert_storage_direct.js"]
    122 
    123 ["test_cert_storage_preexisting.js"]
    124 
    125 ["test_cert_trust.js"]
    126 
    127 ["test_cert_utf8.js"]
    128 
    129 ["test_cert_version.js"]
    130 
    131 ["test_client_auth_remember_service_read.js"]
    132 
    133 ["test_client_auth_speculative_connection.js"]
    134 run-sequentially = ["true"] # hardcoded ports
    135 
    136 ["test_constructX509FromBase64.js"]
    137 
    138 ["test_content_signing.js"]
    139 
    140 ["test_crlite_filters.js"]
    141 run-if = [
    142  "debug", # Requires hard-coded debug-only data
    143 ]
    144 run-sequentially = ["true"] # hardcoded ports
    145 tags = "remote-settings psm"
    146 
    147 ["test_crlite_preexisting.js"]
    148 run-if = [
    149  "debug", # Requires hard-coded debug-only data
    150 ]
    151 
    152 ["test_ct.js"]
    153 run-if = [
    154  "debug", # Requires hard-coded debug-only data
    155 ]
    156 run-sequentially = ["true"] # hardcoded ports
    157 skip-if = [
    158  "os == 'win' && os_version == '11.26100' && arch == 'x86_64' && msix",
    159 ]
    160 
    161 ["test_ct_stapled.js"]
    162 run-if = [
    163  "debug", # Requires hard-coded debug-only data
    164 ]
    165 run-sequentially = ["true"] # hardcoded ports
    166 skip-if = [
    167  "os == 'win' && os_version == '11.26100' && arch == 'x86_64' && msix",
    168 ]
    169 
    170 ["test_data_storage.js"]
    171 
    172 ["test_db_format_pref_new.js"]
    173 run-if = [
    174  "os != 'android'", # Android always has and always will use the new format, so this test doesn't apply.
    175 ]
    176 skip-if = [
    177  "os == 'linux' && os_version == '24.04' && arch == 'x86_64' && display == 'x11' && opt && condprof",
    178  "os == 'win' && os_version == '11.26100' && arch == 'x86_64' && opt && condprof",
    179 ]
    180 
    181 ["test_delegated_credentials.js"]
    182 run-sequentially = ["true"] # hardcoded ports
    183 
    184 ["test_der.js"]
    185 
    186 ["test_encrypted_client_hello.js"]
    187 run-sequentially = ["true"] # hardcoded ports
    188 
    189 ["test_encrypted_client_hello_client_only.js"]
    190 run-sequentially = ["true"] # hardcoded ports
    191 
    192 ["test_enterprise_roots.js"]
    193 # This feature is implemented for Windows and OS X. However, we don't currently
    194 # have a way to test it on OS X.
    195 run-if = [
    196  "os == 'mac'",
    197  "os == 'windows'",
    198 ]
    199 
    200 ["test_ev_certs.js"]
    201 tags = "blocklist psm"
    202 run-sequentially = ["true"] # hardcoded ports
    203 
    204 ["test_faulty_server.js"]
    205 run-sequentially = ["true"] # hardcoded ports
    206 
    207 ["test_forget_about_site_security_headers.js"]
    208 
    209 ["test_hash_algorithms.js"]
    210 
    211 ["test_hash_algorithms_wrap.js"]
    212 
    213 ["test_intermediate_basic_usage_constraints.js"]
    214 
    215 ["test_intermediate_preloads.js"]
    216 run-sequentially = ["true"] # hardcoded ports
    217 tags = "blocklist psm remote-settings"
    218 
    219 ["test_keysize.js"]
    220 
    221 ["test_keysize_ev.js"]
    222 run-sequentially = ["true"] # hardcoded ports
    223 
    224 ["test_logoutAndTeardown.js"]
    225 run-sequentially = ["true"] # hardcoded ports
    226 
    227 ["test_missing_intermediate.js"]
    228 run-sequentially = ["true"] # hardcoded ports
    229 
    230 ["test_name_constraints.js"]
    231 
    232 ["test_nonascii_path.js"]
    233 
    234 ["test_nsCertType.js"]
    235 run-sequentially = ["true"] # hardcoded ports
    236 
    237 ["test_nsIX509CertValidity.js"]
    238 
    239 ["test_nsIX509Cert_utf8.js"]
    240 
    241 ["test_nss_errors_service.js"]
    242 
    243 ["test_ocsp_caching.js"]
    244 run-sequentially = ["true"] # hardcoded ports
    245 
    246 ["test_ocsp_enabled_pref.js"]
    247 run-sequentially = ["true"] # hardcoded ports
    248 
    249 ["test_ocsp_must_staple.js"]
    250 run-sequentially = ["true"] # hardcoded ports
    251 
    252 ["test_ocsp_no_hsts_upgrade.js"]
    253 run-sequentially = ["true"] # hardcoded ports
    254 
    255 ["test_ocsp_private_caching.js"]
    256 run-sequentially = ["true"] # hardcoded ports
    257 
    258 ["test_ocsp_required.js"]
    259 run-sequentially = ["true"] # hardcoded ports
    260 
    261 ["test_ocsp_stapling.js"]
    262 run-sequentially = ["true"] # hardcoded ports
    263 
    264 ["test_ocsp_stapling_expired.js"]
    265 run-sequentially = ["true"] # hardcoded ports
    266 
    267 ["test_ocsp_stapling_with_intermediate.js"]
    268 run-sequentially = ["true"] # hardcoded ports
    269 
    270 ["test_ocsp_timeout.js"]
    271 requesttimeoutfactor = 2  # Slow on Linux and Windows
    272 run-sequentially = ["true"] # hardcoded ports
    273 
    274 ["test_ocsp_url.js"]
    275 run-sequentially = ["true"] # hardcoded ports
    276 
    277 ["test_oskeystore.js"]
    278 skip-if = [
    279  "os == 'mac' && os_version == '15.30' && arch == 'aarch64'", # Bug 1729538
    280 ]
    281 
    282 ["test_osreauthenticator.js"]
    283 # Reauthentication has been implemented on Windows and MacOS, so running this
    284 # test results in the OS popping up a dialog, which means we can't run it in
    285 # automation.
    286 run-if = [
    287  "os == 'android'",
    288  "os == 'linux'",
    289 ]
    290 
    291 ["test_password_prompt.js"]
    292 
    293 ["test_pinning.js"]
    294 run-sequentially = ["true"] # hardcoded ports
    295 
    296 ["test_qwacs.js"]
    297 
    298 ["test_sdr.js"]
    299 
    300 ["test_sdr_preexisting.js"]
    301 run-if = [
    302  "os != 'android'", # Not relevant to Android. See the comment in the test.
    303 ]
    304 
    305 ["test_sdr_preexisting_with_password.js"]
    306 run-if = [
    307  "os != 'android'", # Not relevant to Android. See the comment in the test.
    308 ]
    309 
    310 ["test_self_signed_certs.js"]
    311 
    312 ["test_session_resumption.js"]
    313 run-sequentially = ["true"] # hardcoded ports
    314 
    315 ["test_signed_apps.js"]
    316 
    317 ["test_signed_pdfs.js"]
    318 
    319 ["test_ssl_status.js"]
    320 run-sequentially = ["true"] # hardcoded ports
    321 
    322 ["test_sss_eviction.js"]
    323 run-if = [
    324  "!condprof", # Bug 1769154 - as designed
    325 ]
    326 
    327 ["test_sss_migration.js"]
    328 run-if = [
    329  "!condprof", # Bug 1769154 - as designed
    330 ]
    331 
    332 ["test_sss_originAttributes.js"]
    333 
    334 ["test_sss_readstate.js"]
    335 run-if = [
    336  "!condprof", # Bug 1769154 - as designed
    337 ]
    338 
    339 ["test_sss_readstate_empty.js"]
    340 run-if = [
    341  "!condprof", # Bug 1769154 - as designed
    342 ]
    343 
    344 ["test_sss_readstate_garbage.js"]
    345 run-if = [
    346  "!condprof", # Bug 1769154 - as designed
    347 ]
    348 
    349 ["test_sss_readstate_huge.js"]
    350 run-if = [
    351  "!condprof", # Bug 1769154 - as designed
    352 ]
    353 
    354 ["test_sss_resetState.js"]
    355 
    356 ["test_sss_sanitizeOnShutdown.js"]
    357 requesttimeoutfactor = 3  # Slow on condprof
    358 prefs = ["privacy.sanitize.useOldClearHistoryDialog=true"]
    359 firefox-appdir = "browser"
    360 skip-if = [
    361  "appname == 'thunderbird'", # browser/modules/Sanitizer.sys.mjs used by the test isn't available in Thunderbird.
    362  "os == 'android'", # Sanitization works differently on Android - this doesn't apply.
    363  "os == 'win' && os_version == '11.26100' && arch == 'x86_64' && opt", # Bug 1839376
    364 ]
    365 
    366 ["test_sss_sanitizeOnShutdown_v2.js"]
    367 requesttimeoutfactor = 2  # Slow on condprof
    368 prefs = ["privacy.sanitize.useOldClearHistoryDialog=false"]
    369 firefox-appdir = "browser"
    370 skip-if = [
    371  "appname == 'thunderbird'", # browser/modules/Sanitizer.sys.mjs used by the test isn't available in Thunderbird.
    372  "os == 'android'", # Sanitization works differently on Android - this doesn't apply.
    373 ]
    374 
    375 ["test_sss_savestate.js"]
    376 
    377 ["test_sts_fqdn.js"]
    378 
    379 ["test_sts_ipv4_ipv6.js"]
    380 
    381 ["test_sts_parser.js"]
    382 
    383 ["test_sts_preloadlist_perwindowpb.js"]
    384 
    385 ["test_sts_preloadlist_selfdestruct.js"]
    386 
    387 ["test_trust_anchors.js"]
    388 
    389 ["test_x509.js"]