Index: LayoutTests/screen_orientation/screenorientation-api.html |
diff --git a/LayoutTests/screen_orientation/screenorientation-api.html b/LayoutTests/screen_orientation/screenorientation-api.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c1ef5389a1c19b507b10445245883b667fc74f79 |
--- /dev/null |
+++ b/LayoutTests/screen_orientation/screenorientation-api.html |
@@ -0,0 +1,14 @@ |
+<!DOCTYPE html> |
+<html> |
+<body> |
+<script src="../resources/js-test.js"></script> |
+<script> |
+description("Validates the Screen Orientation API is exposed."); |
mlamouri (slow - plz ping)
2014/02/12 20:11:26
You might want to check that Screen is an EventTar
Inactive
2014/02/12 21:08:04
Done.
|
+ |
+shouldBeDefined("screen.lockOrientation"); |
+shouldBeDefined("screen.unlockOrientation"); |
+shouldBeDefined("screen.orientation"); |
+shouldBeDefined("screen.onorientationchange"); |
+</script> |
+</body> |
+</html> |