dom/workers/test/test_bug1060621.html

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:2d1ef9fa1846
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 URLSearchParams object in workers</title>
9 <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
10 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
11 </head>
12 <body>
13 <p id="display"></p>
14 <div id="content" style="display: none"></div>
15 <pre id="test"></pre>
16 <script class="testbody" type="text/javascript">
17
18 var worker = new Worker("bug1060621_worker.js");
19
20 worker.onmessage = function(event) {
21 ok(true, "The operation is done. We should not leak.");
22 SimpleTest.finish();
23 };
24
25 SimpleTest.waitForExplicitFinish();
26
27 </script>
28 </pre>
29 </body>
30 </html>

mercurial