Skip to content

Commit a827fc0

Browse files
authored
Merge branch 'main' into safari_harness
2 parents f0c11e7 + ea5e4e0 commit a827fc0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+329
-431
lines changed

.circleci/config.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1113,16 +1113,10 @@ jobs:
11131113
# initial position of the mouse pointer relative to the canvas.
11141114
# browser.test_html5_webgl_create_context is skipped because
11151115
# anti-aliasing is not well supported.
1116-
# browser.test_webgl_offscreen_canvas_in_pthread and
1117-
# browser.test_webgl_offscreen_canvas_in_mainthread_after_pthread
1118-
# are crashing Firefox (bugzil.la/1281796). The former case is
1119-
# further blocked by issue #6897.
11201116
test_targets: "
11211117
browser
11221118
skip:browser.test_sdl2_mouse
11231119
skip:browser.test_html5_webgl_create_context
1124-
skip:browser.test_webgl_offscreen_canvas_in_pthread
1125-
skip:browser.test_webgl_offscreen_canvas_in_mainthread_after_pthread
11261120
skip:browser.test_glut_glutget
11271121
"
11281122
test-browser-firefox-wasm64:

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
echo "Test expectations are out-of-date on the target branch."
7373
echo "Please run the 'Rebaseline Tests' github action on the target"
7474
echo "branch (normally 'main') before proceeding."
75-
ecoh ""
75+
echo ""
7676
echo "You can also run './tools/maint/rebaseline_tests.py --new-branch'"
7777
echo "and use it to create a seperate PR."
7878
exit 1

ChangeLog.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,16 @@ to browse the changes between the tags.
1818

1919
See docs/process.md for more on how version tagging works.
2020

21-
4.0.16 (in development)
21+
4.0.17 (in development)
2222
-----------------------
23+
- Minimum Firefox version was bumped up to Firefox 68 ESR, since older Firefox
24+
versions are not able to run the parallel browser harness: (#25493)
25+
- Firefox: v65 -> v68
26+
- For windows users, colored console output for error messages and logging now
27+
requires Windows 10 or above. (#25502)
28+
29+
4.0.16 - 10/07/25
30+
-----------------
2331
- A warning was added about usage of embind without C++17 or above. (#25424)
2432
- The minimum supported versions of Node, Chrome and Firefox were bumped
2533
enabling the removal of the `globalThis` polyfill and universally enabling

emrun.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,11 @@ def create_emrun_safe_firefox_profile():
244244
user_pref("browser.sessionstore.restore_on_demand", false);
245245
user_pref("browser.sessionstore.max_resumed_crashes", -1);
246246
user_pref("toolkit.startup.max_resumed_crashes", -1);
247+
// Ease shutting down browser instances in the parallel browser harness
248+
user_pref("browser.warnOnQuit", false);
249+
user_pref("browser.warnOnQuitShortcut", false);
250+
// Hide about:config confirmation prompt - devs are advanced users
251+
user_pref("browser.aboutConfig.showWarning", false);
247252
// Don't show the slow script dialog popup
248253
user_pref("dom.max_script_run_time", 0);
249254
user_pref("dom.max_chrome_script_run_time", 0);
@@ -1345,10 +1350,10 @@ def browser_display_name(browser):
13451350

13461351
def subprocess_env():
13471352
e = os.environ.copy()
1348-
# https://bugzilla.mozilla.org/show_bug.cgi?id=745154
1353+
# https://bugzil.la/745154
13491354
e['MOZ_DISABLE_AUTO_SAFE_MODE'] = '1'
1350-
e['MOZ_DISABLE_SAFE_MODE_KEY'] = '1' # https://bugzilla.mozilla.org/show_bug.cgi?id=653410#c9
1351-
e['JIT_OPTION_asmJSAtomicsEnable'] = 'true' # https://bugzilla.mozilla.org/show_bug.cgi?id=1299359#c0
1355+
e['MOZ_DISABLE_SAFE_MODE_KEY'] = '1' # https://bugzil.la/653410#c9
1356+
e['JIT_OPTION_asmJSAtomicsEnable'] = 'true' # https://bugzil.la/1299359#c0
13521357
return e
13531358

13541359

emscripten-version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.0.16-git
1+
4.0.17-git

site/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
# |version| and |release|, also used in various other places throughout the
9898
# built documents.
9999
#
100-
version_path = Path(os.path.dirname(os.path.dirname(os.path.dirname(__file__))), 'emscripten-version.txt').resolve()
100+
version_path = Path(os.path.dirname(os.path.dirname(os.path.dirname(__file__))), 'emscripten-version.txt')
101101
emscripten_version = version_path.read_text().strip().strip('"')
102102

103103
# The short X.Y version.

site/source/docs/api_reference/wasm_workers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ a Wasm Worker, consider which type of hierarchy you would like, and if necessary
153153
hierarchy manually by posting the Worker creation over to the main thread yourself.
154154

155155
Note that support for nested Workers varies across browsers. As of 02/2022, nested Workers are `not
156-
supported in Safari <https://bugs.webkit.org/show_bug.cgi?id=22723>`_. See `here
156+
supported in Safari <https://webkit.org/b/22723>`_. See `here
157157
<https://github.com/johanholmerin/nested-worker>`_ for a polyfill.
158158

159159
Pthreads can use the Wasm Worker synchronization API, but not vice versa

site/source/docs/porting/pthreads.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ The Emscripten implementation for the pthreads API should follow the POSIX stand
136136

137137
- The Emscripten implementation does also not support multiprocessing via ``fork()`` and ``join()``.
138138

139-
- For web security purposes, there exists a fixed limit (by default 20) of threads that can be spawned when running in Firefox Nightly. `#1052398 <https://bugzilla.mozilla.org/show_bug.cgi?id=1052398>`_. To adjust the limit, navigate to about:config and change the value of the pref "dom.workers.maxPerDomain".
139+
- For web security purposes, there exists a fixed limit (by default 20) of threads that can be spawned when running in Firefox Nightly. `#1052398 <https://bugzil.la/1052398>`_. To adjust the limit, navigate to about:config and change the value of the pref "dom.workers.maxPerDomain".
140140

141141
- Some of the features in the pthreads specification are unsupported since the upstream musl library that Emscripten utilizes does not support them, or they are marked optional and a conformant implementation need not support them. Such unsupported features in Emscripten include prioritization of threads, and pthread_rwlock_unlock() is not performed in thread priority order. The functions pthread_mutexattr_set/getprotocol(), pthread_mutexattr_set/getprioceiling() and pthread_attr_set/getscope() are no-ops.
142142

site/source/docs/tools_reference/settings_reference.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@ GL_DISABLE_HALF_FLOAT_EXTENSION_IF_BROKEN
921921

922922
From Safari 8 (where WebGL was introduced to Safari) onwards, OES_texture_half_float and OES_texture_half_float_linear extensions
923923
are broken and do not function correctly, when used as source textures.
924-
See https://bugs.webkit.org/show_bug.cgi?id=183321, https://bugs.webkit.org/show_bug.cgi?id=169999,
924+
See https://webkit.org/b/183321, https://webkit.org/b/169999,
925925
https://stackoverflow.com/questions/54248633/cannot-create-half-float-oes-texture-from-uint16array-on-ipad
926926

927927
Default value: false
@@ -933,7 +933,7 @@ GL_WORKAROUND_SAFARI_GETCONTEXT_BUG
933933

934934
Workaround Safari WebGL issue: After successfully acquiring WebGL context on a canvas,
935935
calling .getContext() will always return that context independent of which 'webgl' or 'webgl2'
936-
context version was passed. See https://bugs.webkit.org/show_bug.cgi?id=222758 and
936+
context version was passed. See https://webkit.org/b/222758 and
937937
https://github.com/emscripten-core/emscripten/issues/13295.
938938
Set this to 0 to force-disable the workaround if you know the issue will not affect you.
939939

@@ -2871,7 +2871,7 @@ are desired to work. Pass -sMIN_FIREFOX_VERSION=majorVersion to drop support
28712871
for Firefox versions older than < majorVersion.
28722872
Firefox 79 was released on 2020-07-28.
28732873
MAX_INT (0x7FFFFFFF, or -1) specifies that target is not supported.
2874-
Minimum supported value is 65 which was released on 2019-01-29 (see
2874+
Minimum supported value is 68 which was released on 2019-07-09 (see
28752875
feature_matrix.py)
28762876

28772877
Default value: 79

src/audio_worklet.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,8 @@ function createWasmAudioWorkletProcessor() {
256256
// that has a MessagePort over to the AudioWorklet, then polyfill that by
257257
// a hacky AudioWorkletProcessor that provides the MessagePort.
258258
// Firefox added support in https://hg-edge.mozilla.org/integration/autoland/rev/ab38a1796126f2b3fc06475ffc5a625059af59c1
259-
// Chrome ticket: https://issues.chromium.org/issues/446920095
260-
// Safari ticket: https://bugs.webkit.org/show_bug.cgi?id=299386
259+
// Chrome ticket: https://crbug.com/446920095
260+
// Safari ticket: https://webkit.org/b/299386
261261
/**
262262
* @suppress {duplicate, checkTypes}
263263
*/

0 commit comments

Comments
 (0)