Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ See docs/process.md for more on how version tagging works.
- Node: v10.19.0 -> v12.22.9
- Chrome: v70 -> v74
- Firefox: v55 -> v65
- Minimum Firefox version was further bumped up to Firefox 79, to reflect that
Emscripten now requires ES6 constructs (#25467)
- The Embind `val` functions `call`, `operator()`, and `new_` now support
passing `pointer`s by using the `allow_raw_pointers()` argument. This feature
is only enabled with C++17 and newer. Older versions will allow pointers by
Expand Down
2 changes: 1 addition & 1 deletion site/source/docs/tools_reference/settings_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2871,7 +2871,7 @@ are desired to work. Pass -sMIN_FIREFOX_VERSION=majorVersion to drop support
for Firefox versions older than < majorVersion.
Firefox 79 was released on 2020-07-28.
MAX_INT (0x7FFFFFFF, or -1) specifies that target is not supported.
Minimum supported value is 65 which was released on 2019-01-29 (see
Minimum supported value is 79 which was released on 2020-07-28 (see
feature_matrix.py)

Default value: 79
Expand Down
2 changes: 1 addition & 1 deletion src/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -1880,7 +1880,7 @@ var AUTO_NATIVE_LIBRARIES = true;
// for Firefox versions older than < majorVersion.
// Firefox 79 was released on 2020-07-28.
// MAX_INT (0x7FFFFFFF, or -1) specifies that target is not supported.
// Minimum supported value is 65 which was released on 2019-01-29 (see
// Minimum supported value is 79 which was released on 2020-07-28 (see
// feature_matrix.py)
// [link]
var MIN_FIREFOX_VERSION = 79;
Expand Down
7 changes: 2 additions & 5 deletions test/test_other.py
Original file line number Diff line number Diff line change
Expand Up @@ -10473,14 +10473,11 @@ def compile(flags):
# Flag disabling overrides explicit browser version
compile(['-sMIN_SAFARI_VERSION=160000', '-mno-sign-ext'])
verify_features_sec_linked('sign-ext', False)
# Flag enabling overrides explicit browser version
compile(['-sMIN_FIREFOX_VERSION=65', '-msign-ext'])
verify_features_sec_linked('sign-ext', True)
# Flag disabling overrides explicit version for bulk memory
compile(['-sMIN_SAFARI_VERSION=150000', '-mno-bulk-memory'])
verify_features_sec_linked('bulk-memory-opt', False)

# Bigint ovrride does not cause other features to enable
# Bigint override does not cause other features to enable
compile(['-sMIN_SAFARI_VERSION=140100', '-sWASM_BIGINT=1'])
verify_features_sec_linked('bulk-memory-opt', False)

Expand Down Expand Up @@ -14336,7 +14333,7 @@ def test_min_browser_version(self):
self.assertContained('emcc: error: MIN_SAFARI_VERSION=130000 is not compatible with WASM_BIGINT (MIN_SAFARI_VERSION=150000 or above required)', err)

err = self.expect_fail([EMCC, test_file('hello_world.c'), '-Wno-transpile', '-Werror', '-pthread', '-sMIN_FIREFOX_VERSION=65'])
self.assertContained('emcc: error: MIN_FIREFOX_VERSION=65 is not compatible with pthreads (MIN_FIREFOX_VERSION=79 or above required)', err)
self.assertContained('emcc: error: MIN_FIREFOX_VERSION older than 79 is not supported', err)

def test_signext_lowering(self):
# Use `-v` to show the sub-commands being run by emcc.
Expand Down
2 changes: 1 addition & 1 deletion tools/feature_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# N.b. when modifying these values, update comments in src/settings.js on
# MIN_x_VERSION fields to match accordingly.
OLDEST_SUPPORTED_CHROME = 74 # Released on 2019-04-23
OLDEST_SUPPORTED_FIREFOX = 65 # Released on 2019-01-29
OLDEST_SUPPORTED_FIREFOX = 79 # Released on 2020-07-28
OLDEST_SUPPORTED_SAFARI = 120200 # Released on 2019-03-25
# 12.22.09 is the oldest version of node that we do any testing with.
# Keep this in sync with the test-node-compat in .circleci/config.yml.
Expand Down