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-init-in-workers.js | |
6 PASS [Worker] promise instanceof Promise is true | |
7 PASS [Worker] promise.constructor is Promise | |
8 PASS [Worker] thisInInit === promise is false | |
9 PASS [Worker] thisInInit === global is true | |
10 PASS [Worker] resolve instanceof Function is true | |
11 PASS [Worker] reject instanceof Function is true | |
12 PASS [Worker] new Promise() threw exception TypeError: Promise constructor takes
a function argument. | |
13 PASS [Worker] new Promise(37) threw exception TypeError: Promise constructor tak
es a function argument. | |
14 PASS [Worker] promise = new Promise(function() { throw Error("foo"); }) did not
throw exception. | |
15 PASS [Worker] result.message is "foo" | |
16 PASS [Worker] fulfilled | |
17 PASS [Worker] result is "hello" | |
18 PASS successfullyParsed is true | |
19 | |
20 TEST COMPLETE | |
21 | |
OLD | NEW |