| Index: chrome/test/data/payments/modifier.js
|
| diff --git a/chrome/test/data/payments/modifier.js b/chrome/test/data/payments/modifier.js
|
| deleted file mode 100644
|
| index 4fff18b6c539289cc5a121163a18bb290112c8ed..0000000000000000000000000000000000000000
|
| --- a/chrome/test/data/payments/modifier.js
|
| +++ /dev/null
|
| @@ -1,44 +0,0 @@
|
| -/*
|
| - * Copyright 2017 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.
|
| - */
|
| -
|
| -/**
|
| - * Invokes the PaymentRequest with a modifier that contains the bare mininum of
|
| - * required fields.
|
| - */
|
| -function buy() { // eslint-disable-line no-unused-vars
|
| - try {
|
| - new PaymentRequest(
|
| - [{
|
| - supportedMethods: ['foo'],
|
| - }], {
|
| - total: {
|
| - label: 'Total',
|
| - amount: {
|
| - currency: 'USD',
|
| - value: '5.00',
|
| - },
|
| - },
|
| - modifiers: [{
|
| - supportedMethods: ['foo'],
|
| - }],
|
| - })
|
| - .show()
|
| - .then(function(response) {
|
| - response.complete()
|
| - .then(function() {
|
| - print(complete);
|
| - })
|
| - .catch(function(error) {
|
| - print(error);
|
| - });
|
| - })
|
| - .catch(function(error) {
|
| - print(error);
|
| - });
|
| - } catch (error) {
|
| - print(error.message);
|
| - }
|
| -}
|
|
|