tor-browser

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

test_bug1104064.html (634B)


      1 <!--
      2  Any copyright is dedicated to the Public Domain.
      3  http://creativecommons.org/publicdomain/zero/1.0/
      4 -->
      5 <!DOCTYPE HTML>
      6 <html>
      7 <head>
      8  <title>Test for bug 1104064</title>
      9  <script src="/tests/SimpleTest/SimpleTest.js"></script>
     10  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
     11 </head>
     12 <body>
     13 <script class="testbody" type="text/javascript">
     14 
     15 var worker = new Worker("bug1104064_worker.js");
     16 worker.onmessage = function() {
     17  ok(true, "setInterval has been called twice.");
     18  SimpleTest.finish();
     19 }
     20 worker.postMessage("go");
     21 
     22 SimpleTest.waitForExplicitFinish();
     23 
     24 </script>
     25 </pre>
     26 </body>
     27 </html>