[w3c/browser-payment-api] Fix bug in updateWith algorithm that resets shippingOption (#206)

There is a bug in the `updateWith` algorithm for `shippingOption`. If you do not include a new `shippingOptions` sequence in the `details` object then the current shipping option is set to null. This change ensures that the shipping option recalculation is only performed if a new sequence is provided (as originally planned).
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Fix bug in updateWith algorithm that resets shippingOption if you don't provide a new sequence

-- File Changes --

    M specs/paymentrequest.html (45)

-- Patch Links --

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

Received on Thursday, 26 May 2016 21:37:11 UTC