Skip to content

Commit db7ed25

Browse files
committed
Attempt to run CI with autoplay enabled
1 parent ff6c945 commit db7ed25

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.circleci/config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ commands:
310310
EMTEST_DETECT_TEMPFILE_LEAKS: "0"
311311
# --no-sandbox because we are running as root and chrome requires
312312
# this flag for now: https://crbug.com/638180
313-
CHROME_FLAGS_BASE: "--no-first-run -start-maximized --no-sandbox --use-gl=swiftshader --user-data-dir=/tmp/chrome-emscripten-profile --enable-experimental-web-platform-features"
313+
CHROME_FLAGS_BASE: "--no-first-run -start-maximized --no-sandbox --use-gl=swiftshader --user-data-dir=/tmp/chrome-emscripten-profile --enable-experimental-web-platform-features --autoplay-policy=no-user-gesture-required"
314314
CHROME_FLAGS_HEADLESS: "--headless=new --remote-debugging-port=1234"
315315
CHROME_FLAGS_WASM: "--enable-experimental-webassembly-features --js-flags=\"--experimental-wasm-stack-switching --experimental-wasm-type-reflection\""
316316
CHROME_FLAGS_NOCACHE: "--disk-cache-dir=/dev/null --disk-cache-size=1 --media-cache-size=1 --disable-application-cache --incognito"
@@ -360,6 +360,7 @@ commands:
360360
user_pref("javascript.options.shared_memory", true);
361361
user_pref("javascript.options.wasm_memory64", true);
362362
user_pref("dom.postMessage.sharedArrayBuffer.bypassCOOP_COEP.insecure.enabled", true);
363+
user_pref("media.autoplay.default", 0);
363364
EOF
364365
- run:
365366
name: run tests (<< parameters.title >>)

test/test_browser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5469,7 +5469,7 @@ def test_full_js_library_strict(self):
54695469
'es6': (['-sEXPORT_ES6'],),
54705470
'strict': (['-sSTRICT'],),
54715471
})
5472-
@requires_sound_hardware
5472+
# @requires_sound_hardware
54735473
def test_audio_worklet(self, args):
54745474
self.btest_exit('webaudio/audioworklet.c', args=['-sAUDIO_WORKLET', '-sWASM_WORKERS', '-DTEST_AND_EXIT'] + args)
54755475

0 commit comments

Comments
 (0)