Chromium Code Reviews| 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..a1733d0fac0d56a59b64adbe18541bac48646b52 100644 |
| --- a/LayoutTests/fast/events/event-creation.html |
| +++ b/LayoutTests/fast/events/event-creation.html |
| @@ -204,19 +204,16 @@ |
| // 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"); |
|
abarth-chromium
2013/04/28 16:20:20
Can we uncomment these lines and improve our test
|
| - // #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"); |
| @@ -227,7 +224,6 @@ |
| // 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"); |