[w3c/payment-request] wip: allow show to take optional promise (#668)

Changes `show()` to take an optional promise that resolves with a `PaymentDetailsUpdate`:

```
Promise&<PaymentResponse> show(optional Promise<PaymentDetailsUpdate> detailsPromise);
```

We can then reuse the machinery to perform an update, but splitting it out into its own algorithm
You can view, comment on, or merge this pull request online at:

  https://github.com/w3c/payment-request/pull/668

-- Commit Summary --

  * wip: allow show to take optional promise

-- File Changes --

    M index.html (645)

-- Patch Links --

https://github.com/w3c/payment-request/pull/668.patch
https://github.com/w3c/payment-request/pull/668.diff

-- 
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/payment-request/pull/668

Received on Wednesday, 17 January 2018 06:22:50 UTC