Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!doctype html> | |
| 2 <html> | |
| 3 <head> | |
| 4 <script src="../../resources/testharness.js"></script> | |
| 5 <script src="../../resources/testharnessreport.js"></script> | |
| 6 </head> | |
| 7 <body> | |
| 8 <script> | |
| 9 // hasPendingActivity() should keep wrapper and object alive inside a | |
| 10 // Worker also. | |
| 11 async_test(function(t) { | |
| 12 var worker = new Worker("resources/worker-xhr-onerror.js"); | |
| 13 worker.onmessage = () => { t.done(); }; | |
| 14 }, 'hasPendingActivity() should also keep wrapper and object alive inside a work er'); | |
| 15 </script> | |
| 16 </body> | |
| 17 </html> | |
| OLD | NEW |