9 if (typeof screen.orientation.lock != "function") {
10 console.log("screen.orientation.lock is not a function");
13 if (typeof window.screen.orientation.unlock != "function") {
14 console.log("screen.orientation.unlock is not a function");
19 document.title = "Pass";
21 document.title = "Fail";
24 document.title = "Fail";
27 Screen Orientation API Test.