Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow workers & shared workers to be created within an extension service worker #287

Open
ian97531 opened this issue Oct 10, 2022 · 1 comment
Labels
supportive: chrome Supportive from Chrome

Comments

@ian97531
Copy link

As Chrome extensions migrate to manifest v3, their background scripts become service workers. Since extensions cannot reliably spawn web workers from content scripts (due to potential CSP restrictions in the host page), it'd be very useful to be able to spawn web workers from the chrome extension's service worker to execute some WASM.

I originally filed this here but was encouraged to refile in this repo and repurpose the whatwg/html#8362 to focus on use cases that are relevant to the web platform.
For reference, enabling service workers to spawn web workers has also been discussed in 2 other (closed) issues whatwg/html#411 and w3c/ServiceWorker#678.

@dotproto
Copy link
Member

Chromium is tracking this request in crbug.com/1219164.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
supportive: chrome Supportive from Chrome
Projects
None yet
Development

No branches or pull requests

2 participants