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 |
new file mode 100644 |
index 0000000000000000000000000000000000000000..597d2ce58a22d94000b60296a95daf69a542815a |
--- /dev/null |
+++ b/LayoutTests/fast/js/Promise-catch-expected.txt |
@@ -0,0 +1,18 @@ |
+Test Promise. |
+ |
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+ |
+PASS thisInInit === firstPromise 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 thisInFulfillCallback === firstPromise is false |
+PASS thisInFulfillCallback === secondPromise is true |
+PASS result is "hello" |
+PASS result is "bye" |
+PASS fulfilled |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |