Skip to content

Update default minimum browser versions - #28141

Open
sbc100 wants to merge 1 commit into
emscripten-core:mainfrom
sbc100:default_browser_versions
Open

sbc100 wants to merge 1 commit into
emscripten-core:mainfrom
sbc100:default_browser_versions

Conversation

@sbc100

@sbc100 sbc100 commented Nov 2, 2026 •

Copy link
Copy Markdown
Collaborator

Bump the default target browser versions in src/settings.js:

  • MIN_CHROME_VERSION: 85 -> 93
  • MIN_FIREFOX_VERSION: 79 -> 92
  • MIN_SAFARI_VERSION: 150000 -> 150400

This allows $hasOwn in libcore.js (introduced in #28129) to use the Object.hasOwn fast path by default.

Note: This does not effect the minimum browsers versions that we support or the behaviour -sLEGACY_VM_SUPPORT.

See: #28125

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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
sbc100 requested review from dschuff and kripken November 2, 2026 21:56
@sbc100
sbc100 force-pushed the default_browser_versions branch from 53acccf to 63bd576 Compare November 2, 2026 21:57
Bump the default target browser versions in `src/settings.js`:
- `MIN_CHROME_VERSION`: 85 -> 93
- `MIN_FIREFOX_VERSION`: 79 -> 92
- `MIN_SAFARI_VERSION`: 150000 -> 150400

This allows `$hasOwn` in `libcore.js` (introduced in emscripten-core#28129) to use the
`Object.hasOwn` fast path by default.

See: emscripten-core#28125
@sbc100
sbc100 force-pushed the default_browser_versions branch from 63bd576 to 947aa42 Compare November 2, 2026 22:55
Comment thread ChangeLog.md
- The default minimum browser versions targeted by Emscripten were increased:
- `MIN_CHROME_VERSION`: 85 -> 93
- `MIN_FIREFOX_VERSION`: 79 -> 92
- `MIN_SAFARI_VERSION`: 15.0 -> 15.4

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Maybe add the dates here? That would quickly show people that these defaults are still 4+ years in the past.

@kripken kripken left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm otherwise

This branch has not been deployed

No deployments
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