| 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 toDictionary:false */ | 8 /* global toDictionary:false */ |
| 9 | 9 |
| 10 var request; | 10 var request; |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 try { | 134 try { |
| 135 request.abort().then(function() { | 135 request.abort().then(function() { |
| 136 print('Aborted'); | 136 print('Aborted'); |
| 137 }).catch(function() { | 137 }).catch(function() { |
| 138 print('Cannot abort'); | 138 print('Cannot abort'); |
| 139 }); | 139 }); |
| 140 } catch (error) { | 140 } catch (error) { |
| 141 print(error.message); | 141 print(error.message); |
| 142 } | 142 } |
| 143 } | 143 } |
| OLD | NEW |