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

Unified Diff: LayoutTests/fast/js/Promise-simple-fulfill-inside-callback.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
Index: LayoutTests/fast/js/Promise-simple-fulfill-inside-callback.html
diff --git a/LayoutTests/fast/js/Promise-simple-fulfill-inside-callback.html b/LayoutTests/fast/js/Promise-simple-fulfill-inside-callback.html
deleted file mode 100644
index 0458b24279745445699f03b1a6709f0ffc89b1ed..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/js/Promise-simple-fulfill-inside-callback.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script src="resources/js-test-pre.js"></script>
-</head>
-<body>
-<div id="description"></div>
-<div id="console"></div>
-<script>
-description('Test Promise.');
-
-window.jsTestIsAsync = true;
-
-var future = new Promise(function(resolver) {
- resolver.fulfill('hello');
-}).then(function(result) {
- window.result = result;
- shouldBeEqualToString('result', 'hello');
- finishJSTest();
-});
-
-</script>
-<script src="resources/js-test-post.js"></script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698