Implement PaymentRequestUpdateEvent
When onShippingAddressChange or onShippingOptionChange event fires, the
event type should be PaymentRequestUpdateEvent with an updateWith()
method.
- The updateWith() method lets the merchant update the shipping options
and the total price.
- The updateWith() method cannot be called twice for the same event.
- The updateWith() method can be called only when the event is being
dispatched.
- Dispatching a PaymentRequestUpdateEvent created in JavaScript is a
no-op.
https://w3c.github.io/browser-payment-api/specs/paymentrequest.html#idl-def-paymentrequestupdateevent
BUG=607705
Review-Url: https://codereview.chromium.org/1931233002
Cr-Commit-Position: refs/heads/master@{#392002}
18 files changed