@@ -2702,6 +2702,7 @@ def test_webgl2_objects(self):
27022702 self .btest_exit ('webgl2_objects.c' , cflags = ['-sMAX_WEBGL_VERSION=2' , '-lGL' ])
27032703
27042704 @requires_webgl2
2705+ @requires_offscreen_canvas
27052706 @parameterized ({
27062707 '' : ([],),
27072708 'offscreencanvas' : (['-sOFFSCREENCANVAS_SUPPORT' , '-pthread' , '-sPROXY_TO_PTHREAD' ],),
@@ -4464,9 +4465,11 @@ def test_webgpu_required_limits(self):
44644465 def test_webgpu_basic_rendering_pthreads (self ):
44654466 self .btest_exit ('webgpu_basic_rendering.cpp' , cflags = ['-Wno-error=deprecated' , '-sUSE_WEBGPU' , '-pthread' , '-sOFFSCREENCANVAS_SUPPORT' ])
44664467
4468+ @requires_webgpu
44674469 def test_webgpu_get_device (self ):
44684470 self .btest_exit ('webgpu_get_device.cpp' , cflags = ['-Wno-error=deprecated' , '-sUSE_WEBGPU' , '-sASSERTIONS' , '--closure=1' ])
44694471
4472+ @requires_webgpu
44704473 def test_webgpu_get_device_pthreads (self ):
44714474 self .btest_exit ('webgpu_get_device.cpp' , cflags = ['-Wno-error=deprecated' , '-sUSE_WEBGPU' , '-pthread' ])
44724475
@@ -5516,7 +5519,7 @@ def test_audio_worklet_emscripten_locks(self):
55165519 @requires_sound_hardware
55175520 @also_with_minimal_runtime
55185521 def test_web_audio_context_sample_rate (self ):
5519- self .btest_exit ('webaudio/audio_context_sample_rate.c' , cflags = ['-sAUDIO_WORKLET' , '-sWASM_WORKERS ' ])
5522+ self .btest_exit ('webaudio/audio_context_sample_rate.c' , cflags = ['-lwebaudio.js ' ])
55205523
55215524 def test_error_reporting (self ):
55225525 # Test catching/reporting Error objects
0 commit comments