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

Expose Worker and SharedWorker in fewer places #5497

Closed
annevk opened this issue Apr 30, 2020 · 3 comments · Fixed by #5601
Closed

Expose Worker and SharedWorker in fewer places #5497

annevk opened this issue Apr 30, 2020 · 3 comments · Fixed by #5601
Labels
removal/deprecation Removing or deprecating a feature topic: workers

Comments

@annevk
Copy link
Member

annevk commented Apr 30, 2020

Firefox exposes Worker in Window, DedicatedWorker, and SharedWorker. Chrome in Window and DedicatedWorker.

Firefox exposes SharedWorker in Window. Chrome does so as well.

(Safari doesn't support shared workers and I have it on good authority they don't expose Worker in service workers.)

@nhiroki @hiroshige-g @asutherland what shall we do? Align with Firefox? 😊

@annevk annevk added removal/deprecation Removing or deprecating a feature topic: workers labels Apr 30, 2020
annevk added a commit to web-platform-tests/wpt that referenced this issue May 4, 2020
@annevk
Copy link
Member Author

annevk commented May 29, 2020

@nhiroki @hiroshige-g ping. If you could review web-platform-tests/wpt#23381 too that'd be great.

@nhiroki
Copy link
Contributor

nhiroki commented Jun 1, 2020

Filed https://crbug.com/1088481 for Chromium. Exposing dedicated workers in shared workers sounds good, I'm not sure if we can start working on this soon though. Do you know any use cases of this feature? That would be useful for prioritization.

@annevk
Copy link
Member Author

annevk commented Jun 2, 2020

Allowing multi-threaded computation to happen while the user navigates through your application without requiring a single-document application or some such.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
removal/deprecation Removing or deprecating a feature topic: workers
Development

Successfully merging a pull request may close this issue.

2 participants