| 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) | 13 at throwError (foo.js:4) |
| 14 throwError @ foo.js:4 | 14 throwError @ foo.js:4 |
| 15 setTimeout (async) | 15 setTimeout (async) |
| 16 (anonymous) @ VM:1 | 16 (anonymous) @ VM:1 |
| 17 throwError(); | 17 throwError(); |
| 18 foo.js:4 Uncaught Error: error_text | 18 foo.js:4 Uncaught Error: error_text |
| 19 at throwError (foo.js:4) | 19 at throwError (foo.js:4) |
| 20 at <anonymous>:1:1 | 20 at <anonymous>:1:1 |
| 21 throwError @ foo.js:4 | 21 throwError @ foo.js:4 |
| 22 (anonymous) @ VM:1 | 22 (anonymous) @ VM:1 |
| 23 setTimeout(throwObject, 0); undefined | 23 setTimeout(throwObject, 0); undefined |
| 24 undefined | 24 undefined |
| 25 foo.js:9 Uncaught Object {a: 42} | 25 foo.js:9 Uncaught {a: 42} |
| 26 throwObject @ foo.js:9 | 26 throwObject @ foo.js:9 |
| 27 setTimeout (async) | 27 setTimeout (async) |
| 28 (anonymous) @ VM:1 | 28 (anonymous) @ VM:1 |
| 29 throwObject(); | 29 throwObject(); |
| 30 foo.js:9 Uncaught Object {a: 42} | 30 foo.js:9 Uncaught {a: 42} |
| 31 throwObject @ foo.js:9 | 31 throwObject @ foo.js:9 |
| 32 (anonymous) @ VM:1 | 32 (anonymous) @ VM:1 |
| 33 setTimeout(throwNumber, 0); undefined | 33 setTimeout(throwNumber, 0); undefined |
| 34 undefined | 34 undefined |
| 35 foo.js:14 Uncaught 42 | 35 foo.js:14 Uncaught 42 |
| 36 throwNumber @ foo.js:14 | 36 throwNumber @ foo.js:14 |
| 37 setTimeout (async) | 37 setTimeout (async) |
| 38 (anonymous) @ VM:1 | 38 (anonymous) @ VM:1 |
| 39 throwNumber(); | 39 throwNumber(); |
| 40 foo.js:14 Uncaught 42 | 40 foo.js:14 Uncaught 42 |
| 41 throwNumber @ foo.js:14 | 41 throwNumber @ foo.js:14 |
| 42 (anonymous) @ VM:1 | 42 (anonymous) @ VM:1 |
| 43 setTimeout(rejectWithError, 0); undefined | 43 setTimeout(rejectWithError, 0); undefined |
| 44 undefined | 44 undefined |
| 45 foo.js:19 Uncaught (in promise) Error: promise_error | 45 foo.js:19 Uncaught (in promise) Error: promise_error |
| 46 at rejectWithError (foo.js:19) | 46 at rejectWithError (foo.js:19) |
| 47 rejectWithError @ foo.js:19 | 47 rejectWithError @ foo.js:19 |
| 48 setTimeout (async) | 48 setTimeout (async) |
| 49 (anonymous) @ VM:1 | 49 (anonymous) @ VM:1 |
| 50 rejectWithError(); | 50 rejectWithError(); |
| 51 undefined | 51 undefined |
| 52 foo.js:19 Uncaught (in promise) Error: promise_error | 52 foo.js:19 Uncaught (in promise) Error: promise_error |
| 53 at rejectWithError (foo.js:19) | 53 at rejectWithError (foo.js:19) |
| 54 at <anonymous>:1:1 | 54 at <anonymous>:1:1 |
| 55 rejectWithError @ foo.js:19 | 55 rejectWithError @ foo.js:19 |
| 56 (anonymous) @ VM:1 | 56 (anonymous) @ VM:1 |
| 57 setTimeout(rejectWithObject, 0); undefined | 57 setTimeout(rejectWithObject, 0); undefined |
| 58 undefined | 58 undefined |
| 59 foo.js:24 Uncaught (in promise) Object {b: 42} | 59 foo.js:24 Uncaught (in promise) {b: 42} |
| 60 rejectWithObject @ foo.js:24 | 60 rejectWithObject @ foo.js:24 |
| 61 setTimeout (async) | 61 setTimeout (async) |
| 62 (anonymous) @ VM:1 | 62 (anonymous) @ VM:1 |
| 63 rejectWithObject(); | 63 rejectWithObject(); |
| 64 undefined | 64 undefined |
| 65 foo.js:24 Uncaught (in promise) Object {b: 42} | 65 foo.js:24 Uncaught (in promise) {b: 42} |
| 66 rejectWithObject @ foo.js:24 | 66 rejectWithObject @ foo.js:24 |
| 67 (anonymous) @ VM:1 | 67 (anonymous) @ VM:1 |
| 68 | 68 |
| OLD | NEW |