Skip to content

Commit abdfee8

Browse files
authored
Use the nice browser bug URL shorteners (#25503)
Use the nice browser bug URL shorteners to refer to bug reports, e.g. - `https://bugzil.la/<ID>`, - `https://crbug.com/<ID>` and - `https://webkit.org/b/<ID>`
1 parent d15011e commit abdfee8

File tree

18 files changed

+35
-35
lines changed

18 files changed

+35
-35
lines changed

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

src/lib/libwebaudio.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ var LibraryWebAudio = {
133133
console.log(`Destroyed Web Audio Node with ID ${objectHandle}`);
134134
#endif
135135
// Explicitly disconnect the node from Web Audio graph before letting it GC,
136-
// to work around browser bugs such as https://bugs.webkit.org/show_bug.cgi?id=222098#c23
136+
// to work around browser bugs such as https://webkit.org/b/222098#c23
137137
EmAudio[objectHandle].disconnect();
138138
delete EmAudio[objectHandle];
139139
},
@@ -198,8 +198,8 @@ var LibraryWebAudio = {
198198
// that has a MessagePort over to the AudioWorklet, then polyfill that by
199199
// instantiating a dummy AudioWorkletNode to get a MessagePort over.
200200
// Firefox added support in https://hg-edge.mozilla.org/integration/autoland/rev/ab38a1796126f2b3fc06475ffc5a625059af59c1
201-
// Chrome ticket: https://issues.chromium.org/issues/446920095
202-
// Safari ticket: https://bugs.webkit.org/show_bug.cgi?id=299386
201+
// Chrome ticket: https://crbug.com/446920095
202+
// Safari ticket: https://webkit.org/b/299386
203203
if (!audioWorklet['port']) {
204204
audioWorklet['port'] = {
205205
postMessage: (msg) => {

src/lib/libwebgl.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@ for (/**@suppress{duplicate}*/var i = 0; i <= {{{ GL_POOL_TEMP_BUFFERS_SIZE }}};
754754
// context on a canvas, calling .getContext() will always return that
755755
// context independent of which 'webgl' or 'webgl2'
756756
// context version was passed. See:
757-
// https://bugs.webkit.org/show_bug.cgi?id=222758
757+
// https://webkit.org/b/222758
758758
// and:
759759
// https://github.com/emscripten-core/emscripten/issues/13295.
760760
// TODO: Once the bug is fixed and shipped in Safari, adjust the Safari
@@ -811,7 +811,7 @@ for (/**@suppress{duplicate}*/var i = 0; i <= {{{ GL_POOL_TEMP_BUFFERS_SIZE }}};
811811
// Bug on Safari on iOS and macOS: texImage2D() and texSubImage2D() do
812812
// not allow uploading pixel data to half float textures, rendering them
813813
// useless.
814-
// See https://bugs.webkit.org/show_bug.cgi?id=183321, https://bugs.webkit.org/show_bug.cgi?id=169999,
814+
// See https://webkit.org/b/183321, https://webkit.org/b/169999,
815815
// https://stackoverflow.com/questions/54248633/cannot-create-half-float-oes-texture-from-uint16array-on-ipad
816816
ctx.texImage2D(0xDE1/*GL_TEXTURE_2D*/, 0, 0x1908/*GL_RGBA*/, 1, 1, 0, 0x1908/*GL_RGBA*/, 0x8d61/*HALF_FLOAT_OES*/, new Uint16Array(4));
817817
var broken = ctx.getError();
@@ -821,7 +821,7 @@ for (/**@suppress{duplicate}*/var i = 0; i <= {{{ GL_POOL_TEMP_BUFFERS_SIZE }}};
821821
ctx.realGetSupportedExtensions = ctx.getSupportedExtensions;
822822
ctx.getSupportedExtensions = function() {
823823
#if GL_ASSERTIONS
824-
warnOnce('Removed broken support for half-float textures. See e.g. https://bugs.webkit.org/show_bug.cgi?id=183321');
824+
warnOnce('Removed broken support for half-float textures. See e.g. https://webkit.org/b/183321');
825825
#endif
826826
// .getSupportedExtensions() can return null if context is lost, so
827827
// coerce to empty array.
@@ -862,7 +862,7 @@ for (/**@suppress{duplicate}*/var i = 0; i <= {{{ GL_POOL_TEMP_BUFFERS_SIZE }}};
862862
#if MIN_FIREFOX_VERSION < 67
863863
else {
864864
// The WebGL 2 blit path doesn't work in Firefox < 67 (except in fullscreen).
865-
// https://bugzilla.mozilla.org/show_bug.cgi?id=1523030
865+
// https://bugzil.la/1523030
866866
var firefoxMatch = navigator.userAgent.toLowerCase().match(/firefox\/(\d\d)/);
867867
if (firefoxMatch != null) {
868868
var firefoxVersion = firefoxMatch[1];
@@ -1240,7 +1240,7 @@ for (/**@suppress{duplicate}*/var i = 0; i <= {{{ GL_POOL_TEMP_BUFFERS_SIZE }}};
12401240

12411241
// However, Firefox exposes the WebGL 1 version on WebGL 2 as well and
12421242
// thus we look for the WebGL 1 version again if the WebGL 2 version
1243-
// isn't present. https://bugzilla.mozilla.org/show_bug.cgi?id=1328882
1243+
// isn't present. https://bugzil.la/1328882
12441244
if (context.version < 2 || !GLctx.disjointTimerQueryExt)
12451245
#endif
12461246
{

0 commit comments

Comments
 (0)