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

Unified Diff: LayoutTests/fast/js/Promise-catch-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
« no previous file with comments | « LayoutTests/fast/js/Promise-catch.html ('k') | LayoutTests/fast/js/Promise-catch-in-workers-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/js/Promise-catch-expected.txt
diff --git a/LayoutTests/fast/js/Promise-catch-expected.txt b/LayoutTests/fast/js/Promise-catch-expected.txt
index 597d2ce58a22d94000b60296a95daf69a542815a..5de4daefbccada765799313e72e25abe969df15d 100644
--- a/LayoutTests/fast/js/Promise-catch-expected.txt
+++ b/LayoutTests/fast/js/Promise-catch-expected.txt
@@ -2,13 +2,15 @@ Test Promise.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS thisInInit === firstPromise is true
+PASS thisInInit === firstPromise is false
+PASS thisInInit === window is true
PASS firstPromise instanceof Promise is true
PASS secondPromise instanceof Promise is true
-PASS firstPromise.catch(null) threw exception TypeError: rejectCallback must be a function or undefined.
-PASS firstPromise.catch(37) threw exception TypeError: rejectCallback must be a function or undefined.
+PASS firstPromise.catch(null) threw exception TypeError: onRejected must be a function or undefined.
+PASS firstPromise.catch(37) threw exception TypeError: onRejected must be a function or undefined.
PASS thisInFulfillCallback === firstPromise is false
-PASS thisInFulfillCallback === secondPromise is true
+PASS thisInFulfillCallback === secondPromise is false
+PASS thisInFulfillCallback === window is true
PASS result is "hello"
PASS result is "bye"
PASS fulfilled
« no previous file with comments | « LayoutTests/fast/js/Promise-catch.html ('k') | LayoutTests/fast/js/Promise-catch-in-workers-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698