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

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

Issue 1190293002: Have ScreenOrientationController use a timer for async event dispatch again (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add clarifying comment to test Created 5 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-detach.html
diff --git a/LayoutTests/screen_orientation/resources/iframe-listen-orientation-change-detach.html b/LayoutTests/screen_orientation/resources/iframe-listen-orientation-change-detach.html
new file mode 100644
index 0000000000000000000000000000000000000000..57d2f389b3a33e7564248496872a9cd08807f9ff
--- /dev/null
+++ b/LayoutTests/screen_orientation/resources/iframe-listen-orientation-change-detach.html
@@ -0,0 +1,5 @@
+<!DOCTYPE html>
+<script>
+window.screen.orientation.addEventListener('change', function() {});
+parent.window.changeOrientationAndDetach();
+</script>

Powered by Google App Engine
This is Rietveld 408576698