| 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 | 8 |
| 9 /** | 9 /** |
| 10 * Launches the PaymentRequest UI with Bob Pay as the only payment method. | 10 * Launches the PaymentRequest UI with Bob Pay as the only payment method. |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 print('complete() rejected<br>' + error); | 25 print('complete() rejected<br>' + error); |
| 26 }); | 26 }); |
| 27 }) | 27 }) |
| 28 .catch(function(error) { | 28 .catch(function(error) { |
| 29 print('show() rejected<br>' + error); | 29 print('show() rejected<br>' + error); |
| 30 }); | 30 }); |
| 31 } catch (error) { | 31 } catch (error) { |
| 32 print('exception thrown<br>' + error); | 32 print('exception thrown<br>' + error); |
| 33 } | 33 } |
| 34 } | 34 } |
| OLD | NEW |