blob: 0e121f20ce4f2e76b3d3988ef2f05fa7e79e069f [file] [log] [blame]
[Worker] Test Promise.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Starting worker: ../resources/Promise-then-in-workers.js
PASS [Worker] thisInInit === firstPromise is false
PASS [Worker] thisInInit === global is true
PASS [Worker] firstPromise instanceof Promise is true
PASS [Worker] secondPromise instanceof Promise is true
PASS [Worker] thisInFulfillCallback === firstPromise is false
PASS [Worker] thisInFulfillCallback === secondPromise is false
PASS [Worker] thisInFulfillCallback === global is true
PASS [Worker] result is "hello"
PASS [Worker] result is "world"
PASS [Worker] rejected
PASS [Worker] result is "exception"
PASS [Worker] resolved
PASS successfullyParsed is true
TEST COMPLETE