This link says:
Workers can spawn more workers if they so wish. So-called subcontractors must be located in the same origin as the parent. Also, URIs for subusers are allowed relative to the parent and not on the ownership page. This makes it easy to keep track of where their dependencies are.
But when I try to create a Worker in another Worker :
var worker = new Worker('foo.js');
I get an exception in Chrome.
Uncaught ReferenceError: Worker is not defined
IE works though (unexpectedly). Is it somewhere documented? Is there a way to cross browser to create a Worker from another Worker ? Performing a Web Search I do not see many (or, rather, any) code samples of spawning side jobs.
EDIT: adding a few more links:
https://html.spec.whatwg.org/multipage/workers.html#delegation
https://whatwg.org/demos/workers/multicore/page.html (doesn't work in Chrome)
source share