Repository navigation
Update default minimum browser versions - #28141
Merged
Merged
Conversation
There was a problem hiding this comment.
Code Review
This pull request increases the default minimum browser versions targeted by Emscripten: Chrome (85 to 93), Firefox (79 to 92), and Safari (15.0 to 15.4). These updates are applied to the default settings, documentation, changelog, and test code size expectations. I have no feedback to provide as there are no review comments to assess.
sbc100
force-pushed
the
default_browser_versions
branch
2 times, most recently
from
November 2, 2026 22:55
63bd576 to
947aa42
Compare
kripken
reviewed
Nov 3, 2026
sbc100
force-pushed
the
default_browser_versions
branch
from
November 4, 2026 22:26
947aa42 to
442d53f
Compare
sbc100
force-pushed
the
default_browser_versions
branch
from
November 4, 2026 22:50
442d53f to
58ee5e7
Compare
dschuff
approved these changes
Nov 4, 2026
sbc100
force-pushed
the
default_browser_versions
branch
from
November 4, 2026 23:29
58ee5e7 to
eade2da
Compare
sbc100
added a commit
that referenced
this pull request
Nov 5, 2026
Only include the `Atomics.waitAsync` polyfill when targeting engines that lack support (Chrome < 91, Safari < 16.4, or Firefox < 145; Node.js has supported `Atomics.waitAsync` since v16.0.0). Also guard the runtime Chrome < 91 user-agent regex check with `#if MIN_CHROME_VERSION < 91` so it is omitted when targeting Chrome 91 or newer (such as the new default `MIN_CHROME_VERSION=93` in #28141).
Bump the default target browser versions in `src/settings.js`: - `MIN_CHROME_VERSION`: 85 (Aug 2020) -> 93 (Aug 2021) - `MIN_FIREFOX_VERSION`: 79 (Jul 2020) -> 92 (Sep 2021) - `MIN_SAFARI_VERSION`: 150000 (Sep 2021) -> 150400 (Mar 2022) This allows `$hasOwn` in `libcore.js` (introduced in emscripten-core#28129) to use the `Object.hasOwn` fast path by default, and allows `$waitAsyncPolyfilled` in `libatomic.js` (updated in emscripten-core#28172) to omit the Chrome < 91 user-agent check by default. Note: This does not effect the minimum browsers versions that we support or the behaviour -sLEGACY_VM_SUPPORT. See: emscripten-core#28125
sbc100
force-pushed
the
default_browser_versions
branch
from
November 5, 2026 00:14
eade2da to
b992d41
Compare
clementperon
added a commit
to clementperon/emscripten
that referenced
this pull request
Nov 6, 2026
Resolve the codesize expectation conflicts: main only changed the JS sizes (emscripten-core#28141) and this branch only changed the wasm sizes, so take the JS sizes from main, the wasm sizes from this branch, and recompute the totals. Co-Authored-By: Claude Opus 5.5 <[email protected]>
clementperon
added a commit
to clementperon/emscripten
that referenced
this pull request
Nov 6, 2026
Resolve the codesize expectation conflicts: main only changed the JS sizes (emscripten-core#28141) and this branch only changed the wasm sizes, so take the JS sizes from main, the wasm sizes from this branch, and recompute the totals. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bump the default target browser versions in
src/settings.js:MIN_CHROME_VERSION: 85 (Aug 2020) -> 93 (Aug 2021)MIN_FIREFOX_VERSION: 79 (Jul 2020) -> 92 (Sep 2021)MIN_SAFARI_VERSION: 150000 (Sep 2021) -> 150400 (Mar 2022)This allows
$hasOwninlibcore.js(introduced in #28129) to use theObject.hasOwnfast path by default, and allows$waitAsyncPolyfilledin
libatomic.js(updated in #28172) to omit the Chrome < 91 user-agentcheck by default.
Note: This does not effect the minimum browsers versions that we support
or the behaviour -sLEGACY_VM_SUPPORT.
See: #28125