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

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

Issue 24980002: Implement AP2 Promises (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 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-init-expected.txt
diff --git a/LayoutTests/fast/js/Promise-init-expected.txt b/LayoutTests/fast/js/Promise-init-expected.txt
index e94ab1486b28ee53a76ec4c570e4e6afdf82822c..f93efababa57d4a7f057979c2ff7e1e120efa212 100644
--- a/LayoutTests/fast/js/Promise-init-expected.txt
+++ b/LayoutTests/fast/js/Promise-init-expected.txt
@@ -4,7 +4,8 @@ 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 thisInInit === promise is false
+PASS thisInInit === window is true
PASS resolve instanceof Function is true
PASS reject instanceof Function is true
PASS new Promise() threw exception TypeError: Promise constructor takes a function argument.

Powered by Google App Engine
This is Rietveld 408576698