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

Unified Diff: chrome/test/data/android/payments/can_make_payment_query_bobpay.js

Issue 2545523004: Rename canMakeActivePayment to canMakePayment (Closed)
Patch Set: Rebase Created 4 years 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/test/data/android/payments/can_make_payment_query_bobpay.js
diff --git a/chrome/test/data/android/payments/active_payment_query_bobpay.js b/chrome/test/data/android/payments/can_make_payment_query_bobpay.js
similarity index 94%
rename from chrome/test/data/android/payments/active_payment_query_bobpay.js
rename to chrome/test/data/android/payments/can_make_payment_query_bobpay.js
index 0667e691512ffd18a8f8dff0f1f1c51aac645bfb..25eae15440f004a2427dc64a0bb6c256c5289f21 100644
--- a/chrome/test/data/android/payments/active_payment_query_bobpay.js
+++ b/chrome/test/data/android/payments/can_make_payment_query_bobpay.js
@@ -43,7 +43,7 @@ function buy() { // eslint-disable-line no-unused-vars
new PaymentRequest(
[{supportedMethods: ['https://bobpay.com']}],
{total: {label: 'Total', amount: {currency: 'USD', value: '5.00'}}})
- .canMakeActivePayment()
+ .canMakePayment()
.then(function(result) { printFirst(result); })
.catch(function(error) { printFirst(error); });
} catch (error) {
@@ -54,7 +54,7 @@ function buy() { // eslint-disable-line no-unused-vars
new PaymentRequest(
[{supportedMethods: ['https://bobpay.com']}],
{total: {label: 'Total', amount: {currency: 'USD', value: '5.00'}}})
- .canMakeActivePayment()
+ .canMakePayment()
.then(function(result) { printSecond(result); })
.catch(function(error) { printSecond(error); });
} catch (error) {
@@ -73,7 +73,7 @@ function otherBuy() { // eslint-disable-line no-unused-vars
new PaymentRequest(
[{supportedMethods: ['https://bobpay.com']}],
{total: {label: 'Total', amount: {currency: 'USD', value: '5.00'}}})
- .canMakeActivePayment()
+ .canMakePayment()
.then(function(result) { printFirst(result); })
.catch(function(error) { printFirst(error); });
} catch (error) {
@@ -84,7 +84,7 @@ function otherBuy() { // eslint-disable-line no-unused-vars
new PaymentRequest(
[{supportedMethods: ['https://alicepay.com']}],
{total: {label: 'Total', amount: {currency: 'USD', value: '5.00'}}})
- .canMakeActivePayment()
+ .canMakePayment()
.then(function(result) { printSecond(result); })
.catch(function(error) { printSecond(error); });
} catch (error) {

Powered by Google App Engine
This is Rietveld 408576698