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