Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /workers/semantics/multiple-workers/003.html - WPT Dashboard Interop Dashboard
<!doctype html>
<title>creating 3 nested dedicated workers</title>
<meta name="timeout" content="long">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id=log></div>
<script>
async_test(function() {
var w1 = new Worker('003.js#1');
w1.onmessage = this.step_func(function(e) {
assert_equals(e.data, '123');
this.done();
});
w1.onerror = this.unreached_func("error");
});
</script>