Index: chrome/test/data/chromedriver/orientation_test.html |
diff --git a/chrome/test/data/chromedriver/orientation_test.html b/chrome/test/data/chromedriver/orientation_test.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..bfb74ebae9df390d2c79099b84a0d109bb171c75 |
--- /dev/null |
+++ b/chrome/test/data/chromedriver/orientation_test.html |
@@ -0,0 +1,16 @@ |
+<html> |
+ <title>orientation test</title> |
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
+ </head> |
+ <body> |
+ <script type="text/javascript"> |
+ screen.addEventListener("orientationchange", fucntion() { |
+ elt = document.FindElementById('orientation'); |
+ elt.innerHTML = screen.orientation.type; |
+ }); |
+ </script> |
+ <div> |
+ hello |
+ </div> |
+ </body> |
+</html> |