-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Add setting fields to control which browser versions to support #9937
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
Add setting fields to control which browser versions to support #9937
Conversation
c84318b
to
190573d
Compare
Couple of fixes, and added a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Direction looks good, but I think we need a decision on our legacy support, as discussed in the other issue.
Specifically, I think by default we should not have 0 as the default for MIN. We should support only a reasonable amount of backwards compatibility by default, and not til the beginning of time. Users that do actually want support that far back can flip a flag.
Concretely, I'm suggesting:
- The default values of MIN should be something reasonable that captures 99% or so of users total. So chrome can be 6 months ago from today, firefox should have the last supported ESR I guess, etc.
- Add a section in emcc.py that checks if
LEGACY_VM_SUPPORT
is enabled, and sets the MIN versions to 0 if so.
Sure - updated, how does that look? |
9d5e859
to
fbd923d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great!
Please also mention in the LEGACY_VM_SUPPORT
comment that it does this (the comment explains everything the option does),
Line 501 in 0fae35a
// You can also configure the above options individually. |
…ripten-core#9937) * Add setting fields to control which browser versions to support, and apply it to experimental-webgl. * Remove Internet Explorer backwards compatibility when IE is not targeted. * Remove infinity const * Add support for -s OLDEST_SUPPORTED_X_VERSION=-1 and add a test * OLDEST_SUPPORTED_ -> MIN_ * Remove MIN_IOS_SAFARI_VERSION, better to introduce it only when/if needed. * Set default for browser version support * Document LEGACY_VM_SUPPORT effect
Add setting fields to control which browser versions to support, and apply it to experimental-webgl.