Skip to content

Commit 4e07c17

Browse files
authored
Add annotations to help Firefox 78.15.0esr (#25879)
Add annotations to help Firefox 78.15.0esr test run of browser suite to pass.
1 parent 893b32e commit 4e07c17

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/test_browser.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5424,11 +5424,13 @@ def test_full_js_library_strict(self):
54245424
})
54255425
@requires_sound_hardware
54265426
@requires_es6_workers
5427+
@requires_shared_array_buffer
54275428
def test_audio_worklet(self, args):
54285429
self.btest_exit('webaudio/audioworklet.c', cflags=['-sAUDIO_WORKLET', '-sWASM_WORKERS', '-DTEST_AND_EXIT'] + args)
54295430

54305431
# Tests that audioworklets and workers can be used at the same time
54315432
# Note: doesn't need audio hardware (and has no AW code that tests 2GB or wasm64)
5433+
@requires_shared_array_buffer
54325434
def test_audio_worklet_worker(self):
54335435
self.btest_exit('webaudio/audioworklet_worker.c', cflags=['-sAUDIO_WORKLET', '-sWASM_WORKERS'])
54345436

@@ -5438,6 +5440,7 @@ def test_audio_worklet_worker(self):
54385440
'closure': (['--closure', '1', '-Oz'],),
54395441
})
54405442
# Note: doesn't need audio hardware (and has no AW code that tests 2GB or wasm64)
5443+
@requires_shared_array_buffer
54415444
def test_audio_worklet_post_function(self, args):
54425445
self.btest_exit('webaudio/audioworklet_post_function.c', cflags=['-sAUDIO_WORKLET', '-sWASM_WORKERS'] + args)
54435446

@@ -5446,6 +5449,7 @@ def test_audio_worklet_post_function(self, args):
54465449
'closure': (['--closure', '1', '-Oz'],),
54475450
})
54485451
@requires_sound_hardware
5452+
@requires_shared_array_buffer
54495453
def test_audio_worklet_modularize(self, args):
54505454
self.btest_exit('webaudio/audioworklet.c', cflags=['-sAUDIO_WORKLET', '-sWASM_WORKERS', '-sMODULARIZE=1', '-sEXPORT_NAME=MyModule', '--shell-file', test_file('shell_that_launches_modularize.html'), '-DTEST_AND_EXIT'] + args)
54515455

@@ -5457,6 +5461,7 @@ def test_audio_worklet_modularize(self, args):
54575461
'minimal_with_closure': (['-sMINIMAL_RUNTIME', '--closure=1', '-Oz'],),
54585462
})
54595463
@requires_sound_hardware
5464+
@requires_shared_array_buffer
54605465
def test_audio_worklet_params_mixing(self, args):
54615466
os.mkdir('audio_files')
54625467
shutil.copy(test_file('webaudio/audio_files/emscripten-beat.mp3'), 'audio_files/')
@@ -5465,6 +5470,7 @@ def test_audio_worklet_params_mixing(self, args):
54655470

54665471
# Tests AudioWorklet with emscripten_lock_busyspin_wait_acquire() and friends
54675472
@requires_sound_hardware
5473+
@requires_shared_array_buffer
54685474
@also_with_minimal_runtime
54695475
@flaky('https://github.com/emscripten-core/emscripten/issues/25245')
54705476
def test_audio_worklet_emscripten_locks(self):
@@ -5532,6 +5538,7 @@ def test_rollup(self):
55325538
'': ([], 9998),
55335539
'es6': (['-sEXPORT_ES6', '--extern-post-js', test_file('modularize_post_js.js')], 9999),
55345540
})
5541+
@requires_shared_array_buffer
55355542
def test_cross_origin(self, args, port):
55365543
if '-sEXPORT_ES6' in args and browser_should_skip_feature('EMTEST_LACKS_ES6_WORKERS', Feature.WORKER_ES6_MODULES):
55375544
self.skipTest('This test requires a browser with ES6 Module Workers support')

0 commit comments

Comments
 (0)