| Index: third_party/WebKit/LayoutTests/fast/dom/DeviceMotion/window-property.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/DeviceMotion/window-property.html b/third_party/WebKit/LayoutTests/fast/dom/DeviceMotion/window-property.html
|
| deleted file mode 100644
|
| index 71c018d6ecddbfc70856524a886f81ad2a10bdc6..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/fast/dom/DeviceMotion/window-property.html
|
| +++ /dev/null
|
| @@ -1,38 +0,0 @@
|
| -<!DOCTYPE html>
|
| -<html>
|
| -<body>
|
| -<script src="../../../resources/js-test.js"></script>
|
| -<script>
|
| -description("Tests that the window.DeviceMotionEvent and window.ondevicemotion properties are present.");
|
| -
|
| -function hasDeviceMotionEventProperty()
|
| -{
|
| - for (var property in window) {
|
| - if (property == "DeviceMotionEvent")
|
| - return true;
|
| - }
|
| - return false;
|
| -}
|
| -
|
| -shouldBeTrue("typeof window.DeviceMotionEvent == 'object'");
|
| -shouldBeFalse("typeof window.DeviceMotionEvent == 'function'");
|
| -shouldBeTrue("hasDeviceMotionEventProperty()");
|
| -shouldBeTrue("'DeviceMotionEvent' in window");
|
| -shouldBeTrue("window.hasOwnProperty('DeviceMotionEvent')");
|
| -
|
| -function hasOnDeviceMotionProperty()
|
| -{
|
| - for (var property in window) {
|
| - if (property == "ondevicemotion")
|
| - return true;
|
| - }
|
| - return false;
|
| -}
|
| -
|
| -shouldBeTrue("typeof window.ondevicemotion == 'object'");
|
| -shouldBeTrue("hasOnDeviceMotionProperty()");
|
| -shouldBeTrue("'ondevicemotion' in window");
|
| -shouldBeTrue("window.hasOwnProperty('ondevicemotion')");
|
| -</script>
|
| -</body>
|
| -</html>
|
|
|