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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestCcCanMakePaymentQueryTest.java

Issue 2807023002: PaymentRequest: Use "NotAllowedError" instead of "QuotaExceededError". (Closed)
Patch Set: PaymentRequest: Use "NotAllowedError" instead of "QuotaExceededError". 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
Index: chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestCcCanMakePaymentQueryTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestCcCanMakePaymentQueryTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestCcCanMakePaymentQueryTest.java
index 9cb69a76f1b0c1cff74fdf8514b40284479b941e..dd11ccbbd7baf24039f2af91b0689703bc617906 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestCcCanMakePaymentQueryTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestCcCanMakePaymentQueryTest.java
@@ -49,7 +49,7 @@ public class PaymentRequestCcCanMakePaymentQueryTest extends PaymentRequestTestB
// Different queries are throttled for a period of time.
clickNodeAndWait("other-buy", mCanMakePaymentQueryResponded);
- expectResultContains(new String[]{"Query quota exceeded"});
+ expectResultContains(new String[] {"Not allowed to check whether can make payment"});
// Repeating the same query again does not count against the quota.
clickNodeAndWait("buy", mCanMakePaymentQueryResponded);

Powered by Google App Engine
This is Rietveld 408576698