[w3c/browser-payment-api] Various fixes to the PaymentRequest constructor (#374)

- Fixes #373: align ordering of steps with Blink's implementation, except check for allowed-to-use first since that makes more sense
- Fixes #334: properly get the total.amount.value instead of pretending total is a string
- Fixes #335: do not assume additionalDisplayItems is present
- Fixes part of #321: use proper dictionary terminology
- Ensures request.[[details]].shippingOptions/modifiers is always a sequence, instead of sometimes left as not present
- Fixes various algorithm structure and typographic issues

---

This is on top of #368 and #370 and can only be merged after them.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Minor typographical fixes
  * Switch internal slot notation to ., not @
  * Various fixes to the PaymentRequest constructor

-- File Changes --

    M index.html (816)

-- Patch Links --

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

Received on Tuesday, 13 December 2016 19:47:09 UTC