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

Chromium doesn't support ProgressEvent in Web Workers #24620

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

skyclouds2001
Copy link
Contributor

@skyclouds2001 skyclouds2001 commented Oct 3, 2024

Summary

the ProgressEvent is not exposed to service worker in chromium, which should be as the spec defines , and firefox has implement it yet

see browser issue for status, and it seems to have not progree recently and may not be fixed soon; also see chromium source code

Note: I'm not sure if partial_implementation or impl_url key should be added or not

this can be test using https://worker-playground.glitch.me/

for chrome latest version:

image

for firefox latest version:

image

Test results and supporting details

Related issues

@github-actions github-actions bot added the data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Oct 3, 2024
@skyclouds2001 skyclouds2001 marked this pull request as ready for review October 3, 2024 18:38
api/ProgressEvent.json Outdated Show resolved Hide resolved
@caugner caugner changed the title Add notes for ProgressEvent indicating it is not exposed to Service Worker in chromium Chromium doesn't support ProgressEvent in Web Workers Oct 9, 2024
@skyclouds2001
Copy link
Contributor Author

skyclouds2001 commented Oct 10, 2024

researches


chromium

issue

the interface is exposed to Dedicated Worker and Shared Worker in commit, code review, issue, see also whatwg/xhr#19 for related discussion

the issue says 38, but per https://storage.googleapis.com/chromium-find-releases-static/cc0.html#cc05eb7361375e97fee38c5fa80d731a46e2ff8f points to be 47, so 47 should instead be used?


webkit

exposed to worker in commit, issue, changeset


firefox

expose to worker in commit, issue and rev


not confirmed:

early version of edge: use the latest confirmed version as <=79

ie: not required (note Worker is also supported in v10 per BCD)

deno: how to test? but I guess it is the same version as interface itself (it as a higher version than Worker v1.0 per BCD)

@skyclouds2001 skyclouds2001 marked this pull request as draft October 10, 2024 16:53
@skyclouds2001 skyclouds2001 marked this pull request as ready for review October 10, 2024 19:07
api/ProgressEvent.json Outdated Show resolved Hide resolved
api/ProgressEvent.json Outdated Show resolved Hide resolved
api/ProgressEvent.json Outdated Show resolved Hide resolved
skyclouds2001 and others added 3 commits October 11, 2024 04:56
Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants