Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(205)

Side by Side Diff: LayoutTests/fast/js/Promise-catch-expected.txt

Issue 16838012: [ABANDONED] Implement Promises. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 Test Promise.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5 PASS thisInInit === firstPromise is true
6 PASS firstPromise instanceof Promise is true
7 PASS secondPromise instanceof Promise is true
8 PASS thisInFulfillCallback === firstPromise is false
9 PASS thisInFulfillCallback === secondPromise is true
10 PASS value is "hello"
11 PASS fulfilled
12 PASS successfullyParsed is true
13
14 TEST COMPLETE
15 }); shouldBeTrue("thisInInit === firstPromise"); shouldBeTrue("firstPromise inst anceof Promise"); shouldBeTrue("secondPromise instanceof Promise"); resolver.rej ect("hello");
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698