Re: [w3c/browser-payment-api] fix: delegate total and error member checks to WebIDL (#425)

domenic commented on this pull request.



> @@ -1102,21 +1086,68 @@
           modifiers for particular payment method identifiers. For example, it
           allows you to adjust the total amount based on payment method.
         </dd>
+      </dl>
+    </section>
+    <section data-dfn-for="PaymentDetailsInit" data-link-for=
+    "PaymentDetailsInit">
+      <h2>
+        <dfn>PaymentDetailsInit</dfn> dictionary
+      </h2>
+      <pre class="idl">
+        dictionary PaymentDetailsInit : PaymentDetailsBase {
+          required PaymentItem total;

Filed https://github.com/heycam/webidl/issues/321. I guess the alternative is to just duplicate the contents into each dictionary instead of using inheritance... sigh.

-- 
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/425#discussion_r102792419

Received on Thursday, 23 February 2017 19:11:06 UTC