When creating a Worker, create it in the remote context.
Currently the worker is always created as a Worker of the current document.
With this we create it in the RC and assign it to the specified global
variable.
Fixed: 342275700
Change-Id: Ia8482f148b6aa4de7fb9bfb18af886287aa63297
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5561812
Reviewed-by: Yuzu Saijo yuzus@chromium.org
Commit-Queue: Fergal Daly fergal@chromium.org
Auto-Submit: Fergal Daly fergal@chromium.org
Cr-Commit-Position: refs/heads/main@{#1306239}