| Index: LayoutTests/fast/js/Promise-resolve-with-itself.html
|
| diff --git a/LayoutTests/fast/js/Promise-resolve-with-itself.html b/LayoutTests/fast/js/Promise-resolve-with-itself.html
|
| deleted file mode 100644
|
| index c7a3190f4c8ab81198c0fa1df0a9f30470bd7da5..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/fast/js/Promise-resolve-with-itself.html
|
| +++ /dev/null
|
| @@ -1,29 +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 promise = new Promise(function(r) { resolve = r; });
|
| -
|
| -promise.then(function () {
|
| - testFailed('fulfilled');
|
| -}, function (error) {
|
| - testPassed('rejected');
|
| - window.result = error.toString();
|
| - shouldBeEqualToString('result', 'TypeError: Resolve a promise with itself');
|
| -}).then(finishJSTest, finishJSTest);
|
| -
|
| -resolve(promise);
|
| -
|
| -</script>
|
| -</body>
|
| -</html>
|
|
|