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

ES Module support for Web Workers #192

Closed
potch opened this issue Oct 7, 2022 · 3 comments
Closed

ES Module support for Web Workers #192

potch opened this issue Oct 7, 2022 · 3 comments
Labels
accepted An accepted proposal focus-area-proposal Focus Area Proposal

Comments

@potch
Copy link

potch commented Oct 7, 2022

Description

With robust, native ES module support in both the server and the main thread of modern browsers, it would be wonderful to have full support for ES Modules in Web Worker contexts without need for compilation.

Rationale

Specification

https://html.spec.whatwg.org/multipage/workers.html#module-worker-example

Tests

https://wpt.fyi/results/workers/modules

@potch potch added the focus-area-proposal Focus Area Proposal label Oct 7, 2022
@foolip foolip moved this to Proposed in Interop 2023 Oct 7, 2022
@gsnedders gsnedders added this to the Interop 2023 milestone Oct 7, 2022
@foolip foolip removed this from the Interop 2023 milestone Oct 7, 2022
@bkardell
Copy link
Contributor

The current status quo is very complicated to deal with and I think a lot of people just don't even bother because of it. This is a thing we kind of need interop on to really realize the potential of and I think that a lot of stuff that uses workers is stuff that people use kind of a lot or have strict perf goals/limits... There are less of them and they are more centralized, so another bit of rationale here is that it is a win for more users requiring less people (who are already acutely aware) to act.

@tbondwilkinson
Copy link

ES module support for Web Worker is a P3 for Google's closure library

"I don't have a good sense of how widespread the use of workers is, nor the effect it has on the code, but my understanding is that you have to write code differently depending on where it's targetted, and this is a burden on users."

@foolip foolip added the accepted An accepted proposal label Feb 1, 2023
@foolip
Copy link
Member

foolip commented Feb 1, 2023

Thank you for proposing ES Module support for Web Workers for inclusion in Interop 2023.

We are pleased to let you know that this proposal was accepted as part of the Modules focus area. You can follow the progress of this Focus Area on the Interop 2023 dashboard.

For an overview of our process, see the proposal selection summary. Thank you for contributing to Interop 2023!

Posted on behalf of the Interop team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted An accepted proposal focus-area-proposal Focus Area Proposal
Projects
No open projects
Status: Proposed
Development

No branches or pull requests

5 participants