| Index: chrome/test/data/android/payments/phone.js
|
| diff --git a/chrome/test/data/android/payments/contact_details.js b/chrome/test/data/android/payments/phone.js
|
| similarity index 80%
|
| copy from chrome/test/data/android/payments/contact_details.js
|
| copy to chrome/test/data/android/payments/phone.js
|
| index 7f6ef19f22027a6614c72828ba146ff0eadf401c..321058858be0255ff07c7695ad3b00720a10e398 100644
|
| --- a/chrome/test/data/android/payments/contact_details.js
|
| +++ b/chrome/test/data/android/payments/phone.js
|
| @@ -7,22 +7,21 @@
|
| /* global PaymentRequest:false */
|
|
|
| /**
|
| - * Launches the PaymentRequest UI that requests contact details.
|
| + * Launches the PaymentRequest UI that requests phone number.
|
| */
|
| function buy() { // eslint-disable-line no-unused-vars
|
| try {
|
| new PaymentRequest(
|
| [{supportedMethods: ['visa']}],
|
| {total: {label: 'Total', amount: {currency: 'USD', value: '5.00'}}},
|
| - {requestPayerEmail: true, requestPayerPhone: true})
|
| + {requestPayerPhone: true})
|
| .show()
|
| .then(function(resp) {
|
| resp.complete('success')
|
| .then(function() {
|
| print(
|
| JSON.stringify(resp.totalAmount, undefined, 2) + '<br>' +
|
| - resp.payerEmail + '<br>' + resp.payerPhone + '<br>' +
|
| - resp.methodName + '<br>' +
|
| + resp.payerPhone + '<br>' + resp.methodName + '<br>' +
|
| JSON.stringify(resp.details, undefined, 2));
|
| })
|
| .catch(function(error) {
|
|
|