Skip to content

Commit 42e68c4

Browse files
Merge branch 'main' into implement-ffast-math-21497
2 parents dd7d795 + abdfee8 commit 42e68c4

File tree

21 files changed

+43
-40
lines changed

21 files changed

+43
-40
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:

emrun.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1345,10 +1345,10 @@ def browser_display_name(browser):
13451345

13461346
def subprocess_env():
13471347
e = os.environ.copy()
1348-
# https://bugzilla.mozilla.org/show_bug.cgi?id=745154
1348+
# https://bugzil.la/745154
13491349
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
1350+
e['MOZ_DISABLE_SAFE_MODE_KEY'] = '1' # https://bugzil.la/653410#c9
1351+
e['JIT_OPTION_asmJSAtomicsEnable'] = 'true' # https://bugzil.la/1299359#c0
13521352
return e
13531353

13541354

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: 2 additions & 2 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

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
*/

src/lib/libhtml5.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ var LibraryHTML5 = {
120120
// whether it is possible to perform a request here without needing to defer. See
121121
// https://developer.mozilla.org/en-US/docs/Web/Security/User_activation#transient_activation
122122
// and https://caniuse.com/mdn-api_useractivation
123-
// At the time of writing, Firefox does not support this API: https://bugzilla.mozilla.org/show_bug.cgi?id=1791079
123+
// At the time of writing, Firefox does not support this API: https://bugzil.la/1791079
124124
return navigator.userActivation.isActive;
125125
}
126126

src/lib/libsdl.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2521,7 +2521,7 @@ var LibrarySDL = {
25212521
source['connect'](SDL.audioContext['destination']);
25222522

25232523
SDL.fillWebAudioBufferFromHeap(ptr, sizeSamplesPerChannel, soundBuffer);
2524-
// Workaround https://bugzilla.mozilla.org/show_bug.cgi?id=883675 by setting the buffer only after filling. The order is important here!
2524+
// Workaround https://bugzil.la/883675 by setting the buffer only after filling. The order is important here!
25252525
source['buffer'] = soundBuffer;
25262526

25272527
// Schedule the generated sample buffer to be played out at the correct time right after the previously scheduled
@@ -2775,7 +2775,7 @@ var LibrarySDL = {
27752775

27762776
// To allow user code to work around browser bugs with audio playback on <audio> elements an Web Audio, enable
27772777
// the user code to hook in a callback to decide on a file basis whether each file should use Web Audio or <audio> for decoding and playback.
2778-
// In particular, see https://bugzilla.mozilla.org/show_bug.cgi?id=654787 and ?id=1012801 for tradeoffs.
2778+
// In particular, see https://bugzil.la/654787 and https://bugzil.la/1012801 for tradeoffs.
27792779
var canPlayWithWebAudio = Module['SDL_canPlayWithWebAudio'] === undefined || Module['SDL_canPlayWithWebAudio'](filename, arrayBuffer);
27802780

27812781
if (bytes !== undefined && SDL.webAudioAvailable() && canPlayWithWebAudio) {
@@ -3172,7 +3172,7 @@ var LibrarySDL = {
31723172
surfData.ctx.font = fontString;
31733173
// use bottom alignment, because it works
31743174
// same in all browsers, more info here:
3175-
// https://bugzilla.mozilla.org/show_bug.cgi?id=737852
3175+
// https://bugzil.la/737852
31763176
surfData.ctx.textBaseline = 'bottom';
31773177
surfData.ctx.fillText(text, 0, h|0);
31783178
surfData.ctx.restore();

src/lib/libstack_trace.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ var LibraryStackTrace = {
5151
file = parts[2];
5252
lineno = parts[3];
5353
// Old Firefox doesn't carry column information, but in new FF30, it
54-
// is present. See https://bugzilla.mozilla.org/show_bug.cgi?id=762556
54+
// is present. See https://bugzil.la/762556
5555
column = parts[4]|0;
5656
} else {
5757
// Was not able to extract this line for demangling/sourcemapping

0 commit comments

Comments
 (0)