[w3c/browser-payment-api] updateWith will silently ignore data in hard-to-debug ways (#350)

There are various cases in which updateWith will ignore the data its argument promise is resolved with.  For example, it will ignore various negative amounts, onvalid decimal monetary values, etc.

When this happens, there is no indication to the caller of updateWith that anything went wrong.  Should there be (e.g. via a Promise that updateWith returns)?  I assume UAs are free to report things to the console here, of course, but that only helps if the page author is reproducing the problem themselves...



-- 
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/issues/350

Received on Wednesday, 30 November 2016 04:44:37 UTC