Files
firefox/testing/web-platform/meta/payment-handler/can-make-payment-event.https.html.ini
T
moz-wptsync-bot 963fb4b600 Bug 1444940 - [wpt-sync] Update web-platform-tests to 8913605beb997e6ceb54a7548c80dac53fdeb9f5, a=testonly
wpt-head: 8913605beb997e6ceb54a7548c80dac53fdeb9f5
wpt-type: landing
MozReview-Commit-ID: GMluIEWCSxU
2018-03-31 22:34:07 +01:00

32 lines
1.6 KiB
INI

[can-make-payment-event.https.html]
[If a payment handler is not installed, then the payment method is not supported.]
expected: FAIL
[If CanMakePaymentEvent.respondWith(false) is called, then the payment method is not supported.]
expected: FAIL
[If CanMakePaymentEvent.respondWith(Promise.resolve(false)) is called, then the payment method is not supported.]
expected: FAIL
[If CanMakePaymentEvent.respondWith(true) is called, then the payment method is supported.]
expected: FAIL
[If CanMakePaymentEvent.respondWith(Promise.resolve(true)) is called, then the payment method is supported.]
expected: FAIL
[If CanMakePaymentEvent.respondWith(Promise.reject(error)) is called, then the payment method is not supported.]
expected: FAIL
[If an app supports "basic-card" in general and that's what merchant requests as well, then capability filtering should make the app available for use. CanMakePaymentEvent should not be fired for "basic-card".]
expected: FAIL
[If an app has less specific "basic-card" capabilites than merchant's request, capability filtering should not make the app available for use. CanMakePaymentEvent should not be fired for "basic-card". ]
expected: FAIL
[If an app has the exact "basic-card" capabilities that a merchant requested, capability filtering should make the app available for use. CanMakePaymentEvent should not be fired for "basic-card".]
expected: FAIL
[If an app has more specific "basic-card" capabilities than merchant's request, capability filtering should make the app available for use. CanMakePaymentEvent should not be fired for "basic-card".]
expected: FAIL