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

[2.10 backport] Avoid embedding web-worker polyfill #12561

Open
wants to merge 1 commit into
base: release-2.10
Choose a base branch
from

Conversation

moio
Copy link
Contributor

@moio moio commented Nov 8, 2024

Fxes: #12514
Port of #12400

Checklist

  • The PR is linked to an issue and the linked issue has a Milestone, or no issue is needed
  • The PR has a Milestone
  • The PR template has been filled out
  • The PR has been self reviewed
  • The PR has a reviewer assigned
  • The PR has automated tests or clear instructions for manual tests and the linked issue has appropriate QA labels, or tests are not needed
  • The PR has reviewed with UX and tested in light and dark mode, or there are no UX changes

@moio moio added this to the v2.10.1 milestone Nov 8, 2024
@moio moio requested a review from richard-cox November 8, 2024 13:20
Copy link
Member

@richard-cox richard-cox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just blocked on the release of 2.10.0 and then's good to merge

@richard-cox
Copy link
Member

@moio this one will need a rebase as well. the mirror used to install chrome recently started failing and should have been fixed in release-2.10

The BLOB code from web-worker is minified, and contains source maps that are then
passed over by webpack - that creates a situation of minified code inside BLOB
inside minified code which confuses some tools, eg.

jantimon/chrome-profile-sourcemap-resolver#4

That could be fixed, but the only reason to do so would be supporting very old
(pre-2013) browsers, so we are better off removing the polyfill altogether.

Signed-off-by: Silvio Moioli <[email protected]>
@moio
Copy link
Contributor Author

moio commented Nov 25, 2024

@richard-cox for some reason it is still failing after rebase, is there anything else I should do?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants