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

Unified Diff: LayoutTests/fast/js/Promise-catch-expected.txt

Issue 16838012: [ABANDONED] Implement Promises. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 6 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-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..5c48523c3c5754b396d37b33237d0e938bf1984e
--- /dev/null
+++ b/LayoutTests/fast/js/Promise-catch-expected.txt
@@ -0,0 +1,15 @@
+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 thisInFulfillCallback === firstPromise is false
+PASS thisInFulfillCallback === secondPromise is true
+PASS value is "hello"
+PASS fulfilled
+PASS successfullyParsed is true
+
+TEST COMPLETE
+}); shouldBeTrue("thisInInit === firstPromise"); shouldBeTrue("firstPromise instanceof Promise"); shouldBeTrue("secondPromise instanceof Promise"); resolver.reject("hello");

Powered by Google App Engine
This is Rietveld 408576698