diff options
Diffstat (limited to 'testing/web-platform/meta/secure-payment-confirmation')
14 files changed, 200 insertions, 0 deletions
diff --git a/testing/web-platform/meta/secure-payment-confirmation/authentication-accepted.https.html.ini b/testing/web-platform/meta/secure-payment-confirmation/authentication-accepted.https.html.ini new file mode 100644 index 0000000000..92eb2958ab --- /dev/null +++ b/testing/web-platform/meta/secure-payment-confirmation/authentication-accepted.https.html.ini @@ -0,0 +1,3 @@ +[authentication-accepted.https.html] + [Successful SPC authentication] + expected: FAIL diff --git a/testing/web-platform/meta/secure-payment-confirmation/authentication-cannot-bypass-spc.https.html.ini b/testing/web-platform/meta/secure-payment-confirmation/authentication-cannot-bypass-spc.https.html.ini new file mode 100644 index 0000000000..214a206c1b --- /dev/null +++ b/testing/web-platform/meta/secure-payment-confirmation/authentication-cannot-bypass-spc.https.html.ini @@ -0,0 +1,3 @@ +[authentication-cannot-bypass-spc.https.html] + [Cannot bypass SPC authentication UI via navigator.credentials.get] + expected: FAIL diff --git a/testing/web-platform/meta/secure-payment-confirmation/authentication-cross-origin.sub.https.html.ini b/testing/web-platform/meta/secure-payment-confirmation/authentication-cross-origin.sub.https.html.ini new file mode 100644 index 0000000000..a70bcae0a4 --- /dev/null +++ b/testing/web-platform/meta/secure-payment-confirmation/authentication-cross-origin.sub.https.html.ini @@ -0,0 +1,3 @@ +[authentication-cross-origin.sub.https.html] + [Cross-origin SPC authentication ceremony] + expected: FAIL diff --git a/testing/web-platform/meta/secure-payment-confirmation/authentication-disallowed-when-hidden.https.html.ini b/testing/web-platform/meta/secure-payment-confirmation/authentication-disallowed-when-hidden.https.html.ini new file mode 100644 index 0000000000..aa2c4b2171 --- /dev/null +++ b/testing/web-platform/meta/secure-payment-confirmation/authentication-disallowed-when-hidden.https.html.ini @@ -0,0 +1,3 @@ +[authentication-disallowed-when-hidden.https.html] + [SPC authentication cannot be triggered from a hidden context] + expected: FAIL diff --git a/testing/web-platform/meta/secure-payment-confirmation/authentication-icon-data-url.https.html.ini b/testing/web-platform/meta/secure-payment-confirmation/authentication-icon-data-url.https.html.ini new file mode 100644 index 0000000000..411abd8b2f --- /dev/null +++ b/testing/web-platform/meta/secure-payment-confirmation/authentication-icon-data-url.https.html.ini @@ -0,0 +1,3 @@ +[authentication-icon-data-url.https.html] + [SPC authentication with data URL instrument icon] + expected: FAIL diff --git a/testing/web-platform/meta/secure-payment-confirmation/authentication-in-iframe.sub.https.html.ini b/testing/web-platform/meta/secure-payment-confirmation/authentication-in-iframe.sub.https.html.ini new file mode 100644 index 0000000000..c90c84974e --- /dev/null +++ b/testing/web-platform/meta/secure-payment-confirmation/authentication-in-iframe.sub.https.html.ini @@ -0,0 +1,8 @@ +[authentication-in-iframe.sub.https.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [SPC authentication ceremony in cross-origin iframe] + expected: FAIL + + [SPC authentication ceremony in cross-origin iframe without payment permission] + expected: FAIL diff --git a/testing/web-platform/meta/secure-payment-confirmation/authentication-invalid-icon.https.html.ini b/testing/web-platform/meta/secure-payment-confirmation/authentication-invalid-icon.https.html.ini new file mode 100644 index 0000000000..977e2b1887 --- /dev/null +++ b/testing/web-platform/meta/secure-payment-confirmation/authentication-invalid-icon.https.html.ini @@ -0,0 +1,8 @@ +[authentication-invalid-icon.https.html] + expected: + if (os == "android") and fission: [TIMEOUT, OK] + [SPC authentication with an invalid icon] + expected: FAIL + + [SPC authentication allowing an invalid icon with iconMustBeShown option.] + expected: FAIL diff --git a/testing/web-platform/meta/secure-payment-confirmation/authentication-optout.https.html.ini b/testing/web-platform/meta/secure-payment-confirmation/authentication-optout.https.html.ini new file mode 100644 index 0000000000..d8d8cd9e89 --- /dev/null +++ b/testing/web-platform/meta/secure-payment-confirmation/authentication-optout.https.html.ini @@ -0,0 +1,5 @@ +[authentication-optout.https.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [SPC opt-out returns OptOutError] + expected: FAIL diff --git a/testing/web-platform/meta/secure-payment-confirmation/authentication-rejected.https.html.ini b/testing/web-platform/meta/secure-payment-confirmation/authentication-rejected.https.html.ini new file mode 100644 index 0000000000..828dea8cfd --- /dev/null +++ b/testing/web-platform/meta/secure-payment-confirmation/authentication-rejected.https.html.ini @@ -0,0 +1,5 @@ +[authentication-rejected.https.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [Rejected SPC authentication] + expected: FAIL diff --git a/testing/web-platform/meta/secure-payment-confirmation/authentication-requires-user-activation.https.html.ini b/testing/web-platform/meta/secure-payment-confirmation/authentication-requires-user-activation.https.html.ini new file mode 100644 index 0000000000..e5e61b4f93 --- /dev/null +++ b/testing/web-platform/meta/secure-payment-confirmation/authentication-requires-user-activation.https.html.ini @@ -0,0 +1,3 @@ +[authentication-requires-user-activation.https.html] + [SPC authentication not allowed without a user activation] + expected: FAIL diff --git a/testing/web-platform/meta/secure-payment-confirmation/constructor-validate-payment-method-data.https.html.ini b/testing/web-platform/meta/secure-payment-confirmation/constructor-validate-payment-method-data.https.html.ini new file mode 100644 index 0000000000..278a53eaac --- /dev/null +++ b/testing/web-platform/meta/secure-payment-confirmation/constructor-validate-payment-method-data.https.html.ini @@ -0,0 +1,53 @@ +[constructor-validate-payment-method-data.https.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [Empty credentialIds field throws exception.] + expected: FAIL + + [Empty ID within credentialIds field throws exception.] + expected: FAIL + + [Multiple IDs in credentialIds is valid.] + expected: FAIL + + [Large credentialIds value throws exception.] + expected: FAIL + + [Null challenge field throws exception.] + expected: FAIL + + [Empty challenge field throws exception.] + expected: FAIL + + [Large challenge value throws exception.] + expected: FAIL + + [Empty instrument.displayName field throws exception.] + expected: FAIL + + [Empty instrument.icon field throws exception.] + expected: FAIL + + [Invalid instrument.icon URL throws exception.] + expected: FAIL + + [Invalid rpId field throws exception.] + expected: FAIL + + [Omitting both payee origin and payee name throws exception.] + expected: FAIL + + [Payee name without payee origin is valid.] + expected: FAIL + + [Providing both payee name and payee origin is valid.] + expected: FAIL + + [Empty payee name throws exception.] + expected: FAIL + + [Empty payee origin throws exception.] + expected: FAIL + + [Non-HTTPS payee origin throws exception.] + expected: FAIL diff --git a/testing/web-platform/meta/secure-payment-confirmation/constructor.https.html.ini b/testing/web-platform/meta/secure-payment-confirmation/constructor.https.html.ini new file mode 100644 index 0000000000..59e9eb0639 --- /dev/null +++ b/testing/web-platform/meta/secure-payment-confirmation/constructor.https.html.ini @@ -0,0 +1,32 @@ +[constructor.https.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [Valid payment method data does not throw exceptions.] + expected: FAIL + + [The timeout field is optional.] + expected: FAIL + + [Extra payment method not allowed afterward.] + expected: FAIL + + [Extra payment method not allowed beforehand.] + expected: FAIL + + [The credentialIds field is required.] + expected: FAIL + + [The challenge field is required.] + expected: FAIL + + [Instrument field is required.] + expected: FAIL + + [Instrument display name is required.] + expected: FAIL + + [Instrument icon is required.] + expected: FAIL + + [rpId is required.] + expected: FAIL diff --git a/testing/web-platform/meta/secure-payment-confirmation/enrollment-in-iframe.sub.https.html.ini b/testing/web-platform/meta/secure-payment-confirmation/enrollment-in-iframe.sub.https.html.ini new file mode 100644 index 0000000000..15aa6f665b --- /dev/null +++ b/testing/web-platform/meta/secure-payment-confirmation/enrollment-in-iframe.sub.https.html.ini @@ -0,0 +1,11 @@ +[enrollment-in-iframe.sub.https.html] + expected: + if (os == "android") and fission: [TIMEOUT, OK] + [SPC enrollment in cross-origin iframe] + expected: FAIL + + [SPC enrollment in cross-origin iframe without payment permission] + expected: FAIL + + [SPC enrollment in cross-origin iframe fails without user activation] + expected: FAIL diff --git a/testing/web-platform/meta/secure-payment-confirmation/enrollment.https.html.ini b/testing/web-platform/meta/secure-payment-confirmation/enrollment.https.html.ini new file mode 100644 index 0000000000..2b32432b2e --- /dev/null +++ b/testing/web-platform/meta/secure-payment-confirmation/enrollment.https.html.ini @@ -0,0 +1,60 @@ +[enrollment.https.html] + expected: + if os == "android": OK + TIMEOUT + [Payment credential is created successfully.] + expected: + if (os == "linux") and not debug and (processor == "x86_64") and fission: [FAIL, TIMEOUT] + if (os == "linux") and not debug and (processor == "x86_64") and not fission: [FAIL, TIMEOUT] + if (os == "linux") and not debug and (processor == "x86"): [TIMEOUT, FAIL] + if (os == "linux") and debug: [FAIL, TIMEOUT] + if (os == "mac") and debug: [FAIL, TIMEOUT] + if (os == "mac") and not debug: [TIMEOUT, FAIL] + FAIL + + [Payment credential requires userVerification to be "required", not "preferred".] + expected: + if (os == "linux") and ccov: [TIMEOUT, NOTRUN, FAIL] + if (os == "linux") and not debug and (processor == "x86_64") and fission: [TIMEOUT, NOTRUN, FAIL] + if (os == "linux") and not debug and (processor == "x86_64") and not fission: [TIMEOUT, NOTRUN, FAIL] + if (os == "linux") and not debug and (processor == "x86"): [NOTRUN, FAIL, TIMEOUT] + if (os == "mac") and not debug: [NOTRUN, FAIL, TIMEOUT] + if (os == "mac") and debug: [TIMEOUT, FAIL, NOTRUN] + if (os == "linux") and debug: [TIMEOUT, FAIL, NOTRUN] + FAIL + + [Payment credential requires userVerification to be "required", not "discouraged".] + expected: + if os == "mac": [NOTRUN, FAIL, TIMEOUT] + if os == "linux": [NOTRUN, TIMEOUT] + FAIL + + [Payment credential requires authenticatorAttachment to be "platform", not "cross-platform".] + expected: + if os == "android": FAIL + if os == "win": TIMEOUT + NOTRUN + + [Payment credential allows residentKey to be "preferred".] + expected: + if (os == "linux") and not debug and fission and (processor == "x86"): [NOTRUN, FAIL, TIMEOUT] + if (os == "linux") and not debug and fission and (processor == "x86_64"): [FAIL, NOTRUN, TIMEOUT] + if (os == "linux") and not debug and not fission: [FAIL, NOTRUN, TIMEOUT] + if (os == "mac") and not debug: [NOTRUN, TIMEOUT] + FAIL + + [Payment credential does not allow residentKey to be "discouraged".] + expected: + if os == "win": FAIL + if os == "android": FAIL + NOTRUN + + [Payment credential abort without reason] + expected: + if os == "android": PASS + NOTRUN + + [Payment credential abort reason with Error] + expected: + if os == "android": FAIL + NOTRUN |