diff options
Diffstat (limited to 'testing/web-platform/meta/payment-request')
8 files changed, 97 insertions, 0 deletions
diff --git a/testing/web-platform/meta/payment-request/__dir__.ini b/testing/web-platform/meta/payment-request/__dir__.ini new file mode 100644 index 0000000000..6daa996be7 --- /dev/null +++ b/testing/web-platform/meta/payment-request/__dir__.ini @@ -0,0 +1,3 @@ +implementation-status: backlog +prefs: [dom.payments.request.enabled:true] +disabled: true # https://bugzilla.mozilla.org/show_bug.cgi?id=1514425
\ No newline at end of file diff --git a/testing/web-platform/meta/payment-request/idlharness.https.window.js.ini b/testing/web-platform/meta/payment-request/idlharness.https.window.js.ini new file mode 100644 index 0000000000..09d3e3eefa --- /dev/null +++ b/testing/web-platform/meta/payment-request/idlharness.https.window.js.ini @@ -0,0 +1,7 @@ +[idlharness.https.window.html] + [PaymentAddress interface: attribute languageCode] + expected: FAIL + + [PaymentResponse interface: operation retry(PaymentValidationErrors)] + expected: + if (os == "android"): FAIL diff --git a/testing/web-platform/meta/payment-request/payment-is-showing.https.html.ini b/testing/web-platform/meta/payment-request/payment-is-showing.https.html.ini new file mode 100644 index 0000000000..10a5ccc039 --- /dev/null +++ b/testing/web-platform/meta/payment-request/payment-is-showing.https.html.ini @@ -0,0 +1,48 @@ +[payment-is-showing.https.html] + expected: + TIMEOUT + [Simple payment-relevant browsing context's payment request is showing boolean is true] + expected: FAIL + + [Navigating an nested browsing context sets 'payment request is showing boolean' back to false] + expected: FAIL + + [Given multiple nested browsing contexts, and an iframe calls show() first, other nested browsing contexts can't show a request.] + expected: + if not debug and (os == "linux"): TIMEOUT + FAIL + + [Using a popup window prevents the top-browsing context from showing a payment request] + expected: FAIL + + [An iframe cannot show a payment request if the top-level window is already showing one.] + expected: FAIL + + [Given multiple nested browsing contexts, and popup calls show() first, other nested browsing contexts can't show a request.] + expected: + FAIL + + [The top browsing context can only show one payment sheet at a time.] + expected: FAIL + + [Navigating an iframe as a nested browsing context sets 'payment request is showing boolean' to false.] + expected: + if (os == "linux"): TIMEOUT + if (os == "mac"): TIMEOUT + if os == "win": TIMEOUT + FAIL + + [Given multiple nested browsing contexts, and window calls show() first, other nested browsing contexts can't show a request.] + expected: + FAIL + + [If an iframe shows a payment request, the top-level browsing context can't also show one.] + expected: FAIL + + [Navigating a popup as a nested browsing context sets 'payment request is showing boolean' to false.] + expected: + if os == "linux": NOTRUN + if os == "mac": NOTRUN + if os == "win": NOTRUN + FAIL + diff --git a/testing/web-platform/meta/payment-request/payment-request-abort-method.https.html.ini b/testing/web-platform/meta/payment-request/payment-request-abort-method.https.html.ini new file mode 100644 index 0000000000..afa9ef9f08 --- /dev/null +++ b/testing/web-platform/meta/payment-request/payment-request-abort-method.https.html.ini @@ -0,0 +1,16 @@ +[payment-request-abort-method.https.html] + [Test for PaymentRequest.abort() method] + expected: FAIL + + [Test for PaymentRequest.abort() method 1] + expected: FAIL + + [The same request cannot be shown multiple times.] + expected: FAIL + + [aborting a request before it is shown doesn't prevent it from being shown later.] + expected: FAIL + + [Aborting a request before it is shown doesn't prevent it from being shown later.] + expected: FAIL + diff --git a/testing/web-platform/meta/payment-request/payment-request-canmakepayment-method.https.html.ini b/testing/web-platform/meta/payment-request/payment-request-canmakepayment-method.https.html.ini new file mode 100644 index 0000000000..da938ea035 --- /dev/null +++ b/testing/web-platform/meta/payment-request/payment-request-canmakepayment-method.https.html.ini @@ -0,0 +1,7 @@ +[payment-request-canmakepayment-method.https.html] + expected: ERROR + [If request.[[state\]\] is "closed", then return a promise rejected with an "InvalidStateError" DOMException.] + expected: FAIL + + [If request.[[state\]\] is "interactive", then return a promise rejected with an "InvalidStateError" DOMException.] + expected: FAIL diff --git a/testing/web-platform/meta/payment-request/payment-request-hasenrolledinstrument-method-protection.tentative.https.html.ini b/testing/web-platform/meta/payment-request/payment-request-hasenrolledinstrument-method-protection.tentative.https.html.ini new file mode 100644 index 0000000000..5701dbeffa --- /dev/null +++ b/testing/web-platform/meta/payment-request/payment-request-hasenrolledinstrument-method-protection.tentative.https.html.ini @@ -0,0 +1,4 @@ +[payment-request-hasenrolledinstrument-method-protection.tentative.https.html] + [Optionally, at the user agent's discretion, return a promise rejected with a "NotAllowedError" DOMException.] + expected: FAIL + diff --git a/testing/web-platform/meta/payment-request/payment-request-hasenrolledinstrument-method.tentative.https.html.ini b/testing/web-platform/meta/payment-request/payment-request-hasenrolledinstrument-method.tentative.https.html.ini new file mode 100644 index 0000000000..18cc0b0551 --- /dev/null +++ b/testing/web-platform/meta/payment-request/payment-request-hasenrolledinstrument-method.tentative.https.html.ini @@ -0,0 +1,10 @@ +[payment-request-hasenrolledinstrument-method.tentative.https.html] + [If request.[[state\]\] is "interactive", then return a promise rejected with an "InvalidStateError" DOMException.] + expected: FAIL + + [If request.[[state\]\] is "closed", then return a promise rejected with an "InvalidStateError" DOMException.] + expected: FAIL + + [hasEnrolledInstrument() resolves to false for unsupported payment methods.] + expected: FAIL + diff --git a/testing/web-platform/meta/payment-request/rejects_if_not_active.https.html.ini b/testing/web-platform/meta/payment-request/rejects_if_not_active.https.html.ini new file mode 100644 index 0000000000..2c46893a82 --- /dev/null +++ b/testing/web-platform/meta/payment-request/rejects_if_not_active.https.html.ini @@ -0,0 +1,2 @@ +[rejects_if_not_active.https.html] + disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1408234 |