| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2016 The Chromium Authors. All rights reserved. | 2 * Copyright 2016 The Chromium Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 /* global PaymentRequest:false */ | 7 /* global PaymentRequest:false */ |
| 8 /* global print:false */ | 8 /* global print:false */ |
| 9 | 9 |
| 10 /** | 10 /** |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 .then(function(result) { | 39 .then(function(result) { |
| 40 print(result); | 40 print(result); |
| 41 }) | 41 }) |
| 42 .catch(function(error) { | 42 .catch(function(error) { |
| 43 print(error); | 43 print(error); |
| 44 }); | 44 }); |
| 45 } catch (error) { | 45 } catch (error) { |
| 46 print(error.message); | 46 print(error.message); |
| 47 } | 47 } |
| 48 } | 48 } |
| OLD | NEW |