@@ -38,10 +38,12 @@ commands:
38
38
command : |
39
39
# TODO: Make these part of the base image
40
40
apt-get install -q -y libu2f-udev libvulkan1 xdg-utils
41
- # wget -O ~/chrome.deb https://dl.google.com/linux/direct/google-chrome-beta_current_amd64.deb
41
+ # TODO: Switch by to unstable once
42
+ # https://github.com/emscripten-core/emscripten/issues/24780 os
43
+ # resolved
44
+ wget -O ~/chrome.deb https://dl.google.com/linux/direct/google-chrome-beta_current_amd64.deb
42
45
# If that download link breaks, temporarily use this URL instead:
43
46
# wget -O ~/chrome.deb https://storage.googleapis.com/webassembly/chrome/google-chrome-stable_current_amd64.deb
44
- wget -O ~/chrome.deb https://dl.google.com/linux/direct/google-chrome-unstable_current_amd64.deb
45
47
dpkg -i ~/chrome.deb
46
48
emsdk-env :
47
49
description : " emsdk_env.sh"
@@ -317,7 +319,7 @@ commands:
317
319
EMTEST_DETECT_TEMPFILE_LEAKS : " 0"
318
320
# --no-sandbox because we are running as root and chrome requires
319
321
# this flag for now: https://crbug.com/638180
320
- 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 --enable-features=JavaScriptSourcePhaseImports"
322
+ CHROME_FLAGS_BASE : " --no-first-run -start-maximized --no-sandbox --enable-unsafe-swiftshader -- use-gl=swiftshader --user-data-dir=/tmp/chrome-emscripten-profile --enable-experimental-web-platform-features --enable-features=JavaScriptSourcePhaseImports"
321
323
# Increase the window size to avoid flaky sdl tests see #24236.
322
324
CHROME_FLAGS_HEADLESS : " --headless=new --window-size=1024,768 --remote-debugging-port=1234"
323
325
CHROME_FLAGS_WASM : " --enable-experimental-webassembly-features --js-flags=\" --experimental-wasm-stack-switching --experimental-wasm-type-reflection --experimental-wasm-rab-integration\" "
0 commit comments