Re: [w3ctag/spec-reviews] Web Payments Working Group Specifications (#152)

> Bit of an API mis-alignment: [...] then it should call updateWith() and provide a PaymentDetailsUpdate dictionary, or a promise for one, containing changed values that [...] yet the API signature for updateWith requires a Promise with no option for just passing a PaymentDetailsUpdate dictionary.

That's how `Promise<PaymentDetailsUpdate>` is defined in Web IDL, to accept both; the spec is correct as-is.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/spec-reviews/issues/152#issuecomment-291339572

Received on Tuesday, 4 April 2017 00:24:34 UTC