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

Unified Diff: LayoutTests/fast/js/Promise-already-fulfilled.html

Issue 18878002: Refactoring on DOM/Promises (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 5 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-already-fulfilled.html
diff --git a/LayoutTests/fast/js/Promise-already-fulfilled.html b/LayoutTests/fast/js/Promise-already-fulfilled.html
index 560803e23a7b73b3a5938822521f65adbb29000a..64bba7a7016249913d3d3a899a0999efc8bd14fa 100644
--- a/LayoutTests/fast/js/Promise-already-fulfilled.html
+++ b/LayoutTests/fast/js/Promise-already-fulfilled.html
@@ -13,7 +13,9 @@ window.jsTestIsAsync = true;
new Promise(function(resolver) {
resolver.fulfill('foo');
- resolver.fulfill('bar');
+ resolver.fulfill('fulfill');
+ resolver.resolve('resolve');
+ resolver.reject('reject');
}).then(function(result) {
window.result = result;
shouldBeEqualToString('result', 'foo');
« no previous file with comments | « no previous file | LayoutTests/fast/js/Promise-already-rejected.html » ('j') | Source/bindings/v8/custom/V8PromiseCustom.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698