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

Side by Side Diff: LayoutTests/fast/js/Promise-catch-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-catch-in-workers.js 5 Starting worker: resources/Promise-catch-in-workers.js
6 PASS [Worker] thisInInit === firstPromise is true 6 PASS [Worker] thisInInit === firstPromise is false
7 PASS [Worker] thisInInit === global is true
7 PASS [Worker] firstPromise instanceof Promise is true 8 PASS [Worker] firstPromise instanceof Promise is true
8 PASS [Worker] secondPromise instanceof Promise is true 9 PASS [Worker] secondPromise instanceof Promise is true
9 PASS [Worker] firstPromise.catch(null) threw exception TypeError: rejectCallback must be a function or undefined. 10 PASS [Worker] firstPromise.catch(null) threw exception TypeError: onRejected mus t be a function or undefined.
10 PASS [Worker] firstPromise.catch(37) threw exception TypeError: rejectCallback m ust be a function or undefined. 11 PASS [Worker] firstPromise.catch(37) threw exception TypeError: onRejected must be a function or undefined.
11 PASS [Worker] thisInFulfillCallback === firstPromise is false 12 PASS [Worker] thisInFulfillCallback === firstPromise is false
12 PASS [Worker] thisInFulfillCallback === secondPromise is true 13 PASS [Worker] thisInFulfillCallback === secondPromise is false
14 PASS [Worker] thisInFulfillCallback === global is true
13 PASS [Worker] result is "hello" 15 PASS [Worker] result is "hello"
14 PASS [Worker] result is "bye" 16 PASS [Worker] result is "bye"
15 PASS [Worker] fulfilled 17 PASS [Worker] fulfilled
16 PASS successfullyParsed is true 18 PASS successfullyParsed is true
17 19
18 TEST COMPLETE 20 TEST COMPLETE
19 21
OLDNEW
« no previous file with comments | « LayoutTests/fast/js/Promise-catch-expected.txt ('k') | LayoutTests/fast/js/Promise-exception.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698