| LEFT | RIGHT |
| 1 /* | 1 /* |
| 2 * This Source Code is subject to the terms of the Mozilla Public License | 2 * This Source Code is subject to the terms of the Mozilla Public License |
| 3 * version 2.0 (the "License"). You can obtain a copy of the License at | 3 * version 2.0 (the "License"). You can obtain a copy of the License at |
| 4 * http://mozilla.org/MPL/2.0/. | 4 * http://mozilla.org/MPL/2.0/. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 "use strict"; | 7 "use strict"; |
| 8 | 8 |
| 9 /** | 9 /** |
| 10 * @module crawler | 10 * @module crawler |
| (...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 341 | 341 |
| 342 function reportException(e) | 342 function reportException(e) |
| 343 { | 343 { |
| 344 let stack = ""; | 344 let stack = ""; |
| 345 if (e && typeof e == "object" && "stack" in e) | 345 if (e && typeof e == "object" && "stack" in e) |
| 346 stack = e.stack + "\n"; | 346 stack = e.stack + "\n"; |
| 347 | 347 |
| 348 Cu.reportError(e); | 348 Cu.reportError(e); |
| 349 dump(e + "\n" + stack + "\n"); | 349 dump(e + "\n" + stack + "\n"); |
| 350 } | 350 } |
| LEFT | RIGHT |