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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/eventlisteneroptions/capture_default.html

Issue 1956733002: Remove EventListenerOptions runtime enable setting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_add_event_listener_options
Patch Set: Amend unit tests Created 4 years, 7 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_default.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/eventlisteneroptions/capture_default.html b/third_party/WebKit/LayoutTests/fast/events/eventlisteneroptions/capture_default.html
index a0eceba8be185a98742ee9d97c97fb14f3bb6e48..4a2e1ac12aff4e7a355f67d4689098b7c40e2580 100644
--- a/third_party/WebKit/LayoutTests/fast/events/eventlisteneroptions/capture_default.html
+++ b/third_party/WebKit/LayoutTests/fast/events/eventlisteneroptions/capture_default.html
@@ -21,7 +21,7 @@ function testCaptureValue(captureValue, expectedValue, test) {
test(function(t) { testCaptureValue(true, Event.CAPTURING_PHASE, t); }, "True value");
test(function(t) { testCaptureValue(false, Event.BUBBLING_PHASE, t); }, "False value");
-test(function(t) { testCaptureValue({}, internals.runtimeFlags.eventListenerOptionsEnabled ? Event.BUBBLING_PHASE : Event.CAPTURING_PHASE, t); }, "Empty object");
+test(function(t) { testCaptureValue({}, Event.BUBBLING_PHASE, t); }, "Empty object");
test(function(t) { testCaptureValue(null, Event.BUBBLING_PHASE, t); }, "Null object");
test(function(t) { testCaptureValue(undefined, Event.BUBBLING_PHASE, t); }, "Undefined object");
test(function(t) { testCaptureValue(2.3, Event.CAPTURING_PHASE, t); }, "Positive value");

Powered by Google App Engine
This is Rietveld 408576698