diff --git a/specs/paymentrequest.html b/specs/paymentrequest.html index 6a46ec7e..b6eae175 100644 --- a/specs/paymentrequest.html +++ b/specs/paymentrequest.html @@ -390,8 +390,12 @@
details does not contain a sequence of items with length greater
- than zero, then throw a TypeError.
+ If details does not contain a value for total, then throw a
+ TypeError.
+ details.total.amount.value is U+002D HYPHEN-MINUS, then throw a
+ TypeError. total MUST be a non-negative amount.
PaymentMethodData in methodData, if the data field
@@ -601,13 +605,6 @@
A CurrencyAmount dictionary is used to supply monetary amounts.
The following fields MUST be supplied for a CurrencyAmount to be valid:
@@ -663,6 +660,10 @@
totalPaymentItem contains the total amount of the payment request.
+
+ total MUST be a non-negative value. This means that the total.amount.value
+ field MUST NOT begin with a U+002D HYPHEN-MINUS character.
+
displayItems