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

Side by Side Diff: LayoutTests/fast/js/Promise-init-in-workers-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.
2 CONSOLE WARNING: Promise API is changing and this function might be affected.
3 CONSOLE WARNING: Promise API is changing and this function might be affected.
4 CONSOLE WARNING: Promise API is changing and this function might be affected.
5 CONSOLE WARNING: Promise API is changing and this function might be affected.
1 [Worker] Test Promise. 6 [Worker] Test Promise.
2 7
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 8 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 9
5 Starting worker: resources/Promise-init-in-workers.js 10 Starting worker: resources/Promise-init-in-workers.js
6 PASS [Worker] promise instanceof Promise is true 11 PASS [Worker] promise instanceof Promise is true
7 PASS [Worker] promise.constructor is Promise 12 PASS [Worker] promise.constructor is Promise
8 PASS [Worker] thisInInit === promise is false 13 PASS [Worker] thisInInit === promise is false
9 PASS [Worker] thisInInit === global is true 14 PASS [Worker] thisInInit === global is true
10 PASS [Worker] resolve instanceof Function is true 15 PASS [Worker] resolve instanceof Function is true
11 PASS [Worker] reject instanceof Function is true 16 PASS [Worker] reject instanceof Function is true
12 PASS [Worker] new Promise() threw exception TypeError: Promise constructor takes a function argument. 17 PASS [Worker] new Promise() threw exception TypeError: Promise constructor takes a function argument.
13 PASS [Worker] new Promise(37) threw exception TypeError: Promise constructor tak es a function argument. 18 PASS [Worker] new Promise(37) threw exception TypeError: Promise constructor tak es a function argument.
14 PASS [Worker] promise = new Promise(function() { throw Error("foo"); }) did not throw exception. 19 PASS [Worker] promise = new Promise(function() { throw Error("foo"); }) did not throw exception.
15 PASS [Worker] result.message is "foo" 20 PASS [Worker] result.message is "foo"
16 PASS [Worker] fulfilled 21 PASS [Worker] fulfilled
17 PASS [Worker] result is "hello" 22 PASS [Worker] result is "hello"
18 PASS successfullyParsed is true 23 PASS successfullyParsed is true
19 24
20 TEST COMPLETE 25 TEST COMPLETE
21 26
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698