[w3c/browser-payment-api] Why does PaymentRequest constructor throw on details.error (#302)

I'm confused as to why this throws in the constructor:

> If `details` contains a value for `error`, then throw a TypeError.

Why can't it be ignored? Or, why not make an DetailsUpdate dictionary type explicitly for this instead (i.e., with `updateWith()`)? 




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

Received on Monday, 14 November 2016 06:46:34 UTC