DescriptionImprove error message for PaymentRequest.abort().
Before this patch, calling PaymentRequest.abort() would reject the
PaymentRequest.show() promise with a message "DOMException: The user
aborted a request." This is misleading, because it is the merchant
that's initiating the abort.
The fix is to change the message to "The website has aborted the
payment."
BUG=713206
Review-Url: https://codereview.chromium.org/2825333004
Cr-Commit-Position: refs/heads/master@{#465697}
Committed: https://chromium.googlesource.com/chromium/src/+/58ee54b41b1703b1cb78d5d281611ed3629b8e78
Patch Set 1 #
Messages
Total messages: 12 (8 generated)
|