Skip to content

Commit 07afa15

Browse files
committed
Try enabling the loopback device
1 parent cb8d502 commit 07afa15

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.circleci/config.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,12 +356,17 @@ commands:
356356
- run:
357357
name: configure firefox
358358
command: |
359+
# Some before and after tests to try enabling a sound device:
360+
lsmod | grep snd
361+
modprobe snd-aloop
362+
lsmod | grep snd
359363
mkdir ~/tmp-firefox-profile/
360364
cat > ~/tmp-firefox-profile/user.js \<<EOF
361365
user_pref("gfx.offscreencanvas.enabled", true);
362366
user_pref("javascript.options.shared_memory", true);
363367
user_pref("javascript.options.wasm_memory64", true);
364368
user_pref("dom.postMessage.sharedArrayBuffer.bypassCOOP_COEP.insecure.enabled", true);
369+
user_pref("media.autoplay.default", 0);
365370
EOF
366371
- run:
367372
name: run tests (<< parameters.title >>)
@@ -371,8 +376,6 @@ commands:
371376
# support in headless mode) resolves
372377
EMTEST_LACKS_GRAPHICS_HARDWARE: "1"
373378
EMTEST_LACKS_WEBGPU: "1"
374-
# TODO: replicate with FF the same as CHROME_FLAGS_AUDIO
375-
EMTEST_LACKS_SOUND_HARDWARE: "1"
376379
# OffscreenCanvas support is not yet done in Firefox.
377380
EMTEST_LACKS_OFFSCREEN_CANVAS: "1"
378381
EMTEST_DETECT_TEMPFILE_LEAKS: "0"

0 commit comments

Comments
 (0)