Index: LayoutTests/fast/js/Promise-already-resolved.html |
diff --git a/LayoutTests/fast/js/Promise-already-resolved.html b/LayoutTests/fast/js/Promise-already-resolved.html |
deleted file mode 100644 |
index 8f97cf91ccc7e0a4f73350f7854b78b88b7793d6..0000000000000000000000000000000000000000 |
--- a/LayoutTests/fast/js/Promise-already-resolved.html |
+++ /dev/null |
@@ -1,32 +0,0 @@ |
-<!DOCTYPE html> |
-<html> |
-<head> |
-<script src="../../resources/js-test.js"></script> |
-</head> |
-<body> |
-<div id="description"></div> |
-<div id="console"></div> |
-<script> |
-description('Test Promise.'); |
- |
-window.jsTestIsAsync = true; |
- |
-new Promise(function(resolve, reject) { |
- var anotherResolve; |
- resolve(new Promise(function(r) { anotherResolve = r; })); |
- resolve('resolve'); |
- reject('reject'); |
- |
- anotherResolve('foo'); |
-}).then(function(result) { |
- window.result = result; |
- shouldBeEqualToString('result', 'foo'); |
- finishJSTest(); |
-}, function() { |
- testFailed('rejected'); |
- finishJSTest(); |
-}); |
- |
-</script> |
-</body> |
-</html> |