| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto
r-protocol-test.js"></script> | 3 <script type="text/javascript" src="../../http/tests/inspector-protocol/resource
s/inspector-protocol-test.js"></script> |
| 4 <script> | 4 <script> |
| 5 var worker; | 5 var worker; |
| 6 | 6 |
| 7 function startWorker() | 7 function startWorker() |
| 8 { | 8 { |
| 9 worker = new Worker("resources/dedicated-worker-suspend-setTimeout.js"); | 9 worker = new Worker("resources/dedicated-worker-suspend-setTimeout.js"); |
| 10 worker.onmessage = function(event) { }; | 10 worker.onmessage = function(event) { }; |
| 11 worker.postMessage(1); | 11 worker.postMessage(1); |
| 12 log("Started worker"); | 12 log("Started worker"); |
| 13 } | 13 } |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 } | 73 } |
| 74 } | 74 } |
| 75 } | 75 } |
| 76 </script> | 76 </script> |
| 77 </head> | 77 </head> |
| 78 <body onLoad="runTest();"> | 78 <body onLoad="runTest();"> |
| 79 <p>Tests that setTimeout callback will not fire while script execution is paused
.<a href="https://code.google.com/p/chromium/issues/detail?id=377926">Bug 377926
.</a> | 79 <p>Tests that setTimeout callback will not fire while script execution is paused
.<a href="https://code.google.com/p/chromium/issues/detail?id=377926">Bug 377926
.</a> |
| 80 </p> | 80 </p> |
| 81 </body> | 81 </body> |
| 82 </html> | 82 </html> |
| OLD | NEW |