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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/promise-rejection-events-attached-in-event.html

Issue 2798273002: Remove now-redundant promise rejection event tests (Closed)
Patch Set: Created 3 years, 8 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 | third_party/WebKit/LayoutTests/fast/dom/promise-rejection-events-attached-in-event-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/dom/promise-rejection-events-attached-in-event.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/promise-rejection-events-attached-in-event.html b/third_party/WebKit/LayoutTests/fast/dom/promise-rejection-events-attached-in-event.html
deleted file mode 100644
index b36fef4baddad752b598cc91234735ac06aa0ff6..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/dom/promise-rejection-events-attached-in-event.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<!DOCTYPE html>
-<meta charset="utf-8">
-<script src="../../resources/testharness.js"></script>
-<script src="../../resources/testharnessreport.js"></script>
-<script>
-'use strict';
-async_test(function(t) {
- var e = new Error('e');
- var p = Promise.reject(e);
-
- window.onunhandledrejection = function(evt) {
- t.step(function() {
- assert_equals(evt.promise, p);
- assert_equals(evt.reason, e);
- });
- var unreached = t.unreached_func('promise should not be fulfilled');
- p.then(unreached, function(reason) {
- t.step(function() {
- assert_equals(reason, e);
- });
- setTimeout(function() { t.done(); }, 10);
- });
- };
-
- window.onrejectionhandled = t.unreached_func('rejectionhandled event should not be invoked');
-}, 'Attaching a handler in unhandledrejection should not trigger rejectionhandled.');
-</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/dom/promise-rejection-events-attached-in-event-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698