[w3c/browser-payment-api] A `PaymentItem` can't be a "valid decimal monetary value" (#334)

Step 11 of https://w3c.github.io/browser-payment-api/#constructor says:

> For each PaymentDetailsModifier in details.modifiers, if the total field is supplied and is not a valid decimal monetary value, then throw a TypeError. 

But the "total" member of `PaymentDetailsModifier` is a `PaymentItem`, not a string.  So checking whether it's a "valid decimal monetary value" is nonsensical.

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

Received on Wednesday, 30 November 2016 03:06:02 UTC