Re: [w3c/browser-payment-api] Make updateWith() return a promise signaling any update failures (#418)

marcoscaceres approved this pull request.



> @@ -1832,6 +1832,15 @@
           <a>user agent</a> SHOULD present to the user.
         </p>
         <p>
+          The promise returned by <a>updateWith()</a> will be fulfilled with
+          undefined if all of the data is accepted, or rejected with a
+          <a>TypeError</a> if the update was complete but some data was
+          rejected as invalid. It can also be rejected if it is called
+          inappropriately, e.g. on a <a>PaymentRequestUpdateEvent</a> event
+          that is not being dispatched or is has already been updated, or if

typo: is has

-- 
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/418#pullrequestreview-21163526

Received on Friday, 10 February 2017 01:56:14 UTC