diff options
Diffstat (limited to 'testing/web-platform/meta/secure-payment-confirmation')
13 files changed, 160 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-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..bab4f43308 --- /dev/null +++ b/testing/web-platform/meta/secure-payment-confirmation/authentication-in-iframe.sub.https.html.ini @@ -0,0 +1,6 @@ +[authentication-in-iframe.sub.https.html] + [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..48b3321f03 --- /dev/null +++ b/testing/web-platform/meta/secure-payment-confirmation/authentication-invalid-icon.https.html.ini @@ -0,0 +1,6 @@ +[authentication-invalid-icon.https.html] + [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..434357f537 --- /dev/null +++ b/testing/web-platform/meta/secure-payment-confirmation/authentication-optout.https.html.ini @@ -0,0 +1,3 @@ +[authentication-optout.https.html] + [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..e9f5bfee98 --- /dev/null +++ b/testing/web-platform/meta/secure-payment-confirmation/authentication-rejected.https.html.ini @@ -0,0 +1,3 @@ +[authentication-rejected.https.html] + [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..31229ed4ae --- /dev/null +++ b/testing/web-platform/meta/secure-payment-confirmation/enrollment-in-iframe.sub.https.html.ini @@ -0,0 +1,19 @@ +[enrollment-in-iframe.sub.https.html] + expected: + if (os == "linux") and not debug and not asan and not tsan: [OK, TIMEOUT] + if (os == "mac") and not debug: [OK, TIMEOUT] + [SPC enrollment in cross-origin iframe] + expected: + if (os == "mac") and not debug: [FAIL, TIMEOUT] + FAIL + + [SPC enrollment in cross-origin iframe without payment permission] + expected: + if (os == "linux") and not debug and not asan and not tsan: [FAIL, TIMEOUT] + if (os == "mac") and not debug: [FAIL, TIMEOUT, NOTRUN] + FAIL + + [SPC enrollment in cross-origin iframe fails without user activation] + expected: + if (os == "mac") and not debug: [FAIL, NOTRUN] + 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..33eedc5cf8 --- /dev/null +++ b/testing/web-platform/meta/secure-payment-confirmation/enrollment.https.html.ini @@ -0,0 +1,23 @@ +[enrollment.https.html] + disabled: + if os == "linux": https://bugzilla.mozilla.org/show_bug.cgi?id=1845961 + if os == "mac": https://bugzilla.mozilla.org/show_bug.cgi?id=1845961 + [Payment credential is created successfully.] + expected: FAIL + + [Payment credential requires userVerification to be "required", not "preferred".] + expected: + if (os == "linux") and ccov: [TIMEOUT, NOTRUN, FAIL] + FAIL + + [Payment credential requires userVerification to be "required", not "discouraged".] + expected: FAIL + + [Payment credential requires authenticatorAttachment to be "platform", not "cross-platform".] + expected: FAIL + + [Payment credential allows residentKey to be "preferred".] + expected: FAIL + + [Payment credential does not allow residentKey to be "discouraged".] + expected: FAIL |