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

Unified Diff: LayoutTests/fast/js/Promise-already-fulfilled.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 | « no previous file | LayoutTests/fast/js/Promise-already-fulfilled-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
deleted file mode 100644
index 64bba7a7016249913d3d3a899a0999efc8bd14fa..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/js/Promise-already-fulfilled.html
+++ /dev/null
@@ -1,31 +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;
-
-new Promise(function(resolver) {
- resolver.fulfill('foo');
- resolver.fulfill('fulfill');
- resolver.resolve('resolve');
- resolver.reject('reject');
-}).then(function(result) {
- window.result = result;
- shouldBeEqualToString('result', 'foo');
- finishJSTest();
-}, function() {
- testFailed('rejected');
- finishJSTest();
-});
-
-</script>
-<script src="resources/js-test-post.js"></script>
-</body>
-</html>
« no previous file with comments | « no previous file | LayoutTests/fast/js/Promise-already-fulfilled-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698