Improve error message for PaymentRequest.abort() |
||
Issue descriptionCalling PaymentRequest.abort() will reject the show() promise with a message "DOMException: The user aborted a request." This is misleading, because the abort() was initiated by the merchant.
,
Apr 19 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/58ee54b41b1703b1cb78d5d281611ed3629b8e78 commit 58ee54b41b1703b1cb78d5d281611ed3629b8e78 Author: rouslan <rouslan@chromium.org> Date: Wed Apr 19 19:13:39 2017 Improve 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} [modify] https://crrev.com/58ee54b41b1703b1cb78d5d281611ed3629b8e78/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp
,
Apr 19 2017
|
||
►
Sign in to add a comment |
||
Comment 1 by rouslan@chromium.org
, Apr 19 2017