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

Remove POLYFILL_OLD_MATH_FUNCTIONS setting #23262

Merged
merged 1 commit into from
Dec 31, 2024

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Dec 30, 2024

These polyfills are only needed on ancient browser versions that there
should be no need to support.

@sbc100 sbc100 requested review from dschuff and kripken December 30, 2024 19:41
Copy link
Member

@kripken kripken left a comment

Choose a reason for hiding this comment

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

I'm confused, where is this documented?

Our minimum supported browser versions are currently chrome 45, firefox 40, safari 10.1 and node 10.19.

I searched for some of those version numbers under src/ and site/ and can't find them. The docs for MIN_CHROME say something else, 33 instead of 45:

// Minimum supported value is 33, which was released on 2014-02-18.

33 would be too old for this change IIANM, I think we need 38 according to MDN. But I think it should be fine to bump to that, separately?

@sbc100 sbc100 force-pushed the POLYFILL_OLD_MATH_FUNCTIONS branch from e382b21 to 25b9ac1 Compare December 30, 2024 20:41
@sbc100 sbc100 requested a review from kripken December 30, 2024 20:41
@sbc100
Copy link
Collaborator Author

sbc100 commented Dec 30, 2024

I'm confused, where is this documented?

Oops, I was looking at feature_matrix.py which was out of sync for some reason: #23264.

@sbc100 sbc100 force-pushed the POLYFILL_OLD_MATH_FUNCTIONS branch 3 times, most recently from f9f0fc4 to 3ab7eaf Compare December 31, 2024 00:01
These polyfills are only needed on ancient browser versions that there
should be no need to support.

This change bumps out minimum required chrome version from 33 to 38.
@sbc100 sbc100 force-pushed the POLYFILL_OLD_MATH_FUNCTIONS branch from 3ab7eaf to 6fdd8ce Compare December 31, 2024 00:25
@sbc100 sbc100 merged commit 09a662a into emscripten-core:main Dec 31, 2024
21 of 28 checks passed
@sbc100 sbc100 deleted the POLYFILL_OLD_MATH_FUNCTIONS branch December 31, 2024 01:20
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