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

Unified Diff: LayoutTests/screen_orientation/orientationchange-event-subframe.html

Issue 364253007: Revert of [screen-orientation] Expose orientation info in OrientationInformation interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/screen_orientation/orientationchange-event-subframe.html
diff --git a/LayoutTests/screen_orientation/orientationchange-event-subframe.html b/LayoutTests/screen_orientation/orientationchange-event-subframe.html
index be30f77ec8f0b517b7bc7a1509618533bd015269..f64053f0c4c1ec2702d39b862c7f673abff03213 100644
--- a/LayoutTests/screen_orientation/orientationchange-event-subframe.html
+++ b/LayoutTests/screen_orientation/orientationchange-event-subframe.html
@@ -17,7 +17,7 @@
'landscape-secondary'
];
- var currentIndex = orientations.indexOf(window.screen.orientation.type);
+ var currentIndex = orientations.indexOf(window.screen.orientation);
var eventsReceived = 0;
function getNextIndex() {
« no previous file with comments | « LayoutTests/screen_orientation/orientationchange-event.html ('k') | LayoutTests/screen_orientation/page-visibility.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698