| <!DOCTYPE html> |
| <!-- |
| 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. |
| --> |
| <html> |
| <head> |
| <title>No updateWith() Test</title> |
| <meta charset="utf-8"> |
| <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1"> |
| <link rel="stylesheet" type="text/css" href="style.css"> |
| </head> |
| <body> |
| <button onclick="buyWithoutListeners()" id="buyWithoutListeners">Buy without listeners</button> |
| <button onclick="buyWithoutCallingUpdateWith()" id="buyWithoutCallingUpdateWith">Buy without calling updateWith()</button> |
| <button onclick="buyWithoutPromises()" id="buyWithoutPromises">Buy without promises</button> |
| <pre id="result"></pre> |
| <script src="util.js"></script> |
| <script src="no_update_with.js"></script> |
| </body> |
| </html> |