- From: Boris Zbarsky <notifications@github.com>
- Date: Tue, 13 Dec 2016 09:16:58 -0800
- To: w3c/browser-payment-api <browser-payment-api@noreply.github.com>
Received on Tuesday, 13 December 2016 17:18:32 UTC
> This isn't taken care of automatically by Web IDL declaring the argument as Promise<PaymentDetails> Not on its own, no. You're right that using https://heycam.github.io/webidl/#dfn-perform-steps-once-promise-is-settled would be better; it would also address https://github.com/w3c/browser-payment-api/issues/348 That said, https://heycam.github.io/webidl/#dfn-perform-steps-once-promise-is-settled and https://www.w3.org/2001/tag/doc/promises-guide#shorthand-reacting have different behavior in terms of whether they call the initial value of `then` or not; we should really harmonize them. -- 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#issuecomment-266800974
Received on Tuesday, 13 December 2016 17:18:32 UTC