| Index: chrome/test/data/android/payments/payment_request_no_shipping_test.html
|
| diff --git a/chrome/test/data/android/payments/payment_request_no_shipping_test.html b/chrome/test/data/android/payments/payment_request_no_shipping_test.html
|
| deleted file mode 100644
|
| index 144546fe5666219cb26311a8d2d487c094bc43a2..0000000000000000000000000000000000000000
|
| --- a/chrome/test/data/android/payments/payment_request_no_shipping_test.html
|
| +++ /dev/null
|
| @@ -1,48 +0,0 @@
|
| -<!DOCTYPE html>
|
| -<html>
|
| -<head>
|
| -<title>No Shipping Test</title>
|
| -<meta charset="utf-8">
|
| -<meta name="viewport" content="width=device-width, initial-scale=1">
|
| -<style>
|
| -button {
|
| - width: 100%;
|
| - height: 5em;
|
| - font-size: 3em;
|
| -}
|
| -</style>
|
| -</head>
|
| -<body>
|
| -<button onclick="buy()" id="buy">Buy</button>
|
| -<script>
|
| -function print(msg) {
|
| - document.open();
|
| - document.write('<pre id="result" style="font-size: 2em;">' + msg + '</pre>');
|
| - document.close();
|
| -}
|
| -function buy() {
|
| - try {
|
| - new PaymentRequest(['visa'], {
|
| - 'items' : [ {
|
| - 'id' : 'total',
|
| - 'label' : 'Total',
|
| - 'amount' : {'currencyCode' : 'USD', 'value' : '5.00'}
|
| - } ]
|
| - })
|
| - .show()
|
| - .then(function(resp) {
|
| - resp.complete(true)
|
| - .then(function() {
|
| - print(resp.methodName + '<br>' +
|
| - JSON.stringify(resp.details, undefined, 2));
|
| - })
|
| - .catch(function(error) { print(error.message); });
|
| - })
|
| - .catch(function(error) { print(error.message); });
|
| - } catch (error) {
|
| - print(error.message);
|
| - }
|
| -}
|
| -</script>
|
| -</body>
|
| -</html>
|
|
|