tor-browser

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

test_focus.xhtml (770B)


      1 <?xml version="1.0"?>
      2 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
      3 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
      4 
      5 <window title="Focus Tests"
      6  onload="setTimeout(runTest, 0);"
      7  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
      8 
      9  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
     10 
     11 <script>
     12 SimpleTest.expectAssertions(0, 1);
     13 SimpleTest.waitForExplicitFinish();
     14 async function runTest()
     15 {
     16  window.openDialog("window_focus.xhtml", "_blank", "chrome,width=600,height=550,noopener", window);
     17 }
     18 </script>
     19 
     20 <body xmlns="http://www.w3.org/1999/xhtml">
     21 <p id="display">
     22 </p>
     23 <div id="content" style="display: none">
     24 </div>
     25 <pre id="test">
     26 </pre>
     27 </body>
     28 
     29 </window>