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

Unified Diff: LayoutTests/fast/js/Promise-then-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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/js/Promise-then-in-workers-expected.txt
diff --git a/LayoutTests/fast/js/Promise-then-in-workers-expected.txt b/LayoutTests/fast/js/Promise-then-in-workers-expected.txt
index d6ed571c4cdfbdaf243007ea20a22b2e3400c028..a22980c656199979a9be820384e5dda5fa3de153 100644
--- a/LayoutTests/fast/js/Promise-then-in-workers-expected.txt
+++ b/LayoutTests/fast/js/Promise-then-in-workers-expected.txt
@@ -3,14 +3,16 @@
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Starting worker: resources/Promise-then-in-workers.js
-PASS [Worker] thisInInit === firstPromise is true
+PASS [Worker] thisInInit === firstPromise is false
+PASS [Worker] thisInInit === global is true
PASS [Worker] firstPromise instanceof Promise is true
PASS [Worker] secondPromise instanceof Promise is true
-PASS [Worker] firstPromise.then(null) threw exception TypeError: fulfillCallback must be a function or undefined.
-PASS [Worker] firstPromise.then(undefined, null) threw exception TypeError: rejectCallback must be a function or undefined.
-PASS [Worker] firstPromise.then(37) threw exception TypeError: fulfillCallback must be a function or undefined.
+PASS [Worker] firstPromise.then(null) threw exception TypeError: onFulfilled must be a function or undefined.
+PASS [Worker] firstPromise.then(undefined, null) threw exception TypeError: onRejected must be a function or undefined.
+PASS [Worker] firstPromise.then(37) threw exception TypeError: onFulfilled must be a function or undefined.
PASS [Worker] thisInFulfillCallback === firstPromise is false
-PASS [Worker] thisInFulfillCallback === secondPromise is true
+PASS [Worker] thisInFulfillCallback === secondPromise is false
+PASS [Worker] thisInFulfillCallback === global is true
PASS [Worker] result is "hello"
PASS successfullyParsed is true
« no previous file with comments | « LayoutTests/fast/js/Promise-then-expected.txt ('k') | LayoutTests/fast/js/resources/Promise-catch-in-workers.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698