Index: LayoutTests/screen_orientation/locked-no-orientation-change-event-expected.txt |
diff --git a/LayoutTests/screen_orientation/locked-no-orientation-change-event-expected.txt b/LayoutTests/screen_orientation/locked-no-orientation-change-event-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..09c312e8f03f28f68097f47b34dc602589201510 |
--- /dev/null |
+++ b/LayoutTests/screen_orientation/locked-no-orientation-change-event-expected.txt |
@@ -0,0 +1,22 @@ |
+Validates that no orientationchange event is fired when we 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-primary'. |
+PASS screen.lockOrientation('portrait-primary') is true |
+PASS screen.orientation is "portrait-primary" |
+Faking device screen orientation change to 'portrait-secondary'... |
+PASS screen.orientation is "portrait-primary" |
+Faking device screen orientation change to 'landscape-primary'... |
+PASS screen.orientation is "portrait-primary" |
+Faking device screen orientation change to 'landscape-secondary'... |
+PASS screen.orientation is "portrait-primary" |
+Faking device screen orientation change to 'portrait-primary'... |
+PASS screen.orientation is "portrait-primary" |
+PASS Received no 'orientationchange' event, as expected. |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |