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

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

Issue 182713002: Import Blink layout tests for Promises. (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: Created 6 years, 9 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 construction.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5 PASS promise instanceof Promise is true
6 PASS promise.constructor is Promise
7 PASS thisInInit is undefined
8 PASS resolve instanceof Function is true
9 PASS reject instanceof Function is true
10 PASS new Promise() threw exception TypeError: Promise resolver undefined is not a function.
11 PASS new Promise(37) threw exception TypeError: Promise resolver 37 is not a fun ction.
12 PASS promise = new Promise(function() { throw Error("foo"); }) did not throw exc eption.
13 PASS result.message is "foo"
14 PASS fulfilled
15 PASS result is "hello"
16 PASS successfullyParsed is true
17
18 TEST COMPLETE
19
OLDNEW
« no previous file with comments | « test/webkit/fast/js/Promise-init-callback-receiver-expected.txt ('k') | test/webkit/fast/js/Promise-onFulfilled-deep.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698