[w3c/browser-payment-api] It's probably a good idea to use https://www.w3.org/2001/tag/doc/promises-guide#shorthand-reacting in updateWith (#348)

Currently updateWith is explicitly poking at Promise internal state.  It's probably better to use the terminology in https://www.w3.org/2001/tag/doc/promises-guide#shorthand-reacting for consistency with other specifications.

This is particularly important because the two options  are not actually black-box identical as far as I can tell.  UAs are going to have a codepath that looks like the shorthands defined in https://www.w3.org/2001/tag/doc/promises-guide#shorthand-reacting but may not have one for doing "Wait until d settles" without actually invoking the initial value of `Promise.prototype.then`.



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

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