Re: [w3c/browser-payment-api] Fix old reference to items and use total/displayItems (#169)

> @@ -390,10 +390,6 @@
>              </div>
>            </li>
>            <li>
> -            If <code>details</code> does not contain a sequence of <code>items</code> with length greater
> -            than zero, then <a>throw</a> a <a><code>TypeError</code></a>.
> -          </li>
> -          <li>
>              For each <a><code>PaymentMethodData</code></a> in <code>methodData</code>, if the <code>data</code> field

Shouldn't this be replaced with a check for the presence of a `total` value or is that done elsewhere? i.e. 

```html
<li>
   If <code>details</code> does not contain a value for <code>total</code> and that value is not 
  a <code>PaymentItem</code> then <a>throw</a> a <a><code>TypeError</code</a>.
</li>
```

or similar

---
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/169/files/41f8151a0d8c30398bf3437db2a917a254ba413a#r61546747

Received on Friday, 29 April 2016 08:25:12 UTC