Chromium Code Reviews| Index: LayoutTests/fast/dom/DeviceOrientation/script-tests/window-property.js |
| diff --git a/LayoutTests/fast/dom/DeviceOrientation/script-tests/window-property.js b/LayoutTests/fast/dom/DeviceOrientation/script-tests/window-property.js |
| index 0d8750a842071c4f82eae24a2af07fc73982458f..e57181f34e0739768f2634d1b66bf284e9b2a34b 100644 |
| --- a/LayoutTests/fast/dom/DeviceOrientation/script-tests/window-property.js |
| +++ b/LayoutTests/fast/dom/DeviceOrientation/script-tests/window-property.js |
| @@ -11,7 +11,8 @@ function hasDeviceOrientationEventProperty() |
| shouldBeTrue("typeof window.DeviceOrientationEvent == 'object'"); |
| shouldBeFalse("typeof window.DeviceOrientationEvent == 'function'"); |
| -shouldBeTrue("hasDeviceOrientationEventProperty()"); |
| +// Global constructors should not be enumerable. |
| +shouldBeFalse("hasDeviceOrientationEventProperty()"); |
|
arv (Not doing code reviews)
2013/04/24 15:34:08
The test on this line is a bit misleading now. May
|
| shouldBeTrue("'DeviceOrientationEvent' in window"); |
| shouldBeTrue("window.hasOwnProperty('DeviceOrientationEvent')"); |