Index: third_party/WebKit/LayoutTests/fast/dom/DeviceOrientation/create-event.html |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/DeviceOrientation/create-event.html b/third_party/WebKit/LayoutTests/fast/dom/DeviceOrientation/create-event.html |
deleted file mode 100644 |
index 962b394e6c74276bab66c379c74a7ae29e0cd944..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/fast/dom/DeviceOrientation/create-event.html |
+++ /dev/null |
@@ -1,42 +0,0 @@ |
-<!DOCTYPE html> |
-<html> |
-<body> |
-<script src="../../../resources/js-test.js"></script> |
-<script> |
-description('Tests that document.createEvent() works with DeviceOrientationEvent.'); |
- |
-var event = document.createEvent('DeviceOrientationEvent'); |
-var newEvent = new CustomEvent("deviceorientation", { |
- bubbles: false, cancelable: false, |
- alpha: 1.0, |
- beta: 2.0, |
- gama: 3.0, |
- absolute: false |
-}); |
- |
-shouldBeTrue("typeof event == 'object'"); |
-shouldBe("event.__proto__", "DeviceOrientationEvent.prototype"); |
- |
-shouldBeTrue("'type' in event"); |
-shouldBeTrue("'bubbles' in event"); |
-shouldBeTrue("'cancelable' in event"); |
-shouldBeTrue("'alpha' in event"); |
-shouldBeTrue("'beta' in event"); |
-shouldBeTrue("'gamma' in event"); |
-shouldBeTrue("'absolute' in event"); |
- |
-shouldBeTrue("typeof event.type == 'string'"); |
-shouldBeTrue("typeof event.bubbles == 'boolean'"); |
-shouldBeTrue("typeof event.cancelable == 'boolean'"); |
-shouldBeTrue("typeof event.alpha == 'object'"); |
-shouldBeTrue("typeof event.beta == 'object'"); |
-shouldBeTrue("typeof event.gamma == 'object'"); |
-shouldBeTrue("typeof event.absolute == 'boolean'"); |
- |
-shouldBeEqualToString("newEvent.type", "deviceorientation"); |
-shouldBeFalse("newEvent.bubbles"); |
-shouldBeFalse("newEvent.cancelable"); |
- |
-</script> |
-</body> |
-</html> |