[w3c/browser-payment-api] Update complete() method to take a string and clarify its purpose (#161)

The argument to complete is used to influence the user experience as the
user interface for the payment request is dismissed. Some sites will not
be able to provide an indication of success (perhaps because they
require additional flow steps after the payment request before accepting
an order). Calling complete() with no arguments uses the default value
where success or failure are not indicated.

NOTE: the current WebIDL parser used by Respec does not handle default
values for enums though these are allowed in WebIDL. This results in a
Respect error once this change is merged.
You can view, comment on, or merge this pull request online at:

  https://github.com/w3c/browser-payment-api/pull/161

-- Commit Summary --

  * Update complete() method to take a string and clarify its purpose

-- File Changes --

    M specs/paymentrequest.html (39)

-- Patch Links --

https://github.com/w3c/browser-payment-api/pull/161.patch
https://github.com/w3c/browser-payment-api/pull/161.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/browser-payment-api/pull/161

Received on Wednesday, 27 April 2016 18:43:42 UTC