| Index: chrome/test/data/android/payments/phone_and_free_shipping.js
|
| diff --git a/chrome/test/data/android/payments/free_shipping.js b/chrome/test/data/android/payments/phone_and_free_shipping.js
|
| similarity index 84%
|
| copy from chrome/test/data/android/payments/free_shipping.js
|
| copy to chrome/test/data/android/payments/phone_and_free_shipping.js
|
| index dab9949c1c36e4e52bb102e1cc229aafdb191873..3018f327200d81c6525191b328439c9fb0981fba 100644
|
| --- a/chrome/test/data/android/payments/free_shipping.js
|
| +++ b/chrome/test/data/android/payments/phone_and_free_shipping.js
|
| @@ -8,7 +8,8 @@
|
| /* global toDictionary:false */
|
|
|
| /**
|
| - * Launches the PaymentRequest UI that offers free shipping worldwide.
|
| + * Launches the PaymentRequest UI that request a phone number and offers free
|
| + * shipping worldwide.
|
| */
|
| function buy() { // eslint-disable-line no-unused-vars
|
| try {
|
| @@ -22,13 +23,13 @@ function buy() { // eslint-disable-line no-unused-vars
|
| selected: true
|
| }]
|
| },
|
| - {requestShipping: true});
|
| + {requestPayerPhone: true, requestShipping: true});
|
| request.show()
|
| .then(function(resp) {
|
| resp.complete('success')
|
| .then(function() {
|
| print(
|
| - resp.shippingOption + '<br>' +
|
| + resp.payerPhone + '<br>' + resp.shippingOption + '<br>' +
|
| JSON.stringify(
|
| toDictionary(resp.shippingAddress), undefined, 2) +
|
| '<br>' + resp.methodName + '<br>' +
|
|
|