OLD | NEW |
(Empty) | |
| 1 CONSOLE ERROR: line 8: Uncaught Error: error_text |
| 2 CONSOLE ERROR: line 13: Uncaught [object Object] |
| 3 CONSOLE ERROR: line 18: Uncaught 42 |
| 4 CONSOLE ERROR: line 23: Uncaught (in promise) Error: promise_error |
| 5 CONSOLE ERROR: line 23: Uncaught (in promise) Error: promise_error |
| 6 CONSOLE ERROR: line 28: Uncaught (in promise) #<Object> |
| 7 CONSOLE ERROR: line 28: Uncaught (in promise) #<Object> |
| 8 Tests that expressions have thrown objects. |
| 9 |
| 10 setTimeout(throwError, 0); undefined |
| 11 undefined |
| 12 foo.js:4 Uncaught Error: error_text(…)throwError @ foo.js:4 |
| 13 throwError(); |
| 14 foo.js:4 Uncaught Error: error_text(…)throwError @ foo.js:4(anonymous function)
@ VM:1 |
| 15 setTimeout(throwObject, 0); undefined |
| 16 undefined |
| 17 foo.js:9 Uncaught Object {a: 42}throwObject @ foo.js:9 |
| 18 throwObject(); |
| 19 foo.js:9 Uncaught Object {a: 42}throwObject @ foo.js:9(anonymous function) @ VM:
1 |
| 20 setTimeout(throwNumber, 0); undefined |
| 21 undefined |
| 22 foo.js:14 Uncaught 42throwNumber @ foo.js:14 |
| 23 throwNumber(); |
| 24 foo.js:14 Uncaught 42throwNumber @ foo.js:14(anonymous function) @ VM:1 |
| 25 setTimeout(rejectWithError, 0); undefined |
| 26 undefined |
| 27 foo.js:19 Uncaught (in promise) Error: promise_error(…)rejectWithError @ foo.js:
19 |
| 28 rejectWithError(); |
| 29 undefined |
| 30 foo.js:19 Uncaught (in promise) Error: promise_error(…)rejectWithError @ foo.js:
19(anonymous function) @ VM:1 |
| 31 setTimeout(rejectWithObject, 0); undefined |
| 32 undefined |
| 33 foo.js:24 Uncaught (in promise) Object {b: 42}rejectWithObject @ foo.js:24 |
| 34 rejectWithObject(); |
| 35 undefined |
| 36 foo.js:24 Uncaught (in promise) Object {b: 42}rejectWithObject @ foo.js:24(anony
mous function) @ VM:1 |
| 37 |
OLD | NEW |