blob: 6a4a4f0fe36435e6d321bbafb5634072e9255b7b [file] [log] [blame]
<!doctype html>
<html>
<head>
<script src="../../../resources/testharness.js"></script>
<script src="../../../resources/testharnessreport.js"></script>
</head>
<body>
<script>
// hasPendingActivity() should keep wrapper and object alive inside a
// Worker also.
async_test(function(t) {
var worker = new Worker("resources/worker-xhr-onerror.js");
worker.onmessage = () => { t.done(); };
}, 'hasPendingActivity() should also keep wrapper and object alive inside a worker');
</script>
</body>
</html>