mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 04:05:32 +00:00
1ea67058f6
Differential Revision: https://phabricator.services.mozilla.com/D31734 --HG-- extra : moz-landing-system : lando
44 lines
1.5 KiB
INI
44 lines
1.5 KiB
INI
[payment-request-canmakepayment-method.https.html]
|
|
expected: ERROR
|
|
[If payment method identifier and serialized parts are supported, resolve promise with true.]
|
|
expected:
|
|
if not e10s: FAIL
|
|
|
|
[Optionally, at the user agent's discretion, return a promise rejected with a "NotAllowedError" DOMException.]
|
|
expected:
|
|
if not e10s: FAIL
|
|
|
|
[If request.[[state\]\] is "closed", then return a promise rejected with an "InvalidStateError" DOMException.]
|
|
expected: FAIL
|
|
|
|
[If payment method identifier is unknown, resolve promise with false.]
|
|
expected:
|
|
if not e10s: FAIL
|
|
|
|
[If request.[[state\]\] is "interactive", then return a promise rejected with an "InvalidStateError" DOMException.]
|
|
expected: FAIL
|
|
|
|
[If request.[[state\]\] is "created", then return a promise that resolves to true for known method.]
|
|
expected:
|
|
if not e10s: FAIL
|
|
|
|
[Calling canMakePayment() multiple times is always a new object.]
|
|
expected:
|
|
if not e10s: FAIL
|
|
|
|
[If payment method identifier are supported, resolve promise with true.]
|
|
expected:
|
|
if debug and not e10s and (os == "linux"): FAIL
|
|
if os == "android" and not e10s: FAIL
|
|
|
|
[Mix of supported and unsupported methods, at least one method is supported.]
|
|
expected:
|
|
if debug and not e10s and (os == "linux"): FAIL
|
|
if os == "android" and not e10s: FAIL
|
|
|
|
[All methods are unsupported]
|
|
expected:
|
|
if debug and not e10s and (os == "linux"): FAIL
|
|
if os == "android" and not e10s: FAIL
|
|
|