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

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

Issue 316453002: Use v8::Promise::Then in ScriptPromise::then. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 6 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 | « no previous file | Source/bindings/v8/ScriptPromise.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/js/Promise-native-then.html
diff --git a/LayoutTests/fast/js/Promise-native-then.html b/LayoutTests/fast/js/Promise-native-then.html
index c1426de5648739ab70c65867188bc3f3d296914e..c3e9789c3468eae560b142a1401e1c85505c068c 100644
--- a/LayoutTests/fast/js/Promise-native-then.html
+++ b/LayoutTests/fast/js/Promise-native-then.html
@@ -28,7 +28,7 @@ newPromise.then(function(result) {
testFailed("rejected");
}).then(finishJSTest, finishJSTest);
-resolve(10);
+resolve(new Promise(function(resolve) { resolve(10); }));
</script>
</body>
« no previous file with comments | « no previous file | Source/bindings/v8/ScriptPromise.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698