test_setTimeoutWith0.html (455B)
1 <html> 2 <head> 3 <title>Test for DOM Worker setTimeout and strings containing 0</title> 4 <script src="/tests/SimpleTest/SimpleTest.js"></script> 5 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" /> 6 </head> 7 <body> 8 <script> 9 10 var a = new Worker('worker_setTimeoutWith0.js'); 11 a.onmessage = function(e) { 12 is(e.data, 2, "We want to see 2 here"); 13 SimpleTest.finish(); 14 } 15 16 SimpleTest.waitForExplicitFinish(); 17 </script> 18 </body> 19 </html>