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

Unified Diff: test/webkit/fast/js/Promise-resolve-with-itself-expected.txt

Issue 182713002: Import Blink layout tests for Promises. (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: Created 6 years, 10 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: test/webkit/fast/js/Promise-resolve-with-itself-expected.txt
diff --git a/test/webkit/fast/js/Promise-resolve-with-itself-expected.txt b/test/webkit/fast/js/Promise-resolve-with-itself-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b7fdaef0c894d7efb9dd41fe4d687785dfb051a2
--- /dev/null
+++ b/test/webkit/fast/js/Promise-resolve-with-itself-expected.txt
@@ -0,0 +1,10 @@
+Test whether Promise will be rejected if it is resolved with itself.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS rejected
+PASS result is "TypeError: Chaining cycle detected for promise #<Promise>"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « test/webkit/fast/js/Promise-resolve-with-itself.js ('k') | test/webkit/fast/js/Promise-resolve-with-then-exception.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698