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

Side by Side Diff: LayoutTests/fast/js/Promise-init-in-workers-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 [Worker] Test Promise. 1 [Worker] 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 Starting worker: resources/Promise-init-in-workers.js 5 Starting worker: resources/Promise-init-in-workers.js
6 PASS [Worker] promise instanceof Promise is true 6 PASS [Worker] promise instanceof Promise is true
7 PASS [Worker] promise.constructor is Promise 7 PASS [Worker] promise.constructor is Promise
8 PASS [Worker] thisInInit is promise 8 PASS [Worker] thisInInit === promise is false
9 PASS [Worker] thisInInit === global is true
9 PASS [Worker] resolve instanceof Function is true 10 PASS [Worker] resolve instanceof Function is true
10 PASS [Worker] reject instanceof Function is true 11 PASS [Worker] reject instanceof Function is true
11 PASS [Worker] new Promise() threw exception TypeError: Promise constructor takes a function argument. 12 PASS [Worker] new Promise() threw exception TypeError: Promise constructor takes a function argument.
12 PASS [Worker] new Promise(37) threw exception TypeError: Promise constructor tak es a function argument. 13 PASS [Worker] new Promise(37) threw exception TypeError: Promise constructor tak es a function argument.
13 PASS [Worker] promise = new Promise(function() { throw Error("foo"); }) did not throw exception. 14 PASS [Worker] promise = new Promise(function() { throw Error("foo"); }) did not throw exception.
14 PASS [Worker] result.message is "foo" 15 PASS [Worker] result.message is "foo"
15 PASS [Worker] fulfilled 16 PASS [Worker] fulfilled
16 PASS [Worker] result is "hello" 17 PASS [Worker] result is "hello"
17 PASS successfullyParsed is true 18 PASS successfullyParsed is true
18 19
19 TEST COMPLETE 20 TEST COMPLETE
20 21
OLDNEW
« no previous file with comments | « LayoutTests/fast/js/Promise-init-expected.txt ('k') | LayoutTests/fast/js/Promise-onFulfilled-deep.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698