tor-browser

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

mochitest.toml (4334B)


      1 [DEFAULT]
      2 support-files = [
      3  "cbor.js",
      4  "u2futil.js",
      5  "pkijs/*",
      6  "get_assertion_dead_object.html",
      7  "empty.html",
      8 ]
      9 scheme = "https"
     10 prefs = [
     11  "dom.security.featurePolicy.webidl.enabled=true",
     12  "security.webauth.webauthn=true",
     13  "security.webauth.webauthn_enable_softtoken=true",
     14  "security.webauth.webauthn_enable_usbtoken=false",
     15  "security.webauthn.ctap2=true",
     16  "security.webauthn.enable_conditional_mediation=true",
     17  "security.webauthn.enable_macos_passkeys=false",
     18 ]
     19 
     20 ["test_bug1969341.html"]
     21 fail-if = [
     22  "xorigin", # NotAllowedError
     23 ]
     24 run-if = [
     25  "os != 'win'", # Bug 1718296 (Windows 10 1903+ has its own window and U2F that we cannot control with tests.)
     26 ]
     27 
     28 ["test_webauthn_abort_signal.html"]
     29 fail-if = [
     30  "xorigin",
     31 ]
     32 run-if = [
     33  "os != 'win'", # Bug 1718296 (Windows 10 1903+ has its own window and U2F that we cannot control with tests.)
     34 ]
     35 skip-if = [
     36  "os == 'android'", # Test sets security.webauth.webauthn_enable_usbtoken to true, which isn't applicable to android
     37 ]
     38 
     39 ["test_webauthn_attestation_conveyance.html"]
     40 fail-if = [
     41  "xorigin", # NotAllowedError
     42 ]
     43 run-if = [
     44  "os != 'win'", # Bug 1718296 (Windows 10 1903+ has its own window and U2F that we cannot control with tests.)
     45 ]
     46 
     47 ["test_webauthn_authenticator_selection.html"]
     48 fail-if = [
     49  "xorigin", # NotAllowedError
     50 ]
     51 run-if = [
     52  "os != 'win'", # Bug 1718296 (Windows 10 1903+ has its own window and U2F that we cannot control with tests.)
     53 ]
     54 
     55 ["test_webauthn_authenticator_transports.html"]
     56 fail-if = [
     57  "xorigin", # NotAllowedError
     58 ]
     59 run-if = [
     60  "os != 'win'", # Bug 1718296 (Windows 10 1903+ has its own window and U2F that we cannot control with tests.)
     61 ]
     62 
     63 ["test_webauthn_crossorigin_featurepolicy.html"]
     64 fail-if = [
     65  "xorigin", # Cross-origin use of WebAuthn requires a feature policy.
     66 ]
     67 
     68 ["test_webauthn_ctap2_omitted_credential_id.html"]
     69 fail-if = [
     70  "xorigin", # NotAllowedError
     71 ]
     72 
     73 ["test_webauthn_get_assertion.html"]
     74 fail-if = [
     75  "xorigin", # NotAllowedError
     76 ]
     77 run-if = [
     78  "os != 'win'", # Bug 1718296 (Windows 10 1903+ has its own window and U2F that we cannot control with tests.)
     79 ]
     80 skip-if = [
     81  "os == 'android'", # Test sets security.webauth.webauthn_enable_usbtoken to true, which isn't applicable to android
     82 ]
     83 
     84 ["test_webauthn_get_assertion_dead_object.html"]
     85 run-if = [
     86  "os != 'win'", # Bug 1718296 (Windows 10 1903+ has its own window and U2F that we cannot control with tests.)
     87 ]
     88 
     89 ["test_webauthn_in_xhtml.xhtml"]
     90 fail-if = [
     91  "xorigin",
     92 ]
     93 
     94 ["test_webauthn_isplatformauthenticatoravailable.html"]
     95 
     96 ["test_webauthn_loopback.html"]
     97 run-if = [
     98  "os != 'win'", # Bug 1718296 (Windows 10 1903+ has its own window and U2F that we cannot control with tests.)
     99 ]
    100 skip-if = [
    101  "xorigin", # Hangs, JavaScript error: https://example.org/tests/SimpleTest/SimpleTest.js, line 76: DataCloneError: The object could not be cloned.
    102 ]
    103 
    104 ["test_webauthn_make_credential.html"]
    105 fail-if = [
    106  "xorigin", # NotAllowedError
    107 ]
    108 run-if = [
    109  "os != 'win'", # Bug 1718296 (Windows 10 1903+ has its own window and U2F that we cannot control with tests.)
    110 ]
    111 
    112 ["test_webauthn_no_token.html"]
    113 run-if = [
    114  "os != 'win'", # Bug 1718296 (Windows 10 1903+ has its own window and U2F that we cannot control with tests.)
    115 ]
    116 skip-if = [
    117  "os == 'android'", # Test disables all tokens, which is an unsupported configuration on android.
    118  "xorigin", # JavaScript error: https://example.org/tests/SimpleTest/SimpleTest.js, line 76: DataCloneError: The object could not be cloned.
    119 ]
    120 
    121 ["test_webauthn_sameorigin.html"]
    122 fail-if = [
    123  "xorigin", # NotAllowedError
    124 ]
    125 run-if = [
    126  "os != 'win'", # Bug 1718296 (Windows 10 1903+ has its own window and U2F that we cannot control with tests.)
    127 ]
    128 
    129 ["test_webauthn_sameoriginwithancestors.html"]
    130 run-if = [
    131  "os != 'win'", # Bug 1718296 (Windows 10 1903+ has its own window and U2F that we cannot control with tests.)
    132 ]
    133 skip-if = [
    134  "xorigin", # this test has its own cross-origin setup
    135 ]
    136 
    137 ["test_webauthn_serialization.html"]
    138 fail-if = [
    139  "xorigin",
    140 ]
    141 
    142 ["test_webauthn_store_credential.html"]
    143 fail-if = [
    144  "xorigin", # NotAllowedError
    145 ]
    146 run-if = [
    147  "os != 'win'", # Bug 1718296 (Windows 10 1903+ has its own window and U2F that we cannot control with tests.)
    148 ]
    149 
    150 ["test_webauthn_webdriver_virtual_authenticator.html"]
    151 fail-if = [
    152  "xorigin", # Cross-origin use of WebAuthn requires a feature policy.
    153 ]