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

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

Issue 17874002: [ABANDONED] Implement non-static methods of Promise and PromiseResolver. (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
« no previous file with comments | « LayoutTests/fast/js/Promise-init.html ('k') | LayoutTests/fast/js/Promise-reject.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 promise instanceof Promise is true 5 PASS promise instanceof Promise is true
6 PASS promise.constructor is Promise 6 PASS promise.constructor is Promise
7 PASS thisInInit is promise 7 PASS thisInInit is promise
8 PASS resolver instanceof PromiseResolver is true 8 PASS resolver instanceof PromiseResolver is true
9 PASS resolver.constructor is PromiseResolver 9 PASS resolver.constructor is PromiseResolver
10 PASS new Promise() threw exception TypeError: Promise constructor takes a functi on argument. 10 PASS new Promise() threw exception TypeError: Promise constructor takes a functi on argument.
11 PASS new Promise(37) threw exception TypeError: Promise constructor takes a func tion argument. 11 PASS new Promise(37) threw exception TypeError: Promise constructor takes a func tion argument.
12 PASS promise = new Promise(function() { throw Error("foo"); }) did not throw exc eption. 12 PASS promise = new Promise(function() { throw Error("foo"); }) did not throw exc eption.
13 PASS result.message is "foo"
13 PASS successfullyParsed is true 14 PASS successfullyParsed is true
14 15
15 TEST COMPLETE 16 TEST COMPLETE
16 17
OLDNEW
« no previous file with comments | « LayoutTests/fast/js/Promise-init.html ('k') | LayoutTests/fast/js/Promise-reject.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698