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

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

Issue 24980002: Implement AP2 Promises (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 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
1 Test Promise. 1 Test Promise.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 PASS thisInInit === firstPromise is true 5 PASS thisInInit === firstPromise is false
6 PASS thisInInit === window is true
6 PASS firstPromise instanceof Promise is true 7 PASS firstPromise instanceof Promise is true
7 PASS secondPromise instanceof Promise is true 8 PASS secondPromise instanceof Promise is true
8 PASS firstPromise.catch(null) threw exception TypeError: rejectCallback must be a function or undefined. 9 PASS firstPromise.catch(null) threw exception TypeError: onRejected must be a fu nction or undefined.
9 PASS firstPromise.catch(37) threw exception TypeError: rejectCallback must be a function or undefined. 10 PASS firstPromise.catch(37) threw exception TypeError: onRejected must be a func tion or undefined.
10 PASS thisInFulfillCallback === firstPromise is false 11 PASS thisInFulfillCallback === firstPromise is false
11 PASS thisInFulfillCallback === secondPromise is true 12 PASS thisInFulfillCallback === secondPromise is false
13 PASS thisInFulfillCallback === window is true
12 PASS result is "hello" 14 PASS result is "hello"
13 PASS result is "bye" 15 PASS result is "bye"
14 PASS fulfilled 16 PASS fulfilled
15 PASS successfullyParsed is true 17 PASS successfullyParsed is true
16 18
17 TEST COMPLETE 19 TEST COMPLETE
18 20
OLDNEW
« no previous file with comments | « LayoutTests/fast/js/Promise-catch.html ('k') | LayoutTests/fast/js/Promise-catch-in-workers-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698