From 3a6c1e840dc763358862e8de93ec01e405d77ebb Mon Sep 17 00:00:00 2001
From: Stephen McGruer
- The topOrigin, paymentRequestOrigin,
- methodData, and modifiers members share their
- definitions with those defined for {{PaymentRequestEvent}}.
-
[Exposed=ServiceWorker]
interface CanMakePaymentEvent : ExtendableEvent {
- constructor(DOMString type, optional CanMakePaymentEventInit eventInitDict = {});
- readonly attribute USVString topOrigin;
- readonly attribute USVString paymentRequestOrigin;
- readonly attribute FrozenArray<PaymentMethodData> methodData;
+ constructor(DOMString type);
undefined respondWith(Promise<boolean> canMakePaymentResponse);
};
-
respondWith() method
@@ -837,23 +829,6 @@
can respond to a payment request.
- dictionary CanMakePaymentEventInit : ExtendableEventInit { - USVString topOrigin; - USVString paymentRequestOrigin; - sequence<PaymentMethodData> methodData; - }; --
- The topOrigin, paymentRequestOrigin, and - methodData members share their definitions with those - defined for {{PaymentRequestEvent}}. -
-
Fire Functional Event "canmakepayment
" using
- CanMakePaymentEvent on registration with the
- following properties:
+ CanMakePaymentEvent on registration.