Index: LayoutTests/screen_orientation/locking-then-unlocking-expected.txt |
diff --git a/LayoutTests/screen_orientation/locking-then-unlocking-expected.txt b/LayoutTests/screen_orientation/locking-then-unlocking-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f705af8d4b3f6f7304acbaf68073a1d2d3d84d7c |
--- /dev/null |
+++ b/LayoutTests/screen_orientation/locking-then-unlocking-expected.txt |
@@ -0,0 +1,21 @@ |
+Validates that screen orientation can be unlocked |
+ |
+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 |
+Faking device screen orientation change to 'landscape-primary'... |
+PASS screen.orientation is "portrait-primary" |
+PASS orientationChangeEventCount is 0 |
+Unlocking orientation... |
+Received an 'orientationchange' event. |
+PASS locked is false |
+PASS orientationChangeEventCount is 1 |
+PASS testEvent.type is "orientationchange" |
+PASS screen.orientation is "landscape-primary" |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |