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

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

Issue 2661663003: Send orientation change events to sub frames even if parent isn't active. (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationControllerImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/screen_orientation/orientationchange-event-subframe.html
diff --git a/third_party/WebKit/LayoutTests/screen_orientation/orientationchange-event-subframe.html b/third_party/WebKit/LayoutTests/screen_orientation/orientationchange-event-subframe.html
index d26090b74ef6d2c47207bd6541aeeda721a6ad0a..0e19bbbf66fdd8d133518bfc096356b488010635 100644
--- a/third_party/WebKit/LayoutTests/screen_orientation/orientationchange-event-subframe.html
+++ b/third_party/WebKit/LayoutTests/screen_orientation/orientationchange-event-subframe.html
@@ -17,7 +17,7 @@
'landscape-secondary'
];
- var currentIndex = orientations.indexOf(window.screen.orientation.type);
+ var currentIndex = 0; // Default orientation for testRunner is 'portrait-primary'.
var eventsReceived = 0;
function getNextIndex() {
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationControllerImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698