| OLD | NEW |
| (Empty) |
| 1 [Worker] Test Promise. | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 Starting worker: resources/Promise-catch-in-workers.js | |
| 6 PASS [Worker] thisInInit === firstPromise is false | |
| 7 PASS [Worker] thisInInit === global is true | |
| 8 PASS [Worker] firstPromise instanceof Promise is true | |
| 9 PASS [Worker] secondPromise instanceof Promise is true | |
| 10 PASS [Worker] firstPromise.catch(null) threw exception TypeError: onRejected mus
t be a function or undefined. | |
| 11 PASS [Worker] firstPromise.catch(37) threw exception TypeError: onRejected must
be a function or undefined. | |
| 12 PASS [Worker] thisInFulfillCallback === firstPromise is false | |
| 13 PASS [Worker] thisInFulfillCallback === secondPromise is false | |
| 14 PASS [Worker] thisInFulfillCallback === global is true | |
| 15 PASS [Worker] result is "hello" | |
| 16 PASS [Worker] result is "bye" | |
| 17 PASS [Worker] fulfilled | |
| 18 PASS successfullyParsed is true | |
| 19 | |
| 20 TEST COMPLETE | |
| 21 | |
| OLD | NEW |