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

Unified Diff: LayoutTests/fast/js/Promise-exception.html

Issue 209443009: Delete Promises Layout Tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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 | « LayoutTests/fast/js/Promise-chain-expected.txt ('k') | LayoutTests/fast/js/Promise-exception-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/js/Promise-exception.html
diff --git a/LayoutTests/fast/js/Promise-exception.html b/LayoutTests/fast/js/Promise-exception.html
deleted file mode 100644
index a4dc07fe45292354dc4019ae4e36ac257c24f63c..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/js/Promise-exception.html
+++ /dev/null
@@ -1,36 +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 firstPromise = new Promise(function(resolve) {
- window.thisInInit = this;
- resolve('hello');
-});
-
-var secondPromise = firstPromise.then(function(result) {
- throw 'foobar';
-});
-
-var thirdPromise = secondPromise.then(function(result) {
- fail('Unexpected invocation of fulfillCallback');
-}, function(result) {
- window.thisInThenCallback = this;
- shouldBeFalse('thisInThenCallback === thirdPromise');
- shouldBeTrue('thisInThenCallback === window');
- window.result = result;
- shouldBeEqualToString('result', 'foobar');
- finishJSTest();
-});
-
-</script>
-</body>
-</html>
« no previous file with comments | « LayoutTests/fast/js/Promise-chain-expected.txt ('k') | LayoutTests/fast/js/Promise-exception-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698