marcoscaceres commented on this pull request.
> @@ -206,8 +206,12 @@
<dfn>PaymentRequest</dfn> interface
</h2>
<pre class="idl">
- [Constructor(sequence<PaymentMethodData> methodData, PaymentDetails details, optional PaymentOptions options),
- SecureContext]
+ [Constructor(
+ optional DOMString paymentRequestID,
It *is* second class. It's an optional thing - that's not a value judgement. Making a mess by overloading the constructor doesn't seem very good to me - specially given how complicated it already is to construct these objects.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/browser-payment-api/pull/413