tor-browser

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

file_bug1224790-1_nonmodal.xhtml (818B)


      1 <?xml version="1.0"?>
      2 <?xml-stylesheet type="text/css" href="chrome://global/skin"?>
      3 <?xml-stylesheet type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"?>
      4 <!--
      5 https://bugzilla.mozilla.org/show_bug.cgi?id=1224790
      6 -->
      7 <window title="Mozilla Bug 1224790"
      8        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
      9  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
     10 
     11  <!-- test results are displayed in the html:body -->
     12  <body xmlns="http://www.w3.org/1999/xhtml">
     13  </body>
     14 
     15  <!-- test code goes here -->
     16  <script type="application/javascript">
     17  <![CDATA[
     18  /** Test for Bug 1224790 */
     19 
     20  function runTests() {
     21    window.close();
     22    opener.wrappedJSObject.nonModalClosed();
     23  }
     24 
     25  SimpleTest.waitForFocus(runTests);
     26  ]]>
     27  </script>
     28 </window>