| 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 that does not require a shipping address. | 10 * Launches the PaymentRequest UI that does not require a shipping address. |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 print(error); | 26 print(error); |
| 27 }); | 27 }); |
| 28 }) | 28 }) |
| 29 .catch(function(error) { | 29 .catch(function(error) { |
| 30 print(error); | 30 print(error); |
| 31 }); | 31 }); |
| 32 } catch (error) { | 32 } catch (error) { |
| 33 print(error.message); | 33 print(error.message); |
| 34 } | 34 } |
| 35 } | 35 } |
| OLD | NEW |