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 @@ |
-/* |
please use gerrit instead
2017/05/22 13:17:10
Let's not delete existing test cases.
wuandy1
2017/05/23 15:46:58
Done.
|
- * 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); |
- } |
-} |