Index: LayoutTests/fast/js/Promise-then-expected.txt |
diff --git a/LayoutTests/fast/js/Promise-then-expected.txt b/LayoutTests/fast/js/Promise-then-expected.txt |
index d7990795cdd268b2276738c205cd949b758fa914..c97b6567149f37c2a99de6d5b6f5aaec009474c1 100644 |
--- a/LayoutTests/fast/js/Promise-then-expected.txt |
+++ b/LayoutTests/fast/js/Promise-then-expected.txt |
@@ -2,14 +2,16 @@ 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.then(null) threw exception TypeError: fulfillCallback must be a function or undefined. |
-PASS firstPromise.then(undefined, null) threw exception TypeError: rejectCallback must be a function or undefined. |
-PASS firstPromise.then(37) threw exception TypeError: fulfillCallback must be a function or undefined. |
+PASS firstPromise.then(null) threw exception TypeError: onFulfilled must be a function or undefined. |
+PASS firstPromise.then(undefined, null) threw exception TypeError: onRejected must be a function or undefined. |
+PASS firstPromise.then(37) threw exception TypeError: onFulfilled 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 successfullyParsed is true |