tor-browser

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

test_bug1018265.xhtml (1121B)


      1 <?xml version="1.0"?>
      2 <?xml-stylesheet type="text/css" href="chrome://global/skin"?>
      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=1018265
      7 -->
      8 <window title="Mozilla Bug 1018265"
      9        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
     10        onload="run()">
     11  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
     12 
     13  <!-- test code goes here -->
     14  <script type="application/javascript">
     15  <![CDATA[
     16 
     17  /** Test for Bug 1018265 */
     18 
     19  SimpleTest.waitForExplicitFinish();
     20 
     21  function run() {
     22    window.openDialog("file_bug1018265.xhtml", "documentViewerTest", "chrome,width=100,height=100,noopener", window);
     23  }
     24 
     25  function done() {
     26    ok(true, "done");
     27    setTimeout(function() { SimpleTest.finish(); }, 0);
     28  }
     29  ]]>
     30  </script>
     31 
     32  <!-- test results are displayed in the html:body -->
     33  <body xmlns="http://www.w3.org/1999/xhtml">
     34  <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1018265"
     35     target="_blank">Mozilla Bug 1018265</a>
     36  </body>
     37 </window>