From 9d658893a6a139632648ec0397bceaae8f02c723 Mon Sep 17 00:00:00 2001 From: Shane McCarron Date: Mon, 19 Sep 2016 10:04:02 +0100 Subject: [PATCH] Remove must in complete() The complete method description indicated that the method must be called after the user has accepted the payment request. This use of "must" was a requirement on the web page, and as an RFC 2119 term was misleading. Also, there is a SHOULD requirement on user agents in the paragraph, but the SHOULD was not in upper case so it was not called out as an assertion. --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index c2f829cf..97aba896 100644 --- a/index.html +++ b/index.html @@ -1095,9 +1095,9 @@

PaymentResponse interface

complete()

-

The complete method must be called after the user has accepted the payment +

The complete method is called after the user has accepted the payment request and the [[\acceptPromise]] has been resolved. Calling the complete method tells - the user agent that the user interaction is over (and should cause any remaining user interface to be + the user agent that the user interaction is over (and SHOULD cause any remaining user interface to be closed).

The complete method takes a string argument from the PaymentComplete enum (result). These values are used to influence the user experience provided by the user agent