Index: LayoutTests/fast/js/Promise-init-expected.txt |
diff --git a/LayoutTests/fast/js/Promise-init-expected.txt b/LayoutTests/fast/js/Promise-init-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3a762623ebab0ae8f3883be7261e9f8ebbd77314 |
--- /dev/null |
+++ b/LayoutTests/fast/js/Promise-init-expected.txt |
@@ -0,0 +1,16 @@ |
+Test Promise. |
+ |
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+ |
+PASS promise instanceof Promise is true |
+PASS promise.constructor is Promise |
+PASS thisInInit is promise |
+PASS resolver instanceof PromiseResolver is true |
+PASS resolver.constructor is PromiseResolver |
+PASS new Promise() threw exception TypeError: Promise constructor takes a function argument. |
+PASS new Promise(37) threw exception TypeError: Promise constructor takes a function argument. |
+PASS promise = new Promise(function() { throw Error("foo"); }) did not throw exception. |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |