Chromium Code Reviews| 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..629ebfe15cad421a16fec71ce5ad8ce8c6c45129 |
| --- /dev/null |
| +++ b/LayoutTests/screen_orientation/screenorientation-api.html |
| @@ -0,0 +1,13 @@ |
| +<!DOCTYPE html> |
| +<html> |
| +<body> |
| +<script src="../resources/js-test.js"></script> |
| +<script> |
| +description("Validates the Screen Orientation API is exposed."); |
| + |
| +shouldBeDefined("screen.lockOrientation"); |
| +shouldBeDefined("screen.unlockOrientation"); |
| +shouldBeDefined("screen.orientation"); |
|
mlamouri (slow - plz ping)
2014/02/10 18:20:57
Shouldn't you add a check for screen.onorientation
Inactive
2014/02/10 22:25:24
Makes sense, Done.
|
| +</script> |
| +</body> |
| +</html> |