blob: efd611436e7734fb02caeed3fb6102371c1340c0 [file] [log] [blame]
This is a testharness.js-based test.
FAIL Test that screen.orientation.lock() throws when the input isn't valid. assert_throws: function "function () {
screen.orientation.lock('invalid-orientation');
}" did not throw
Harness: the test ran to completion.