You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add EMTEST_LACKS_MICROPHONE_ACCESS to allow skipping test
browser.test_openal_capture_sanity that requires microphone access.
In e.g. Firefox the microphone access prompt does not seem to cause
issues, but in Safari this seems to prompt up a modal dialog.
Copy file name to clipboardExpand all lines: test/test_browser.py
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -196,6 +196,7 @@ def webgpu_disabled():
196
196
requires_webgl2=unittest.skipIf(webgl2_disabled(), "This test requires WebGL2 to be available")
197
197
requires_webgpu=unittest.skipIf(webgpu_disabled(), "This test requires WebGPU to be available")
198
198
requires_sound_hardware=skipExecIf(os.getenv('EMTEST_LACKS_SOUND_HARDWARE'), 'This test requires sound hardware')
199
+
requires_microphone_access=skipExecIf(os.getenv('EMTEST_LACKS_MICROPHONE_ACCESS'), 'This test accesses microphone, which may need accepting a user prompt to enable it.')
199
200
requires_offscreen_canvas=unittest.skipIf(os.getenv('EMTEST_LACKS_OFFSCREEN_CANVAS'), 'This test requires a browser with OffscreenCanvas')
200
201
requires_es6_workers=unittest.skipIf(os.getenv('EMTEST_LACKS_ES6_WORKERS'), 'This test requires a browser with ES6 Module Workers support')
201
202
requires_growable_arraybuffers=unittest.skipIf(os.getenv('EMTEST_LACKS_GROWABLE_ARRAYBUFFERS'), 'This test requires a browser that supports growable ArrayBuffers')
0 commit comments