tor-browser

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

test_bug1014466.html (1013B)


      1 <!--
      2 2   Any copyright is dedicated to the Public Domain.
      3 3   http://creativecommons.org/publicdomain/zero/1.0/
      4 4 -->
      5 <!DOCTYPE HTML>
      6 <html>
      7 <!--
      8 https://bugzilla.mozilla.org/show_bug.cgi?id=1014466
      9 -->
     10 <head>
     11  <meta charset="utf-8">
     12  <title>Test for Bug 1014466</title>
     13  <script src="/tests/SimpleTest/SimpleTest.js"></script>
     14  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
     15 </head>
     16 <body>
     17 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1014466">Mozilla Bug 1014466</a>
     18 <p id="display"></p>
     19 <div id="content" style="display: none">
     20 
     21 </div>
     22 <pre id="test">
     23 <script type="application/javascript">
     24 
     25  var worker = new Worker("bug1014466_worker.js");
     26 
     27  worker.onmessage = function(event) {
     28    if (event.data.type == 'finish') {
     29      SimpleTest.finish();
     30    } else if (event.data.type == 'status') {
     31      ok(event.data.status, event.data.msg);
     32    }
     33  };
     34 
     35  worker.postMessage(true);
     36 
     37  SimpleTest.waitForExplicitFinish();
     38 
     39 </script>
     40 </pre>
     41 </body>
     42 </html>