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> |