Index: LayoutTests/fast/js/Promise-simple.html |
diff --git a/LayoutTests/fast/js/Promise-simple.html b/LayoutTests/fast/js/Promise-simple.html |
deleted file mode 100644 |
index dfd1f61280b4e4dcb52939c502d97da6584568ba..0000000000000000000000000000000000000000 |
--- a/LayoutTests/fast/js/Promise-simple.html |
+++ /dev/null |
@@ -1,37 +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; |
- |
-var resolve; |
- |
-var firstPromise = new Promise(function(newResolve) { |
- window.thisInInit = this; |
- resolve = newResolve; |
-}); |
- |
-var secondPromise = firstPromise.then(function(result) { |
- window.thisInFulfillCallback = this; |
- shouldBeFalse('thisInFulfillCallback === secondPromise'); |
- shouldBeTrue('thisInFulfillCallback === window'); |
- window.result = result; |
- shouldBeEqualToString('result', 'hello'); |
- finishJSTest(); |
-}); |
- |
-shouldBeFalse('thisInInit === firstPromise'); |
-shouldBeTrue('thisInInit === window'); |
- |
-resolve('hello'); |
- |
-</script> |
-</body> |
-</html> |