DescriptionMore thorough tests for PaymentRequest
- If 'requestShipping' is false, then shippingOption should be null
regardless of shipping options passed to PaymentRequest constructor.
- An abort() will not throw after show().
- The show() promise is rejected if the shipping address is invalid.
- Should not be able to call show() twice.
- Should not be able to call complete() twice.
- The show() and complete() promises are rejected if the user cancels
the payment process.
BUG=587995
Committed: https://crrev.com/e1cf4691f10367fe89b124329181957d7e587d53
Cr-Commit-Position: refs/heads/master@{#391077}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Address comments #
Messages
Total messages: 14 (7 generated)
|