blob: 9893021b3ddf1355416d2b70e1cffca3619ca4ca [file] [log] [blame]
<!DOCTYPE html>
<body>
<script src="apple-pay.js"></script>
<script>
internals.mockPaymentCoordinator.supportsUnrestrictedApplePay = false;
internals.mockPaymentCoordinator.setCanMakePayments(window.location.search === "?false" ? false : true);
const paymentRequest = new PaymentRequest([applePayMethod()], applePayDetails);
paymentRequest.canMakePayment().then(() => {
window.webkit.messageHandlers.testApplePay.postMessage("done");
});
</script>