chromium/components/test/data/payments/payment_request_show_promise.html

<!DOCTYPE html>
<!--
Copyright 2018 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<html>
<head>
<script src="util.js"></script>
<script src="show_promise.js"></script>
<title>Show Promise Test</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=0.5, maximum-scale=0.5, minimum-scale=0.5">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<button onclick="buyWithNoPromise()" id="buyWithNoPromise">Buy with no promise</button>
<button onclick="buyWithResolvingPromise()" id="buyWithResolvingPromise">Buy with resolving promise</button>
<button onclick="buyWithRejectingPromise()" id="buyWithRejectingPromise">Buy with rejecting promise</button>
<pre id="result"></pre>
</body>
</html>