Index: LayoutTests/screen_orientation/consecutive-locking-expected.txt |
diff --git a/LayoutTests/screen_orientation/consecutive-locking-expected.txt b/LayoutTests/screen_orientation/consecutive-locking-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ce83ad0442571368348cf49474363fcc893004fd |
--- /dev/null |
+++ b/LayoutTests/screen_orientation/consecutive-locking-expected.txt |
@@ -0,0 +1,18 @@ |
+Validates that consecutive calls to screen.lockOrientation() work as expected. |
+ |
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+ |
+ |
+PASS screen.orientation is "portrait-primary" |
+locking orientation to 'portrait-primary'. |
+PASS screen.lockOrientation('portrait-primary') is true |
+locking orientation to 'landscape' while locked in 'portrait-primary'. |
+PASS screen.lockOrientation('landscape') is true |
+Received an 'orientationchange' event. |
+PASS orientationChangeEventCount is 1 |
+PASS testEvent.type is "orientationchange" |
+PASS screen.orientation is "landscape-primary" |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |