[refactor] More post-NSS WebCrypto cleanups (utility functions).
[chromium-blink-merge.git] / content / test / data / screen_orientation / screen_orientation_lock_disabled.html
blobe7faecf7ea7cf16581e2122a39052cfc9b5ab40f
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 </head>
5 <script>
6 screen.orientation.lock('portrait-secondary').then(function() {
7 document.location.hash = '#success';
8 }, function(e) {
9 document.location.hash = '#' + e.name;
10 });
11 </script>
12 <body>
13 <div>Starting...</div>
14 </body>
15 </html>