Re: [w3c/payment-handler] Add CanMakePaymentEvent and AbortPaymentEvent. (#170)

rsolomakhin commented on this pull request.



> +        interface CanMakePaymentEvent : ExtendableEvent {
+          readonly attribute USVString topLevelOrigin;
+          readonly attribute USVString paymentRequestOrigin;
+          readonly attribute FrozenArray<PaymentMethodData> methodData;
+          readonly attribute FrozenArray<PaymentDetailsModifier> modifiers;
+          void respondWith(Promise<boolean>canMakePaymentResponse);
+        };
+        </pre>
+          <p>
+            The <dfn>topLevelOrigin</dfn>, <dfn>paymentRequestOrigin</dfn>,
+            <dfn>methodData</dfn>, and <dfn>modifiers</dfn> members share their
+            definitions with those defined for <a>PaymentRequestEvent</a>.
+          </p>
+        <section>
+          <h2>
+            <dfn>respondWith</dfn>() method

Done.

-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/payment-handler/pull/170#discussion_r130177386

Received on Friday, 28 July 2017 20:18:47 UTC