| Index: content/test/data/screen_orientation/screen_orientation_windoworientationchange.html
|
| diff --git a/content/test/data/screen_orientation/screen_orientation_orientationchange.html b/content/test/data/screen_orientation/screen_orientation_windoworientationchange.html
|
| similarity index 58%
|
| rename from content/test/data/screen_orientation/screen_orientation_orientationchange.html
|
| rename to content/test/data/screen_orientation/screen_orientation_windoworientationchange.html
|
| index 9db63856cb6cd64a3d4ab59b0ab2a070ff503a15..b29599f6fa13be654eca33876c08d16e71bea4c6 100644
|
| --- a/content/test/data/screen_orientation/screen_orientation_orientationchange.html
|
| +++ b/content/test/data/screen_orientation/screen_orientation_windoworientationchange.html
|
| @@ -3,8 +3,8 @@
|
| <head>
|
| </head>
|
| <script>
|
| - screen.orientation.onchange = function() {
|
| - document.location.hash = '#' + screen.orientation.angle;
|
| + window.onorientationchange = function() {
|
| + document.location.hash = '#' + window.orientation;
|
| };
|
|
|
| document.location.hash = '#ready';
|
|
|