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

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

Issue 166173002: Count Promise constructor callings. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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 CONSOLE WARNING: Promise API is changing and this function might be affected.
1 Test Promise. 2 Test Promise.
2 3
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 5
5 PASS thisInInit === firstPromise is false 6 PASS thisInInit === firstPromise is false
6 PASS thisInInit === window is true 7 PASS thisInInit === window is true
7 PASS firstPromise instanceof Promise is true 8 PASS firstPromise instanceof Promise is true
8 PASS secondPromise instanceof Promise is true 9 PASS secondPromise instanceof Promise is true
9 PASS thisInFulfillCallback === firstPromise is false 10 PASS thisInFulfillCallback === firstPromise is false
10 PASS thisInFulfillCallback === secondPromise is false 11 PASS thisInFulfillCallback === secondPromise is false
11 PASS thisInFulfillCallback === window is true 12 PASS thisInFulfillCallback === window is true
12 PASS result is "hello" 13 PASS result is "hello"
13 PASS result is "world" 14 PASS result is "world"
14 PASS rejected 15 PASS rejected
15 PASS result is "exception" 16 PASS result is "exception"
16 PASS resolved 17 PASS resolved
17 PASS successfullyParsed is true 18 PASS successfullyParsed is true
18 19
19 TEST COMPLETE 20 TEST COMPLETE
20 21
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698