Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(501)

Side by Side Diff: content/test/data/screen_orientation/screen_orientation_orientationchange.html

Issue 431103002: Add integration tests for window.orientation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@screen_orientation_integration
Patch Set: rebase Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 </head>
5 <script>
6 screen.orientation.onchange = function() {
7 document.location.hash = '#' + screen.orientation.angle;
8 };
9
10 document.location.hash = '#ready';
11 </script>
12 <body>
13 <div>Starting...</div>
14 </body>
15 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698