2 Any copyright is dedicated to the Public Domain.
3 http://creativecommons.org/publicdomain/zero/1.0/
8 <title>Test for DOM Worker Threads
</title>
9 <script src=
"/tests/SimpleTest/SimpleTest.js"></script>
10 <link rel=
"stylesheet" type=
"text/css" href=
"/tests/SimpleTest/test.css" />
14 <div id=
"content" style=
"display: none"></div>
16 <script class=
"testbody" type=
"text/javascript">
18 new Worker(
"clearTimeouts_worker.js").onmessage = function(event) {
19 event.target.terminate();
21 is(event.data,
"ready",
"Correct message");
22 setTimeout(function() { SimpleTest.finish(); },
1000);
25 SimpleTest.waitForExplicitFinish();
26 SimpleTest.requestFlakyTimeout(
"untriaged");