| Index: chrome/test/data/android/payments/fail_complete.js
|
| diff --git a/chrome/test/data/android/payments/fail_complete.js b/chrome/test/data/android/payments/fail_complete.js
|
| deleted file mode 100644
|
| index 4635f65ac4c9307c7f77127dfc2a0d557d492a4a..0000000000000000000000000000000000000000
|
| --- a/chrome/test/data/android/payments/fail_complete.js
|
| +++ /dev/null
|
| @@ -1,33 +0,0 @@
|
| -/*
|
| - * Copyright 2016 The Chromium Authors. All rights reserved.
|
| - * Use of this source code is governed by a BSD-style license that can be
|
| - * found in the LICENSE file.
|
| - */
|
| -
|
| -/* global PaymentRequest:false */
|
| -
|
| -/**
|
| - * Launches the PaymentRequest UI and always fails to complete the transaction.
|
| - */
|
| -function buy() { // eslint-disable-line no-unused-vars
|
| - try {
|
| - new PaymentRequest(
|
| - [{supportedMethods: ['visa']}],
|
| - {total: {label: 'Total', amount: {currency: 'USD', value: '5.00'}}})
|
| - .show()
|
| - .then(function(resp) {
|
| - resp.complete('fail')
|
| - .then(function() {
|
| - print('Transaction failed');
|
| - })
|
| - .catch(function(error) {
|
| - print(error.message);
|
| - });
|
| - })
|
| - .catch(function(error) {
|
| - print(error.message);
|
| - });
|
| - } catch (error) {
|
| - print(error.message);
|
| - }
|
| -}
|
|
|