Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(109)

Unified Diff: third_party/WebKit/Source/modules/payments/PaymentRequest.cpp

Issue 2807023002: PaymentRequest: Use "NotAllowedError" instead of "QuotaExceededError". (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/payments/PaymentRequest.cpp
diff --git a/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp b/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp
index 506ec9de7d8df9023f17358904074d8e7de4b744..fc22d60113f146c2af58b4ce27017408061dc74e 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp
+++ b/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp
@@ -1055,7 +1055,7 @@ void PaymentRequest::OnCanMakePayment(CanMakePaymentQueryResult result) {
break;
case CanMakePaymentQueryResult::QUERY_QUOTA_EXCEEDED:
m_canMakePaymentResolver->reject(
- DOMException::create(QuotaExceededError, "Query quota exceeded"));
+ DOMException::create(NotAllowedError, "The canMakePayment() was called too often."));
please use gerrit instead 2017/04/10 15:10:19 Do you think maybe "Not allowed to check whether
zino 2017/04/10 17:01:20 Done.
break;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698