| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 'use strict'; | 5 'use strict'; |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * This variable is checked in SelectFileDialogExtensionBrowserTest. | 8 * This variable is checked in SelectFileDialogExtensionBrowserTest. |
| 9 * @type {number} | 9 * @type {number} |
| 10 */ | 10 */ |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 try { | 34 try { |
| 35 return func.apply(thisObject, arguments); | 35 return func.apply(thisObject, arguments); |
| 36 } catch (e) { | 36 } catch (e) { |
| 37 console.error('Exception happens in callback.', liveStack); | 37 console.error('Exception happens in callback.', liveStack); |
| 38 | 38 |
| 39 window.JSErrorCount++; | 39 window.JSErrorCount++; |
| 40 throw e; | 40 throw e; |
| 41 } | 41 } |
| 42 } | 42 } |
| 43 }; | 43 }; |
| OLD | NEW |