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