summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/webauthn
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/meta/webauthn
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/webauthn')
-rw-r--r--testing/web-platform/meta/webauthn/conditional-mediation.https.html.ini5
-rw-r--r--testing/web-platform/meta/webauthn/createcredential-extensions.https.html.ini3
-rw-r--r--testing/web-platform/meta/webauthn/createcredential-large-blob-not-supported.https.html.ini15
-rw-r--r--testing/web-platform/meta/webauthn/createcredential-large-blob-supported.https.html.ini9
-rw-r--r--testing/web-platform/meta/webauthn/createcredential-prf.https.html.ini9
-rw-r--r--testing/web-platform/meta/webauthn/createcredential-pubkeycredparams.https.html.ini12
-rw-r--r--testing/web-platform/meta/webauthn/createcredential-resident-key.https.html.ini3
-rw-r--r--testing/web-platform/meta/webauthn/credblob-not-supported.https.html.ini3
-rw-r--r--testing/web-platform/meta/webauthn/credblob-supported.https.html.ini6
-rw-r--r--testing/web-platform/meta/webauthn/getcredential-extensions.https.html.ini6
-rw-r--r--testing/web-platform/meta/webauthn/getcredential-large-blob-not-supported.https.html.ini12
-rw-r--r--testing/web-platform/meta/webauthn/getcredential-large-blob-supported.https.html.ini6
-rw-r--r--testing/web-platform/meta/webauthn/getcredential-prf.https.html.ini27
-rw-r--r--testing/web-platform/meta/webauthn/idlharness.https.window.js.ini3
-rw-r--r--testing/web-platform/meta/webauthn/public-key-credential-creation-options-from-json.https.window.js.ini6
-rw-r--r--testing/web-platform/meta/webauthn/remote-desktop-client-override.tentative.https.html.ini6
16 files changed, 131 insertions, 0 deletions
diff --git a/testing/web-platform/meta/webauthn/conditional-mediation.https.html.ini b/testing/web-platform/meta/webauthn/conditional-mediation.https.html.ini
new file mode 100644
index 0000000000..f6907ae651
--- /dev/null
+++ b/testing/web-platform/meta/webauthn/conditional-mediation.https.html.ini
@@ -0,0 +1,5 @@
+[conditional-mediation.https.html]
+ [Conditional mediation supported]
+ expected:
+ if os == "android": FAIL
+ PASS
diff --git a/testing/web-platform/meta/webauthn/createcredential-extensions.https.html.ini b/testing/web-platform/meta/webauthn/createcredential-extensions.https.html.ini
new file mode 100644
index 0000000000..e6248d4236
--- /dev/null
+++ b/testing/web-platform/meta/webauthn/createcredential-extensions.https.html.ini
@@ -0,0 +1,3 @@
+[createcredential-extensions.https.html]
+ [navigator.credentials.create() with prf requested but no support in authenticator]
+ expected: FAIL
diff --git a/testing/web-platform/meta/webauthn/createcredential-large-blob-not-supported.https.html.ini b/testing/web-platform/meta/webauthn/createcredential-large-blob-not-supported.https.html.ini
new file mode 100644
index 0000000000..6387bd821d
--- /dev/null
+++ b/testing/web-platform/meta/webauthn/createcredential-large-blob-not-supported.https.html.ini
@@ -0,0 +1,15 @@
+[createcredential-large-blob-not-supported.https.html]
+ [navigator.credentials.create() with largeBlob.write set]
+ expected: FAIL
+
+ [navigator.credentials.create() with largeBlob.read set]
+ expected: FAIL
+
+ [navigator.credentials.create() with largeBlob.support set to preferred and not supported by authenticator]
+ expected: FAIL
+
+ [navigator.credentials.create() with largeBlob.support not set and not supported by authenticator]
+ expected: FAIL
+
+ [navigator.credentials.create() with largeBlob.support set to required and not supported by authenticator]
+ expected: FAIL
diff --git a/testing/web-platform/meta/webauthn/createcredential-large-blob-supported.https.html.ini b/testing/web-platform/meta/webauthn/createcredential-large-blob-supported.https.html.ini
new file mode 100644
index 0000000000..7afed098dc
--- /dev/null
+++ b/testing/web-platform/meta/webauthn/createcredential-large-blob-supported.https.html.ini
@@ -0,0 +1,9 @@
+[createcredential-large-blob-supported.https.html]
+ [navigator.credentials.create() with largeBlob.support set to preferred and supported by authenticator]
+ expected: FAIL
+
+ [navigator.credentials.create() with largeBlob.support not set and supported by authenticator]
+ expected: FAIL
+
+ [navigator.credentials.create() with largeBlob.support set to required and supported by authenticator]
+ expected: FAIL
diff --git a/testing/web-platform/meta/webauthn/createcredential-prf.https.html.ini b/testing/web-platform/meta/webauthn/createcredential-prf.https.html.ini
new file mode 100644
index 0000000000..48959a1e5b
--- /dev/null
+++ b/testing/web-platform/meta/webauthn/createcredential-prf.https.html.ini
@@ -0,0 +1,9 @@
+[createcredential-prf.https.html]
+ [navigator.credentials.create() with prf requested]
+ expected: FAIL
+
+ [navigator.credentials.create() with nonsensical evalByCredential]
+ expected: FAIL
+
+ [navigator.credentials.create() with eval]
+ expected: FAIL
diff --git a/testing/web-platform/meta/webauthn/createcredential-pubkeycredparams.https.html.ini b/testing/web-platform/meta/webauthn/createcredential-pubkeycredparams.https.html.ini
new file mode 100644
index 0000000000..e53bec4bcc
--- /dev/null
+++ b/testing/web-platform/meta/webauthn/createcredential-pubkeycredparams.https.html.ini
@@ -0,0 +1,12 @@
+[createcredential-pubkeycredparams.https.html]
+ [Bad pubKeyCredParams: first param has bad type ("something-else")]
+ expected: FAIL
+
+ [Bad pubKeyCredParams: first param has bad type ("")]
+ expected: FAIL
+
+ [Bad pubKeyCredParams: first param has bad type (null)]
+ expected: FAIL
+
+ [Bad pubKeyCredParams: first param has bad type (empty object)]
+ expected: FAIL
diff --git a/testing/web-platform/meta/webauthn/createcredential-resident-key.https.html.ini b/testing/web-platform/meta/webauthn/createcredential-resident-key.https.html.ini
new file mode 100644
index 0000000000..17d757141e
--- /dev/null
+++ b/testing/web-platform/meta/webauthn/createcredential-resident-key.https.html.ini
@@ -0,0 +1,3 @@
+[createcredential-resident-key.https.html]
+ [CTAP 2.0 with resident key support: navigator.credentials.create() with credProps extension, rk=discouraged]
+ expected: FAIL
diff --git a/testing/web-platform/meta/webauthn/credblob-not-supported.https.html.ini b/testing/web-platform/meta/webauthn/credblob-not-supported.https.html.ini
new file mode 100644
index 0000000000..072b94e47a
--- /dev/null
+++ b/testing/web-platform/meta/webauthn/credblob-not-supported.https.html.ini
@@ -0,0 +1,3 @@
+[credblob-not-supported.https.html]
+ [creation requesting credBlob without authenticator support]
+ expected: FAIL
diff --git a/testing/web-platform/meta/webauthn/credblob-supported.https.html.ini b/testing/web-platform/meta/webauthn/credblob-supported.https.html.ini
new file mode 100644
index 0000000000..abd350445d
--- /dev/null
+++ b/testing/web-platform/meta/webauthn/credblob-supported.https.html.ini
@@ -0,0 +1,6 @@
+[credblob-supported.https.html]
+ [assertion without credBlob]
+ expected: FAIL
+
+ [assertion with credBlob]
+ expected: FAIL
diff --git a/testing/web-platform/meta/webauthn/getcredential-extensions.https.html.ini b/testing/web-platform/meta/webauthn/getcredential-extensions.https.html.ini
new file mode 100644
index 0000000000..7188cd4314
--- /dev/null
+++ b/testing/web-platform/meta/webauthn/getcredential-extensions.https.html.ini
@@ -0,0 +1,6 @@
+[getcredential-extensions.https.html]
+ [navigator.credentials.get() with prf requested but no support in authenticator]
+ expected: FAIL
+
+ [Payment extension is only supported at registration]
+ expected: FAIL
diff --git a/testing/web-platform/meta/webauthn/getcredential-large-blob-not-supported.https.html.ini b/testing/web-platform/meta/webauthn/getcredential-large-blob-not-supported.https.html.ini
new file mode 100644
index 0000000000..58cd455c81
--- /dev/null
+++ b/testing/web-platform/meta/webauthn/getcredential-large-blob-not-supported.https.html.ini
@@ -0,0 +1,12 @@
+[getcredential-large-blob-not-supported.https.html]
+ [navigator.credentials.get() with largeBlob.support set]
+ expected: FAIL
+
+ [navigator.credentials.get() with largeBlob.read and largeBlob.write set]
+ expected: FAIL
+
+ [navigator.credentials.get() with largeBlob.read set without authenticator support]
+ expected: FAIL
+
+ [navigator.credentials.get() with largeBlob.write set without authenticator support]
+ expected: FAIL
diff --git a/testing/web-platform/meta/webauthn/getcredential-large-blob-supported.https.html.ini b/testing/web-platform/meta/webauthn/getcredential-large-blob-supported.https.html.ini
new file mode 100644
index 0000000000..8a349cf4f1
--- /dev/null
+++ b/testing/web-platform/meta/webauthn/getcredential-large-blob-supported.https.html.ini
@@ -0,0 +1,6 @@
+[getcredential-large-blob-supported.https.html]
+ [navigator.credentials.get() with largeBlob.read set with no blob on authenticator]
+ expected: FAIL
+
+ [navigator.credentials.get() read and write blob]
+ expected: FAIL
diff --git a/testing/web-platform/meta/webauthn/getcredential-prf.https.html.ini b/testing/web-platform/meta/webauthn/getcredential-prf.https.html.ini
new file mode 100644
index 0000000000..e6e5c2c66a
--- /dev/null
+++ b/testing/web-platform/meta/webauthn/getcredential-prf.https.html.ini
@@ -0,0 +1,27 @@
+[getcredential-prf.https.html]
+ [navigator.credentials.get() with single evaluation point]
+ expected: FAIL
+
+ [navigator.credentials.get() with two equal evaluation points]
+ expected: FAIL
+
+ [navigator.credentials.get() with two distinct evaluation points]
+ expected: FAIL
+
+ [navigator.credentials.get() using credential ID with one evaluation point]
+ expected: FAIL
+
+ [navigator.credentials.get() using credential ID with two evaluation points]
+ expected: FAIL
+
+ [navigator.credentials.get() with credential ID not in allowedCredentials]
+ expected: FAIL
+
+ [navigator.credentials.get() with Uint8Array credential ID not in allowedCredentials]
+ expected: FAIL
+
+ [navigator.credentials.get() using invalid base64url credential ID]
+ expected: FAIL
+
+ [navigator.credentials.get() with an empty allow list but also using evalByCredential]
+ expected: FAIL
diff --git a/testing/web-platform/meta/webauthn/idlharness.https.window.js.ini b/testing/web-platform/meta/webauthn/idlharness.https.window.js.ini
new file mode 100644
index 0000000000..7511d962be
--- /dev/null
+++ b/testing/web-platform/meta/webauthn/idlharness.https.window.js.ini
@@ -0,0 +1,3 @@
+[idlharness.https.window.html]
+ [PublicKeyCredential interface: operation getClientCapabilities()]
+ expected: FAIL
diff --git a/testing/web-platform/meta/webauthn/public-key-credential-creation-options-from-json.https.window.js.ini b/testing/web-platform/meta/webauthn/public-key-credential-creation-options-from-json.https.window.js.ini
new file mode 100644
index 0000000000..ee4ccf68ec
--- /dev/null
+++ b/testing/web-platform/meta/webauthn/public-key-credential-creation-options-from-json.https.window.js.ini
@@ -0,0 +1,6 @@
+[public-key-credential-creation-options-from-json.https.window.html]
+ [parseCreationOptionsFromJSON()]
+ expected: FAIL
+
+ [parseCreationOptionsFromJSON() with extensions]
+ expected: FAIL
diff --git a/testing/web-platform/meta/webauthn/remote-desktop-client-override.tentative.https.html.ini b/testing/web-platform/meta/webauthn/remote-desktop-client-override.tentative.https.html.ini
new file mode 100644
index 0000000000..1d1930fb20
--- /dev/null
+++ b/testing/web-platform/meta/webauthn/remote-desktop-client-override.tentative.https.html.ini
@@ -0,0 +1,6 @@
+[remote-desktop-client-override.tentative.https.html]
+ [get() with remoteDesktopClientOverride on an unauthorized site]
+ expected: FAIL
+
+ [create() with remoteDesktopClientOverride]
+ expected: FAIL