Open
Description
With classic script workers it wasn't possible for a document in a unique origin (such as a sandboxed iframe) to create a Worker
, as it's impossible for the origin of the script URL to be the same as the (unique) origin of the document. With module workers there currently is no such same-origin requirement though, so as spec-ed it should be possible for a unique origin to create a worker (assuming the worker is served with a Access-Control-Allow-Origin: *
or Access-Control-Allow-Origin: null
header). Is this intentional? Or should some of the same origin checks that got removed from the Worker constructor be put back?
@annevk @domenic