Index: LayoutTests/screen_orientation/lockOrientation-array-argument-expected.txt |
diff --git a/LayoutTests/screen_orientation/lockOrientation-array-argument-expected.txt b/LayoutTests/screen_orientation/lockOrientation-array-argument-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8820e112a368f15b4cd7bd1aaca729094b09f1c0 |
--- /dev/null |
+++ b/LayoutTests/screen_orientation/lockOrientation-array-argument-expected.txt |
@@ -0,0 +1,19 @@ |
+Validates that lockOrientation() can take an array as argument. |
+ |
+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', 'landscape-primary']. |
+PASS screen.lockOrientation(['portrait-primary', 'landscape-primary']) is true |
+PASS Received an 'orientationchange' event. |
+PASS testEvent.type is "orientationchange" |
+PASS screen.orientation is "landscape-primary" |
+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 |
+ |