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 |
index 6d4a1e5e73e62d86751c3250307cbb9887915ff0..a4a9603bbe0f25b2f2105386d9abc5bba88eecba 100644 |
--- a/LayoutTests/screen_orientation/resources/iframe-listen-orientation-change.html |
+++ b/LayoutTests/screen_orientation/resources/iframe-listen-orientation-change.html |
@@ -1,6 +1,6 @@ |
<!DOCTYPE html> |
<script> |
window.addEventListener("orientationchange", function() { |
- parent.window.postMessage(screen.orientation, "*"); |
+ parent.window.postMessage(screen.orientation.type, "*"); |
}); |
</script> |