diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /testing/web-platform/meta/credential-management | |
parent | Initial commit. (diff) | |
download | thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/credential-management')
24 files changed, 337 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..862c926793 --- /dev/null +++ b/testing/web-platform/meta/credential-management/fedcm-iframe.https.html.ini @@ -0,0 +1,16 @@ +[fedcm-iframe.https.html] + expected: + if os == "linux": [OK, TIMEOUT] + [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: + if os == "linux": [FAIL, TIMEOUT] + 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/abort-multiple-gets-through-first-idp.https.html.ini b/testing/web-platform/meta/credential-management/fedcm-multi-idp/abort-multiple-gets-through-first-idp.https.html.ini new file mode 100644 index 0000000000..4d4461cb1e --- /dev/null +++ b/testing/web-platform/meta/credential-management/fedcm-multi-idp/abort-multiple-gets-through-first-idp.https.html.ini @@ -0,0 +1,4 @@ +[abort-multiple-gets-through-first-idp.https.html] + expected: ERROR + [Test abort signal for a multi IDP request by aborting the first IDP] + expected: FAIL diff --git a/testing/web-platform/meta/credential-management/fedcm-multi-idp/abort-multiple-gets-through-second-idp.https.html.ini b/testing/web-platform/meta/credential-management/fedcm-multi-idp/abort-multiple-gets-through-second-idp.https.html.ini new file mode 100644 index 0000000000..6739dd2432 --- /dev/null +++ b/testing/web-platform/meta/credential-management/fedcm-multi-idp/abort-multiple-gets-through-second-idp.https.html.ini @@ -0,0 +1,4 @@ +[abort-multiple-gets-through-second-idp.https.html] + expected: ERROR + [Test abort signal for a multi IDP request by aborting the second IDP] + expected: FAIL 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-abort.https.html.ini b/testing/web-platform/meta/credential-management/fedcm-multi-idp/multiple-gets-after-abort.https.html.ini new file mode 100644 index 0000000000..bff023c0b7 --- /dev/null +++ b/testing/web-platform/meta/credential-management/fedcm-multi-idp/multiple-gets-after-abort.https.html.ini @@ -0,0 +1,4 @@ +[multiple-gets-after-abort.https.html] + expected: ERROR + [Multiple gets after aborting a multi IDP request should work] + expected: FAIL 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..6e235acbec --- /dev/null +++ b/testing/web-platform/meta/credential-management/fedcm-network-requests.https.html.ini @@ -0,0 +1,94 @@ +[fedcm-network-requests.https.html] + expected: ERROR + [Test the abort signal] + expected: + if os == "linux": [FAIL, TIMEOUT, NOTRUN] + 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] + if os == "win": [NOTRUN, FAIL, TIMEOUT] + 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": [NOTRUN, FAIL, TIMEOUT] + [FAIL, TIMEOUT] + + [Test that service worker cannot observe fetches performed by FedCM API] + expected: + if os == "linux": [NOTRUN, TIMEOUT] + [FAIL, TIMEOUT, NOTRUN] + + [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: + if os == "linux": [FAIL, NOTRUN] + FAIL + + [When there's a pending request, a second `get` call should be rejected. ] + expected: FAIL + + [nonce is not required in FederatedIdentityProvider.] + expected: + if os == "linux": [FAIL, NOTRUN] + FAIL + + [Test that promise is rejected if accounts endpoint redirects] + expected: + if os == "linux": [TIMEOUT, FAIL, NOTRUN] + if os == "win": [NOTRUN, FAIL, TIMEOUT] + FAIL + + [Test client_metadata request] + expected: + if os == "linux": [NOTRUN, FAIL, TIMEOUT] + [FAIL, TIMEOUT, NOTRUN] + + [Reject when clientId is empty] + expected: + if os == "linux": [FAIL, TIMEOUT] + FAIL + + [Test that User Info API does not work in the top frame] + expected: + if os == "win": [NOTRUN, FAIL, TIMEOUT] + if os == "linux": NOTRUN + [FAIL, TIMEOUT, NOTRUN] + + [Test that User Info API only works when invoked from iframe that is same origin as the IDP] + expected: + if os == "linux": NOTRUN + if os == "mac": [FAIL, TIMEOUT, NOTRUN] + if os == "win": [FAIL, TIMEOUT, NOTRUN] + [FAIL, NOTRUN] + + [Test basic User InFo API flow] + expected: + if os == "win": [FAIL, NOTRUN, TIMEOUT] + if os == "mac": [FAIL, NOTRUN, TIMEOUT] + NOTRUN + + [Test that the returning account from the two accounts will be auto re-authenticated.] + expected: + if os == "win": [NOTRUN, FAIL, TIMEOUT] + if os == "mac": [NOTRUN, FAIL, TIMEOUT] + NOTRUN 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 |