diff --git a/specs/paymentrequest.html b/specs/paymentrequest.html index fad26997..2b1151f1 100644 --- a/specs/paymentrequest.html +++ b/specs/paymentrequest.html @@ -658,12 +658,12 @@
PaymentItem dictionaries indicates what the payment
request is for. The sequence must contain at least one PaymentItem. The last
PaymentItem in the sequence represents the total amount of the payment
- request. It is the responsibility of the calling code to ensure that the total amount is
- the sum of the preceding items. The user agent MAY not validate that this is true.
+ request. The user agent MAY validate that the total amount is the sum of the
+ preceding items, but it is the responsibility of the calling code to ensure that.
shippingOptionsIf the sequence is empty, then this indicates that the merchant
cannot ship to the current shippingAddress.
If the sequence only contains one item, then this is the shipping option that @@ -1087,13 +1087,13 @@
The PaymentRequest interface allows a web page to call abort
to tell the user agent to abort the payment request and to tear down any user interface that
- might be shown. For example, a web page may choose to do this the goods they are selling are
+ might be shown. For example, a web page might choose to do this if the goods they are selling are
only available for a limited amount of time. If the user does not accept the payment request
within the allowed time period, then the request will be aborted.
- A user agent may not always be able to abort a request. For example, if the user agent + A user agent might not always be able to abort a request. For example, if the user agent has delegated responsibility for the request to another app. To support this situation, the user agent must run the User agent delegates payment request algorithm. The algorithm MUST run the following steps: