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

Unified Diff: LayoutTests/screen_orientation/resources/iframe-listen-orientation-change.html

Issue 277413002: Make screen.orientation implementation use WebScreenInfo::orientationType (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add FIXME comment Created 6 years, 7 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/resources/iframe-listen-orientation-change.html
diff --git a/LayoutTests/screen_orientation/resources/iframe-listen-orientation-change.html b/LayoutTests/screen_orientation/resources/iframe-listen-orientation-change.html
new file mode 100644
index 0000000000000000000000000000000000000000..6d4a1e5e73e62d86751c3250307cbb9887915ff0
--- /dev/null
+++ b/LayoutTests/screen_orientation/resources/iframe-listen-orientation-change.html
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<script>
+ window.addEventListener("orientationchange", function() {
+ parent.window.postMessage(screen.orientation, "*");
+ });
+</script>
« no previous file with comments | « LayoutTests/screen_orientation/orientationchange-event-subframe.html ('k') | Source/core/frame/LocalFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698