Revision 614c1ccac5f885e58444fe74a2aedd120d2ca73f authored by Marcos Cáceres on 21 August 2018, 05:04:44 UTC, committed by GitHub on 21 August 2018, 05:04:44 UTC
1 parent 4797b9c
nested_worker_terminate_from_document.html
<!DOCTYPE html>
<meta charset="utf-8">
<title>Test terminating a chain of nested workers by calling terminate() from the owning document</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
async_test(function() {
const worker = new Worker("support/parent_of_nested_worker.js");
worker.onmessage = this.step_func_done(function(e) {
assert_equals(e.data, "Pass");
worker.terminate();
});
});
</script>
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...