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

Unified Diff: LayoutTests/fast/js/Promise-then-without-callbacks.html

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-then.html ('k') | LayoutTests/fast/js/resources/Promise-catch-in-workers.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/js/Promise-then-without-callbacks.html
diff --git a/LayoutTests/fast/js/Promise-then-without-callbacks.html b/LayoutTests/fast/js/Promise-then-without-callbacks.html
index ccf7854e287570fae4971ebb3bb035a15d6d9bf4..a712fd4d4dea76c0a4a9efed83f31c310982b06f 100644
--- a/LayoutTests/fast/js/Promise-then-without-callbacks.html
+++ b/LayoutTests/fast/js/Promise-then-without-callbacks.html
@@ -11,7 +11,7 @@ description('Test Promise.');
window.jsTestIsAsync = true;
-new Promise(function(r) { r.fulfill('hello'); })
+new Promise(function(resolve) { resolve('hello'); })
.then()
.then(function(result) {
window.result = result;
« no previous file with comments | « LayoutTests/fast/js/Promise-then.html ('k') | LayoutTests/fast/js/resources/Promise-catch-in-workers.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698