[w3c/browser-payment-api] The "if d is resolved" section of updateWith needs to be more explicit about how it gets a PaymentDetails dictionary (#349)

Right now it says:

> If d is resolved with details and details is a PaymentDetails dictionary, then

but what d is resolved with is an ES value.  What you probably want to do is to convert this value to a dictionary using <https://heycam.github.io/webidl/#es-to-dictionary>.  This can throw exceptions; the spec needs to say what happens if an exception is thrown.


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

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