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

Unified Diff: LayoutTests/screen_orientation/multiple-orientations-locking-expected.txt

Issue 132113006: Add initial Blink-side support for the Screen Orientation API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update compile-time assertion for matching enum Created 6 years, 10 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/multiple-orientations-locking-expected.txt
diff --git a/LayoutTests/screen_orientation/multiple-orientations-locking-expected.txt b/LayoutTests/screen_orientation/multiple-orientations-locking-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ced193ce09174fd1f0fb8ee5f881f775ef589d4
--- /dev/null
+++ b/LayoutTests/screen_orientation/multiple-orientations-locking-expected.txt
@@ -0,0 +1,19 @@
+Validates that orientationchange events can fired when several orientations are locked.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS screen.orientation is "portrait-primary"
+locking orientation to 'portrait'.
+PASS screen.lockOrientation('portrait') is true
+PASS Received an 'orientationchange' event.
+PASS testEvent.type is "orientationchange"
+PASS screen.orientation is "portrait-secondary"
+PASS Received an 'orientationchange' event.
+PASS testEvent.type is "orientationchange"
+PASS orientationChangeCount is 2
+PASS screen.orientation is "portrait-primary"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698