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

Unified Diff: LayoutTests/fast/js/resources/Promise-then-without-callbacks-in-workers.js

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
Index: LayoutTests/fast/js/resources/Promise-then-without-callbacks-in-workers.js
diff --git a/LayoutTests/fast/js/resources/Promise-then-without-callbacks-in-workers.js b/LayoutTests/fast/js/resources/Promise-then-without-callbacks-in-workers.js
index 799041d2f4b8ce197fa8a547edcc4592dee14913..056b0c2ee9d2f1df84c86689ff49ba7f8d6406df 100644
--- a/LayoutTests/fast/js/resources/Promise-then-without-callbacks-in-workers.js
+++ b/LayoutTests/fast/js/resources/Promise-then-without-callbacks-in-workers.js
@@ -6,7 +6,7 @@ var global = this;
global.jsTestIsAsync = true;
-new Promise(function(r) { r.fulfill('hello'); })
+new Promise(function(resolve) { resolve('hello'); })
.then()
.then(function(result) {
global.result = result;

Powered by Google App Engine
This is Rietveld 408576698