[w3c/browser-payment-api] Make updateWith() reject the show() promise on validation failures (#451)

Previously, it would ignore any bad data. Now it validates the data ahead of time before performing any updates.

Closes #350. Supercedes #418.
You can view, comment on, or merge this pull request online at:

  https://github.com/w3c/browser-payment-api/pull/451

-- Commit Summary --

  * Make updateWith() reject the show() promise on validation failures

-- File Changes --

    M index.html (372)

-- Patch Links --

https://github.com/w3c/browser-payment-api/pull/451.patch
https://github.com/w3c/browser-payment-api/pull/451.diff

-- 
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/451

Received on Wednesday, 8 March 2017 18:14:35 UTC