Skip to content
Merged
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
4 changes: 2 additions & 2 deletions site/source/docs/tools_reference/settings_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3332,8 +3332,8 @@ GROWABLE_ARRAYBUFFERS
=====================

Enable support for GrowableSharedArrayBuffer.
This features is only available behind a flag in recent versions of
node/chrome.
This feature has only recently become available across major browser engines
and Node.js.

.. note:: This is an experimental setting

Expand Down
4 changes: 2 additions & 2 deletions src/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -2189,8 +2189,8 @@ var WASM_ESM_INTEGRATION = false;
var JS_BASE64_API = false;

// Enable support for GrowableSharedArrayBuffer.
// This features is only available behind a flag in recent versions of
// node/chrome.
// This feature has only recently become available across major browser engines
// and Node.js.
// [experimental]
// [link]
var GROWABLE_ARRAYBUFFERS = false;
Expand Down
9 changes: 7 additions & 2 deletions tools/feature_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,12 @@ class Feature(IntEnum):
# This feature is not used anywhere else except the test harness to detect
# browser version.
Feature.GROWABLE_ARRAYBUFFERS: {
'chrome': 136,
'chrome': 144,
'firefox': 145,
'safari': UNSUPPORTED,
'safari': 260200,
# Supported with flag --experimental-wasm-rab-integration (TODO: Change
# this to unflagged version of Node.js 260000, see also the comment in
# Feature.WASM_EXCEPTIONS above)
'node': 240000,
},

Expand Down Expand Up @@ -264,3 +267,5 @@ def apply_min_browser_versions():
enable_feature(Feature.WASM_LEGACY_EXCEPTIONS, 'Wasm Legacy exceptions (-fwasm-exceptions with -sWASM_LEGACY_EXCEPTIONS=1)')
else:
enable_feature(Feature.WASM_EXCEPTIONS, 'Wasm exceptions (-fwasm-exceptions with -sWASM_LEGACY_EXCEPTIONS=0)')
if settings.GROWABLE_ARRAYBUFFERS:
enable_feature(Feature.GROWABLE_ARRAYBUFFERS, 'GrowableSharedArrayBuffer')
2 changes: 1 addition & 1 deletion tools/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
'SPLIT_MODULE': '-sSPLIT_MODULE is experimental and subject to change',
'SOURCE_PHASE_IMPORTS': '-sSOURCE_PHASE_IMPORTS is experimental and not yet supported in browsers',
'JS_BASE64_API': '-sJS_BASE64_API is experimental and not yet supported in browsers',
'GROWABLE_ARRAYBUFFERS': '-sGROWABLE_ARRAYBUFFERS is experimental and not yet supported in browsers',
'GROWABLE_ARRAYBUFFERS': '-sGROWABLE_ARRAYBUFFERS is still experimental and has only recently become available in browsers',
'SUPPORT_BIG_ENDIAN': '-sSUPPORT_BIG_ENDIAN is experimental, not all features are fully supported.',
'WASM_ESM_INTEGRATION': '-sWASM_ESM_INTEGRATION is still experimental and not yet supported in browsers',
}
Expand Down
Loading