tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

file_fullscreen-multiple-inner.html (483B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <head>
      4  <title>Test for Bug 724554</title>
      5 </head>
      6 <body>
      7 
      8 <script type="application/javascript">
      9 
     10 /** Test for Bug 545812 */
     11 function begin(id) {
     12  opener.addFullscreenErrorContinuation(function() {
     13    opener.ok(false, "Fullscreen denied " + id);
     14  }, document);
     15  opener.addFullscreenChangeContinuation("enter",
     16    function() {
     17      opener.enteredFullscreen(id);
     18    }, document);
     19  document.body.requestFullscreen();
     20 }
     21 
     22 </script>
     23 </pre>
     24 </body>
     25 </html>