[w3c/browser-payment-api] PaymentDetails may not have values present for various sequences, but the PaymentRequest constructor assumes that it does (#333)

https://w3c.github.io/browser-payment-api/#constructor step 7 says:

> If the details.displayItems sequence contains any PaymentItem objects with an amount that is not a valid decimal monetary value, then throw a TypeError. 

But there may not be  a displayItems value present at all in `details`.  Similar in step 8 for shippingOptions.



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

Received on Wednesday, 30 November 2016 03:01:46 UTC