@@ -38,10 +38,12 @@ commands:
3838 command : |
3939 # TODO: Make these part of the base image
4040 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
4245 # If that download link breaks, temporarily use this URL instead:
4346 # 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
4547 dpkg -i ~/chrome.deb
4648 emsdk-env :
4749 description : " emsdk_env.sh"
@@ -317,7 +319,7 @@ commands:
317319 EMTEST_DETECT_TEMPFILE_LEAKS : " 0"
318320 # --no-sandbox because we are running as root and chrome requires
319321 # 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"
321323 # Increase the window size to avoid flaky sdl tests see #24236.
322324 CHROME_FLAGS_HEADLESS : " --headless=new --window-size=1024,768 --remote-debugging-port=1234"
323325 CHROME_FLAGS_WASM : " --enable-experimental-webassembly-features --js-flags=\" --experimental-wasm-stack-switching --experimental-wasm-type-reflection --experimental-wasm-rab-integration\" "
0 commit comments