summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/credential-management
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/meta/credential-management
parentInitial commit. (diff)
downloadfirefox-upstream.tar.xz
firefox-upstream.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/credential-management')
-rw-r--r--testing/web-platform/meta/credential-management/__dir__.ini3
-rw-r--r--testing/web-platform/meta/credential-management/credentialscontainer-create-basics.https.html.ini20
-rw-r--r--testing/web-platform/meta/credential-management/fedcm-cross-origin-policy.https.html.ini3
-rw-r--r--testing/web-platform/meta/credential-management/fedcm-csp.https.html.ini7
-rw-r--r--testing/web-platform/meta/credential-management/fedcm-iframe.https.html.ini12
-rw-r--r--testing/web-platform/meta/credential-management/fedcm-logout-rps.https.html.ini5
-rw-r--r--testing/web-platform/meta/credential-management/fedcm-multi-idp/get-before-and-after-onload.https.html.ini4
-rw-r--r--testing/web-platform/meta/credential-management/fedcm-multi-idp/get-before-and-during-onload.https.html.ini4
-rw-r--r--testing/web-platform/meta/credential-management/fedcm-multi-idp/get-before-onload-and-during-dom-content-loaded.https.html.ini4
-rw-r--r--testing/web-platform/meta/credential-management/fedcm-multi-idp/multiple-gets-after-onload.https.html.ini3
-rw-r--r--testing/web-platform/meta/credential-management/fedcm-multi-idp/multiple-gets-before-onload.https.html.ini4
-rw-r--r--testing/web-platform/meta/credential-management/fedcm-multi-idp/multiple-gets-during-onload.https.html.ini4
-rw-r--r--testing/web-platform/meta/credential-management/fedcm-multi-idp/single-get-after-onload.https.html.ini3
-rw-r--r--testing/web-platform/meta/credential-management/fedcm-multi-idp/single-get-before-onload.https.html.ini4
-rw-r--r--testing/web-platform/meta/credential-management/fedcm-multi-idp/single-get-during-onload.https.html.ini4
-rw-r--r--testing/web-platform/meta/credential-management/fedcm-network-requests.https.html.ini63
-rw-r--r--testing/web-platform/meta/credential-management/federatedcredential-framed-get.sub.https.html.ini2
-rw-r--r--testing/web-platform/meta/credential-management/idlharness.https.window.js.ini111
-rw-r--r--testing/web-platform/meta/credential-management/otpcredential-get-basics.https.html.ini18
-rw-r--r--testing/web-platform/meta/credential-management/otpcredential-iframe.https.html.ini10
-rw-r--r--testing/web-platform/meta/credential-management/passwordcredential-framed-get.sub.https.html.ini2
21 files changed, 290 insertions, 0 deletions
diff --git a/testing/web-platform/meta/credential-management/__dir__.ini b/testing/web-platform/meta/credential-management/__dir__.ini
new file mode 100644
index 0000000000..7168591707
--- /dev/null
+++ b/testing/web-platform/meta/credential-management/__dir__.ini
@@ -0,0 +1,3 @@
+implementation-status: backlog
+disabled:
+ if os == "android": https://bugzilla.mozilla.org/show_bug.cgi?id=1621476
diff --git a/testing/web-platform/meta/credential-management/credentialscontainer-create-basics.https.html.ini b/testing/web-platform/meta/credential-management/credentialscontainer-create-basics.https.html.ini
new file mode 100644
index 0000000000..fdc07ba8f5
--- /dev/null
+++ b/testing/web-platform/meta/credential-management/credentialscontainer-create-basics.https.html.ini
@@ -0,0 +1,20 @@
+[credentialscontainer-create-basics.https.html]
+ prefs: [security.webauth.webauthn:true]
+
+ [navigator.credentials.create() with valid PasswordCredentialData]
+ expected: FAIL
+
+ [navigator.credentials.create() with valid HTMLFormElement]
+ expected: FAIL
+
+ [navigator.credentials.create() with valid FederatedCredentialData]
+ expected: FAIL
+
+ [navigator.credentials.create() with bogus password data]
+ expected: FAIL
+
+ [navigator.credentials.create() with bogus federated data]
+ expected: FAIL
+
+ [navigator.credentials.create() with bogus password and federated data]
+ expected: FAIL
diff --git a/testing/web-platform/meta/credential-management/fedcm-cross-origin-policy.https.html.ini b/testing/web-platform/meta/credential-management/fedcm-cross-origin-policy.https.html.ini
new file mode 100644
index 0000000000..d81a72eaa4
--- /dev/null
+++ b/testing/web-platform/meta/credential-management/fedcm-cross-origin-policy.https.html.ini
@@ -0,0 +1,3 @@
+[fedcm-cross-origin-policy.https.html]
+ [Test that COEP policy do not apply to FedCM requests]
+ expected: FAIL
diff --git a/testing/web-platform/meta/credential-management/fedcm-csp.https.html.ini b/testing/web-platform/meta/credential-management/fedcm-csp.https.html.ini
new file mode 100644
index 0000000000..584e0fd733
--- /dev/null
+++ b/testing/web-platform/meta/credential-management/fedcm-csp.https.html.ini
@@ -0,0 +1,7 @@
+[fedcm-csp.https.html]
+ expected:
+ if os == "mac": [OK, TIMEOUT]
+ [Provider configURL should honor Content-Security-Policy.]
+ expected:
+ if os == "mac": [FAIL, TIMEOUT]
+ FAIL
diff --git a/testing/web-platform/meta/credential-management/fedcm-iframe.https.html.ini b/testing/web-platform/meta/credential-management/fedcm-iframe.https.html.ini
new file mode 100644
index 0000000000..406028ff78
--- /dev/null
+++ b/testing/web-platform/meta/credential-management/fedcm-iframe.https.html.ini
@@ -0,0 +1,12 @@
+[fedcm-iframe.https.html]
+ [FedCM enabled in 2 level deep nested iframe. FedCM should be enabled regardless of iframe nesting depth]
+ expected: FAIL
+
+ [FedCM disabled in cross origin iframe without permissions policy]
+ expected: FAIL
+
+ [FedCM disabled in 2 level deep nested iframe where innermost iframe does not have permission policy]
+ expected: FAIL
+
+ [FedCM disabled in 2 level deep nested iframe where middle iframe does not have permission policy]
+ expected: FAIL
diff --git a/testing/web-platform/meta/credential-management/fedcm-logout-rps.https.html.ini b/testing/web-platform/meta/credential-management/fedcm-logout-rps.https.html.ini
new file mode 100644
index 0000000000..6bcdee180c
--- /dev/null
+++ b/testing/web-platform/meta/credential-management/fedcm-logout-rps.https.html.ini
@@ -0,0 +1,5 @@
+[fedcm-logout.https.html]
+ expected: TIMEOUT
+
+[fedcm-logout-rps.https.html]
+ expected: TIMEOUT
diff --git a/testing/web-platform/meta/credential-management/fedcm-multi-idp/get-before-and-after-onload.https.html.ini b/testing/web-platform/meta/credential-management/fedcm-multi-idp/get-before-and-after-onload.https.html.ini
new file mode 100644
index 0000000000..d074127bb4
--- /dev/null
+++ b/testing/web-platform/meta/credential-management/fedcm-multi-idp/get-before-and-after-onload.https.html.ini
@@ -0,0 +1,4 @@
+[get-before-and-after-onload.https.html]
+ expected: ERROR
+ [When there's a `get` call before onload, a `get` call which occurs after onload but before the first `get` call resolves, should be rejected.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/credential-management/fedcm-multi-idp/get-before-and-during-onload.https.html.ini b/testing/web-platform/meta/credential-management/fedcm-multi-idp/get-before-and-during-onload.https.html.ini
new file mode 100644
index 0000000000..3fc5c09c93
--- /dev/null
+++ b/testing/web-platform/meta/credential-management/fedcm-multi-idp/get-before-and-during-onload.https.html.ini
@@ -0,0 +1,4 @@
+[get-before-and-during-onload.https.html]
+ expected: ERROR
+ [A `get` call before onload and a `get` call during onload should be combined.]
+ expected: TIMEOUT
diff --git a/testing/web-platform/meta/credential-management/fedcm-multi-idp/get-before-onload-and-during-dom-content-loaded.https.html.ini b/testing/web-platform/meta/credential-management/fedcm-multi-idp/get-before-onload-and-during-dom-content-loaded.https.html.ini
new file mode 100644
index 0000000000..dfe35f9c22
--- /dev/null
+++ b/testing/web-platform/meta/credential-management/fedcm-multi-idp/get-before-onload-and-during-dom-content-loaded.https.html.ini
@@ -0,0 +1,4 @@
+[get-before-onload-and-during-dom-content-loaded.https.html]
+ expected: ERROR
+ [A `get` call before onload and a `get` call during DOMContentLoaded event should combine despite being called from different tasks.]
+ expected: TIMEOUT
diff --git a/testing/web-platform/meta/credential-management/fedcm-multi-idp/multiple-gets-after-onload.https.html.ini b/testing/web-platform/meta/credential-management/fedcm-multi-idp/multiple-gets-after-onload.https.html.ini
new file mode 100644
index 0000000000..1d0a0ca094
--- /dev/null
+++ b/testing/web-platform/meta/credential-management/fedcm-multi-idp/multiple-gets-after-onload.https.html.ini
@@ -0,0 +1,3 @@
+[multiple-gets-after-onload.https.html]
+ [No `get` calls before or during onload, multiple `get` calls after onload in the same task are allowed.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/credential-management/fedcm-multi-idp/multiple-gets-before-onload.https.html.ini b/testing/web-platform/meta/credential-management/fedcm-multi-idp/multiple-gets-before-onload.https.html.ini
new file mode 100644
index 0000000000..4247c9581f
--- /dev/null
+++ b/testing/web-platform/meta/credential-management/fedcm-multi-idp/multiple-gets-before-onload.https.html.ini
@@ -0,0 +1,4 @@
+[multiple-gets-before-onload.https.html]
+ expected: ERROR
+ [Multiple get calls before window onload are allowed.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/credential-management/fedcm-multi-idp/multiple-gets-during-onload.https.html.ini b/testing/web-platform/meta/credential-management/fedcm-multi-idp/multiple-gets-during-onload.https.html.ini
new file mode 100644
index 0000000000..26334a1646
--- /dev/null
+++ b/testing/web-platform/meta/credential-management/fedcm-multi-idp/multiple-gets-during-onload.https.html.ini
@@ -0,0 +1,4 @@
+[multiple-gets-during-onload.https.html]
+ expected: ERROR
+ [No `get` calls before onload, multiple `get` calls during onload are allowed.]
+ expected: TIMEOUT
diff --git a/testing/web-platform/meta/credential-management/fedcm-multi-idp/single-get-after-onload.https.html.ini b/testing/web-platform/meta/credential-management/fedcm-multi-idp/single-get-after-onload.https.html.ini
new file mode 100644
index 0000000000..b98e6cebd2
--- /dev/null
+++ b/testing/web-platform/meta/credential-management/fedcm-multi-idp/single-get-after-onload.https.html.ini
@@ -0,0 +1,3 @@
+[single-get-after-onload.https.html]
+ [Single `get` call after onload is allowed.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/credential-management/fedcm-multi-idp/single-get-before-onload.https.html.ini b/testing/web-platform/meta/credential-management/fedcm-multi-idp/single-get-before-onload.https.html.ini
new file mode 100644
index 0000000000..55378836b1
--- /dev/null
+++ b/testing/web-platform/meta/credential-management/fedcm-multi-idp/single-get-before-onload.https.html.ini
@@ -0,0 +1,4 @@
+[single-get-before-onload.https.html]
+ expected: ERROR
+ [Single `get` call before onload is allowed.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/credential-management/fedcm-multi-idp/single-get-during-onload.https.html.ini b/testing/web-platform/meta/credential-management/fedcm-multi-idp/single-get-during-onload.https.html.ini
new file mode 100644
index 0000000000..7f6c696415
--- /dev/null
+++ b/testing/web-platform/meta/credential-management/fedcm-multi-idp/single-get-during-onload.https.html.ini
@@ -0,0 +1,4 @@
+[single-get-during-onload.https.html]
+ expected: ERROR
+ [Single `get` call during onload is allowed.]
+ expected: TIMEOUT
diff --git a/testing/web-platform/meta/credential-management/fedcm-network-requests.https.html.ini b/testing/web-platform/meta/credential-management/fedcm-network-requests.https.html.ini
new file mode 100644
index 0000000000..ca7f4571ef
--- /dev/null
+++ b/testing/web-platform/meta/credential-management/fedcm-network-requests.https.html.ini
@@ -0,0 +1,63 @@
+[fedcm-network-requests.https.html]
+ expected: ERROR
+ [Test the abort signal]
+ expected:
+ if os == "linux": [FAIL, TIMEOUT]
+ FAIL
+
+ [Successfully obtaining token should resolve the promise.]
+ expected: FAIL
+
+ [Test that the promise is rejected if the manifest is not in the manifest list]
+ expected:
+ if os == "linux": [FAIL, TIMEOUT, NOTRUN]
+ FAIL
+
+ [Reject when configURL is invalid]
+ expected: FAIL
+
+ [Reject when configURL is missing]
+ expected: FAIL
+
+ [Test that token endpoint does not follow redirects]
+ expected:
+ if os == "linux": [NOTRUN, FAIL, TIMEOUT]
+ if os == "win": [FAIL, TIMEOUT]
+ FAIL
+
+ [Test that service worker cannot observe fetches performed by FedCM API]
+ expected:
+ if os == "win": [FAIL, TIMEOUT, NOTRUN]
+ if os == "linux": [NOTRUN, TIMEOUT]
+ FAIL
+
+ [Reject when provider list is empty]
+ expected: FAIL
+
+ [Get after abort should work]
+ expected:
+ if os == "linux": [FAIL, TIMEOUT, NOTRUN]
+ FAIL
+
+ [Reject when clientId is missing]
+ expected: FAIL
+
+ [When there's a pending request, a second `get` call should be rejected. ]
+ expected: FAIL
+
+ [nonce is not required in FederatedIdentityProvider.]
+ expected: FAIL
+
+ [Test that promise is rejected if accounts endpoint redirects]
+ expected:
+ if os == "linux": [TIMEOUT, FAIL, NOTRUN]
+ FAIL
+
+ [Test client_metadata request]
+ expected:
+ if os == "linux": [NOTRUN, FAIL, TIMEOUT]
+ if os == "win": [FAIL, NOTRUN]
+ FAIL
+
+ [Reject when clientId is empty]
+ expected: FAIL
diff --git a/testing/web-platform/meta/credential-management/federatedcredential-framed-get.sub.https.html.ini b/testing/web-platform/meta/credential-management/federatedcredential-framed-get.sub.https.html.ini
new file mode 100644
index 0000000000..118e7b092b
--- /dev/null
+++ b/testing/web-platform/meta/credential-management/federatedcredential-framed-get.sub.https.html.ini
@@ -0,0 +1,2 @@
+[federatedcredential-framed-get.sub.https.html]
+ expected: ERROR
diff --git a/testing/web-platform/meta/credential-management/idlharness.https.window.js.ini b/testing/web-platform/meta/credential-management/idlharness.https.window.js.ini
new file mode 100644
index 0000000000..5338dd53f7
--- /dev/null
+++ b/testing/web-platform/meta/credential-management/idlharness.https.window.js.ini
@@ -0,0 +1,111 @@
+[idlharness.https.window.html]
+ [PasswordCredential interface: existence and properties of interface object]
+ expected: FAIL
+
+ [PasswordCredential interface object length]
+ expected: FAIL
+
+ [PasswordCredential interface object name]
+ expected: FAIL
+
+ [PasswordCredential interface: existence and properties of interface prototype object]
+ expected: FAIL
+
+ [PasswordCredential interface: existence and properties of interface prototype object's "constructor" property]
+ expected: FAIL
+
+ [PasswordCredential interface: existence and properties of interface prototype object's @@unscopables property]
+ expected: FAIL
+
+ [PasswordCredential interface: attribute password]
+ expected: FAIL
+
+ [PasswordCredential interface: attribute name]
+ expected: FAIL
+
+ [PasswordCredential interface: attribute iconURL]
+ expected: FAIL
+
+ [FederatedCredential interface: existence and properties of interface object]
+ expected: FAIL
+
+ [FederatedCredential interface object length]
+ expected: FAIL
+
+ [FederatedCredential interface object name]
+ expected: FAIL
+
+ [FederatedCredential interface: existence and properties of interface prototype object]
+ expected: FAIL
+
+ [FederatedCredential interface: existence and properties of interface prototype object's "constructor" property]
+ expected: FAIL
+
+ [FederatedCredential interface: existence and properties of interface prototype object's @@unscopables property]
+ expected: FAIL
+
+ [FederatedCredential interface: attribute provider]
+ expected: FAIL
+
+ [FederatedCredential interface: attribute protocol]
+ expected: FAIL
+
+ [FederatedCredential interface: attribute name]
+ expected: FAIL
+
+ [FederatedCredential interface: attribute iconURL]
+ expected: FAIL
+
+ [PasswordCredential interface: passwordCredential must inherit property "name" with the proper type]
+ expected: FAIL
+
+ [Stringification of passwordCredential]
+ expected: FAIL
+
+ [FederatedCredential interface: federatedCredential must inherit property "protocol" with the proper type]
+ expected: FAIL
+
+ [Credential interface: federatedCredential must inherit property "type" with the proper type]
+ expected: FAIL
+
+ [Stringification of federatedCredential]
+ expected: FAIL
+
+ [Credential interface: passwordCredential must inherit property "type" with the proper type]
+ expected: FAIL
+
+ [FederatedCredential interface: federatedCredential must inherit property "provider" with the proper type]
+ expected: FAIL
+
+ [PasswordCredential interface: passwordCredential must inherit property "password" with the proper type]
+ expected: FAIL
+
+ [PasswordCredential must be primary interface of passwordCredential]
+ expected: FAIL
+
+ [FederatedCredential must be primary interface of federatedCredential]
+ expected: FAIL
+
+ [PasswordCredential interface: passwordCredential must inherit property "iconURL" with the proper type]
+ expected: FAIL
+
+ [FederatedCredential interface: federatedCredential must inherit property "iconURL" with the proper type]
+ expected: FAIL
+
+ [FederatedCredential interface: federatedCredential must inherit property "name" with the proper type]
+ expected: FAIL
+
+ [Credential interface: federatedCredential must inherit property "id" with the proper type]
+ expected: FAIL
+
+ [Credential interface: passwordCredential must inherit property "id" with the proper type]
+ expected: FAIL
+
+ [Credential interface: federatedCredential must inherit property "isConditionalMediationAvailable()" with the proper type]
+ expected: FAIL
+
+ [Credential interface: passwordCredential must inherit property "isConditionalMediationAvailable()" with the proper type]
+ expected: FAIL
+
+ [Credential interface: operation isConditionalMediationAvailable()]
+ expected: FAIL
diff --git a/testing/web-platform/meta/credential-management/otpcredential-get-basics.https.html.ini b/testing/web-platform/meta/credential-management/otpcredential-get-basics.https.html.ini
new file mode 100644
index 0000000000..75dcda6bce
--- /dev/null
+++ b/testing/web-platform/meta/credential-management/otpcredential-get-basics.https.html.ini
@@ -0,0 +1,18 @@
+[otpcredential-get-basics.https.html]
+ [Handle multiple requests in different order.]
+ expected: FAIL
+
+ [Handle multiple requests with success and error.]
+ expected: FAIL
+
+ [Basic usage]
+ expected: FAIL
+
+ [Deal with cancelled requests]
+ expected: FAIL
+
+ [Should abort request]
+ expected: FAIL
+
+ [Should abort request with reason]
+ expected: FAIL
diff --git a/testing/web-platform/meta/credential-management/otpcredential-iframe.https.html.ini b/testing/web-platform/meta/credential-management/otpcredential-iframe.https.html.ini
new file mode 100644
index 0000000000..fff684ccbb
--- /dev/null
+++ b/testing/web-platform/meta/credential-management/otpcredential-iframe.https.html.ini
@@ -0,0 +1,10 @@
+[otpcredential-iframe.https.html]
+ [Test OTPCredential enabled in same origin iframes]
+ expected: FAIL
+
+ [OTPCredential enabled in cross origin iframes with permissions policy]
+ expected: FAIL
+
+ [OTPCredential disabled in cross origin iframes without permissions policy]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/credential-management/passwordcredential-framed-get.sub.https.html.ini b/testing/web-platform/meta/credential-management/passwordcredential-framed-get.sub.https.html.ini
new file mode 100644
index 0000000000..386e8c3992
--- /dev/null
+++ b/testing/web-platform/meta/credential-management/passwordcredential-framed-get.sub.https.html.ini
@@ -0,0 +1,2 @@
+[passwordcredential-framed-get.sub.https.html]
+ expected: ERROR