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

Unified Diff: LayoutTests/fast/events/event-creation.html

Issue 14020004: Remove the remains of unused guards. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 7 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: LayoutTests/fast/events/event-creation.html
diff --git a/LayoutTests/fast/events/event-creation.html b/LayoutTests/fast/events/event-creation.html
index 4971160a9ef1acee78754fcee6c76a8b190ed9f1..5fcc530f2afcd6faa1c738a4b6090cf770ace556 100644
--- a/LayoutTests/fast/events/event-creation.html
+++ b/LayoutTests/fast/events/event-creation.html
@@ -204,34 +204,29 @@
// shouldBeTrue("document.createEvent('WebGLContextEvent') instanceof window.Event");
// shouldBeTrue("document.createEvent('WebGLContextEvent').constructor === window.WebGLContextEvent");
- // #if ENABLE(TOUCH_EVENTS)
// TouchEvent
- // shouldBeTrue("document.createEvent('TouchEvent') instanceof window.TouchEvent");
- // shouldBeTrue("document.createEvent('TouchEvent') instanceof window.Event");
- // shouldBeTrue("document.createEvent('TouchEvent').constructor === window.TouchEvent");
+ shouldBeTrue("document.createEvent('TouchEvent') instanceof window.TouchEvent");
+ shouldBeTrue("document.createEvent('TouchEvent') instanceof window.Event");
+ shouldBeTrue("document.createEvent('TouchEvent').constructor === window.TouchEvent");
- // #if ENABLE(DEVICE_ORIENTATION)
// DeviceMotionEvent
// shouldBeTrue("document.createEvent('DeviceMotionEvent') instanceof window.DeviceMotionEvent");
// shouldBeTrue("document.createEvent('DeviceMotionEvent') instanceof window.Event");
// shouldBeTrue("document.createEvent('DeviceMotionEvent').constructor === window.DeviceMotionEvent");
- // #if ENABLE(DEVICE_ORIENTATION)
// DeviceOrientationEvent
// shouldBeTrue("document.createEvent('DeviceOrientationEvent') instanceof window.DeviceOrientationEvent");
// shouldBeTrue("document.createEvent('DeviceOrientationEvent') instanceof window.Event");
// shouldBeTrue("document.createEvent('DeviceOrientationEvent').constructor === window.DeviceOrientationEvent");
- // #if ENABLE(ORIENTATION_EVENTS)
// OrientationEvent (Event alternative)
// shouldBeTrue("document.createEvent('OrientationEvent') instanceof window.Event");
// shouldBeTrue("document.createEvent('OrientationEvent').constructor === window.Event");
- // #if ENABLE(REQUEST_AUTOCOMPLETE)
// AutocompleteErrorEvent
- // shouldBeTrue("document.createEvent('AutocompleteErrorEvent') instanceof window.AutocompleteErrorEvent");
- // shouldBeTrue("document.createEvent('AutocompleteErrorEvent') instanceof window.Event");
- // shouldBeTrue("document.createEvent('AutocompleteErrorEvent').constructor === window.AutocompleteErrorEvent");
+ shouldBeTrue("document.createEvent('AutocompleteErrorEvent') instanceof window.AutocompleteErrorEvent");
+ shouldBeTrue("document.createEvent('AutocompleteErrorEvent') instanceof window.Event");
+ shouldBeTrue("document.createEvent('AutocompleteErrorEvent').constructor === window.AutocompleteErrorEvent");
// We test both a hard coded set and the automated set below (using enumeration) to ensure that a constructor being removed
// from the window is caught a regression.

Powered by Google App Engine
This is Rietveld 408576698