chromium/content/test/data/screen_orientation/screen_orientation_lock_disabled.html

<!DOCTYPE HTML>
<html>
<head>
</head>
<script>
function run() {
  screen.orientation.lock('portrait-secondary').then(function() {
    document.location.hash = '#success';
  }, function(e) {
    document.location.hash = '#' + e.name;
  });
}
</script>
<body>
  <div>Starting...</div>
</body>
</html>