summaryrefslogtreecommitdiffstats
path: root/dom/webauthn/tests/mochitest.toml
blob: 2082d39a58866612adf8bc97b14c8d6c22147234 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
[DEFAULT]
support-files = [
  "cbor.js",
  "u2futil.js",
  "pkijs/*",
  "get_assertion_dead_object.html",
  "empty.html",
]
scheme = "https"
prefs = [
  "dom.security.featurePolicy.webidl.enabled=true",
  "security.webauth.webauthn=true",
  "security.webauth.webauthn_enable_softtoken=true",
  "security.webauth.webauthn_enable_usbtoken=false",
  "security.webauthn.ctap2=true",
  "security.webauthn.enable_conditional_mediation=true",
  "security.webauthn.enable_macos_passkeys=false",
]

["test_webauthn_abort_signal.html"]
fail-if = ["xorigin"]
skip-if = [
  "win10_2009", # Bug 1718296 (Windows 10 1903+ has its own window and U2F that we cannot control with tests.)
  "win11_2009", # Bug 1718296 (Windows 10 1903+ has its own window and U2F that we cannot control with tests.)
  "os == 'android'", # Test sets security.webauth.webauthn_enable_usbtoken to true, which isn't applicable to android
]

["test_webauthn_attestation_conveyance.html"]
fail-if = ["xorigin"] # NotAllowedError
skip-if = [
  "win10_2009", # Bug 1718296 (Windows 10 1903+ has its own window and U2F that we cannot control with tests.)
  "win11_2009", # Bug 1718296 (Windows 10 1903+ has its own window and U2F that we cannot control with tests.)
]

["test_webauthn_authenticator_selection.html"]
fail-if = ["xorigin"] # NotAllowedError
skip-if = [
  "win10_2009", # Bug 1718296 (Windows 10 1903+ has its own window and U2F that we cannot control with tests.)
  "win11_2009", # Bug 1718296 (Windows 10 1903+ has its own window and U2F that we cannot control with tests.)
]

["test_webauthn_authenticator_transports.html"]
fail-if = ["xorigin"] # NotAllowedError
skip-if = [
  "win10_2009", # Bug 1718296 (Windows 10 1903+ has its own window and U2F that we cannot control with tests.)
  "win11_2009", # Bug 1718296 (Windows 10 1903+ has its own window and U2F that we cannot control with tests.)
]

["test_webauthn_crossorigin_featurepolicy.html"]
fail-if = ["xorigin"] # Cross-origin use of WebAuthn requires a feature policy.

["test_webauthn_ctap2_omitted_credential_id.html"]
fail-if = ["xorigin"] # NotAllowedError

["test_webauthn_get_assertion.html"]
fail-if = ["xorigin"] # NotAllowedError
skip-if = [
  "win10_2009", # Bug 1718296 (Windows 10 1903+ has its own window and U2F that we cannot control with tests.)
  "win11_2009", # Bug 1718296 (Windows 10 1903+ has its own window and U2F that we cannot control with tests.)
  "os == 'android'", # Test sets security.webauth.webauthn_enable_usbtoken to true, which isn't applicable to android
]

["test_webauthn_get_assertion_dead_object.html"]
skip-if = [
  "win10_2009", # Bug 1718296 (Windows 10 1903+ has its own window and U2F that we cannot control with tests.)
  "win11_2009", # Bug 1718296 (Windows 10 1903+ has its own window and U2F that we cannot control with tests.)
]

["test_webauthn_isplatformauthenticatoravailable.html"]

["test_webauthn_loopback.html"]
skip-if = [
  "xorigin", # Hangs, JavaScript error: https://example.org/tests/SimpleTest/SimpleTest.js, line 76: DataCloneError: The object could not be cloned.
  "win10_2009", # Bug 1718296 (Windows 10 1903+ has its own window and U2F that we cannot control with tests.)
  "win11_2009", # Bug 1718296 (Windows 10 1903+ has its own window and U2F that we cannot control with tests.)
]

["test_webauthn_make_credential.html"]
fail-if = ["xorigin"] # NotAllowedError
skip-if = [
  "win10_2009", # Bug 1718296 (Windows 10 1903+ has its own window and U2F that we cannot control with tests.)
  "win11_2009", # Bug 1718296 (Windows 10 1903+ has its own window and U2F that we cannot control with tests.)
]

["test_webauthn_no_token.html"]
skip-if = [
  "xorigin", # JavaScript error: https://example.org/tests/SimpleTest/SimpleTest.js, line 76: DataCloneError: The object could not be cloned.
  "win10_2009", # Bug 1718296 (Windows 10 1903+ has its own window and U2F that we cannot control with tests.)
  "win11_2009", # Bug 1718296 (Windows 10 1903+ has its own window and U2F that we cannot control with tests.)
  "os == 'android'", # Test disables all tokens, which is an unsupported configuration on android.
]

["test_webauthn_sameorigin.html"]
fail-if = ["xorigin"] # NotAllowedError
skip-if = [
  "win10_2009", # Bug 1718296 (Windows 10 1903+ has its own window and U2F that we cannot control with tests.)
  "win11_2009", # Bug 1718296 (Windows 10 1903+ has its own window and U2F that we cannot control with tests.)
]

["test_webauthn_sameoriginwithancestors.html"]
skip-if = [
  "xorigin", # this test has its own cross-origin setup
  "win10_2009", # Bug 1718296 (Windows 10 1903+ has its own window and U2F that we cannot control with tests.)
  "win11_2009", # Bug 1718296 (Windows 10 1903+ has its own window and U2F that we cannot control with tests.)
]

["test_webauthn_serialization.html"]
fail-if = ["xorigin"]

["test_webauthn_store_credential.html"]
fail-if = ["xorigin"] # NotAllowedError
skip-if = [
  "win10_2009", # Bug 1718296 (Windows 10 1903+ has its own window and U2F that we cannot control with tests.)
  "win11_2009", # Bug 1718296 (Windows 10 1903+ has its own window and U2F that we cannot control with tests.)
]

["test_webauthn_webdriver_virtual_authenticator.html"]
fail-if = ["xorigin"] # Cross-origin use of WebAuthn requires a feature policy.