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

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

Issue 23567043: Promise init callback takes resolve and reject functions (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 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
« no previous file with comments | « LayoutTests/fast/js/Promise-init.html ('k') | LayoutTests/fast/js/Promise-init-in-workers-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9f36b427df7bd5f8ddc2eab7fda34565923e86cb..e94ab1486b28ee53a76ec4c570e4e6afdf82822c 100644
--- a/LayoutTests/fast/js/Promise-init-expected.txt
+++ b/LayoutTests/fast/js/Promise-init-expected.txt
@@ -5,8 +5,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 resolver instanceof PromiseResolver is true
-PASS resolver.constructor is PromiseResolver
+PASS resolve instanceof Function is true
+PASS reject instanceof Function is true
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.
« no previous file with comments | « LayoutTests/fast/js/Promise-init.html ('k') | LayoutTests/fast/js/Promise-init-in-workers-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698