Chromium Code Reviews| Index: chrome/test/data/payments/metrics.js |
| diff --git a/chrome/test/data/payments/metrics.js b/chrome/test/data/payments/metrics.js |
| index f9d0db082bd3933450dff3556184abec3ff93e90..d588ad4a8ae56c5e8f869fe3bad1c4a5c458dd23 100644 |
| --- a/chrome/test/data/payments/metrics.js |
| +++ b/chrome/test/data/payments/metrics.js |
| @@ -53,21 +53,15 @@ function ccBuy() { // eslint-disable-line no-unused-vars |
| } |
| /** |
| - * Launches the PaymentRequest UI which accepts only Android Pay. |
| + * Launches the PaymentRequest UI which accepts only Android Pay and does not |
|
please use gerrit instead
2017/04/13 13:49:47
It's better to add a new function than altering th
sebsg
2017/04/13 19:45:56
Done.
|
| + * require any other information. |
| */ |
| function androidPayBuy() { // eslint-disable-line no-unused-vars |
| try { |
| request = new PaymentRequest( |
| [{supportedMethods: ['https://android.com/pay']}], { |
| total: {label: 'Total', amount: {currency: 'USD', value: '5.00'}}, |
| - shippingOptions: [{ |
| - id: 'freeShippingOption', |
| - label: 'Free global shipping', |
| - amount: {currency: 'USD', value: '0'}, |
| - selected: true |
| - }] |
| - }, |
| - {requestShipping: true}); |
| + }); |
| request.show() |
| .then(function(resp) { |
| return resp.complete('success'); |