tor-browser

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

test_bug990812.xhtml (1237B)


      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"
      4                 type="text/css"?>
      5 <!--
      6 https://bugzilla.mozilla.org/show_bug.cgi?id=990812
      7 -->
      8 <window title="Mozilla Bug 990812"
      9  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
     10  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
     11 
     12  <!-- test results are displayed in the html:body -->
     13  <body xmlns="http://www.w3.org/1999/xhtml">
     14  <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=990812"
     15     target="_blank">Mozilla Bug 990812</a>
     16  </body>
     17 
     18  <!-- test code goes here -->
     19  <script type="application/javascript"><![CDATA[
     20  SimpleTest.waitForExplicitFinish();
     21 
     22  var tests = [
     23    "file_bug990812-1.xhtml",
     24    "file_bug990812-2.xhtml",
     25    "file_bug990812-3.xhtml",
     26    "file_bug990812-4.xhtml",
     27    "file_bug990812-5.xhtml",
     28  ];
     29 
     30  function next() {
     31    if (tests.length) {
     32      var file = tests.shift();
     33      info("-- running " + file);
     34      window.openDialog(file, "_blank", "chrome,noopener", window);
     35    } else {
     36      SimpleTest.finish();
     37    }
     38  }
     39 
     40  addLoadEvent(next);
     41  ]]></script>
     42 </window>