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

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

Issue 366853008: [screen-orientation] Expose orientation info in OrientationInformation interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update ctor listing Created 6 years, 6 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
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>
« no previous file with comments | « LayoutTests/screen_orientation/page-visibility.html ('k') | LayoutTests/webexposed/global-constructors-listing-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698