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/events/eventlisteneroptions/capture_equality.html

Issue 2123803002: Remove EventListenerOptions LayoutTests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Real CL for review Created 4 years, 5 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
Index: third_party/WebKit/LayoutTests/fast/events/eventlisteneroptions/capture_equality.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/eventlisteneroptions/capture_equality.html b/third_party/WebKit/LayoutTests/fast/events/eventlisteneroptions/capture_equality.html
deleted file mode 100644
index c89e6af74b079e99088346a6e5ca31754bb658f5..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/events/eventlisteneroptions/capture_equality.html
+++ /dev/null
@@ -1,22 +0,0 @@
-<!DOCTYPE HTML>
-<body/>
-<script src="../../../resources/testharness.js"></script>
-<script src="../../../resources/testharnessreport.js"></script>
-
-<script>
-function testOptionEquality(addOptionValue, removeOptionValue, test) {
- var handler = function handler(e) {
- assert_unreached("dummy value getter invoked");
- }
- document.addEventListener('test', handler, addOptionValue);
- document.removeEventListener('test', handler, removeOptionValue);
- document.body.dispatchEvent(new Event('test', {'bubbles': true}));
- test.done();
-}
-
-test(function(t) { testOptionEquality({}, false, t); }, "Empty object");
-test(function(t) { testOptionEquality({'capture': false}, false, t); }, "Capture false");
-test(function(t) { testOptionEquality({'capture': true}, true, t); }, "Capture true");
-test(function(t) { testOptionEquality({'dummy': true}, false, t); }, "Non-empty object");
-
-</script>

Powered by Google App Engine
This is Rietveld 408576698