OLD | NEW |
(Empty) | |
| 1 Validates that screen.lockOrientation() returns false on bad input |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 PASS screen.orientation is "portrait-primary" |
| 7 PASS screen.lockOrientation('invalid-orientation') is false |
| 8 PASS screen.orientation is "portrait-primary" |
| 9 PASS screen.lockOrientation(null) is false |
| 10 PASS screen.orientation is "portrait-primary" |
| 11 PASS screen.lockOrientation(undefined) is false |
| 12 PASS screen.orientation is "portrait-primary" |
| 13 PASS screen.lockOrientation(123) is false |
| 14 PASS screen.orientation is "portrait-primary" |
| 15 PASS screen.lockOrientation(window) is false |
| 16 PASS screen.orientation is "portrait-primary" |
| 17 PASS screen.lockOrientation() threw exception TypeError: Failed to execute 'lock
Orientation' on 'Screen': 1 argument required, but only 0 present.. |
| 18 PASS screen.orientation is "portrait-primary" |
| 19 PASS successfullyParsed is true |
| 20 |
| 21 TEST COMPLETE |
| 22 |
OLD | NEW |