blob: 1a797fd68a99ad3433fce9833d301b2364d517e2 [file] [log] [blame]
Test Promise.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS thisInInit === firstPromise is false
PASS thisInInit === window is true
PASS firstPromise instanceof Promise is true
PASS secondPromise instanceof Promise is true
PASS thisInFulfillCallback === firstPromise is false
PASS thisInFulfillCallback === secondPromise is false
PASS thisInFulfillCallback === window is true
PASS result is "hello"
PASS result is "bye"
PASS fulfilled
PASS successfullyParsed is true
TEST COMPLETE