diff --git a/eng/testing/BrowserVersions.props b/eng/testing/BrowserVersions.props index d646a97fada94a..b3e9c4c5c9f5c0 100644 --- a/eng/testing/BrowserVersions.props +++ b/eng/testing/BrowserVersions.props @@ -1,13 +1,13 @@ - 126.0.6478.114 - 1300313 - https://storage.googleapis.com/chromium-browser-snapshots/Linux_x64/1300316 - 12.6.228 - 126.0.6478.36 - 1300313 - https://storage.googleapis.com/chromium-browser-snapshots/Win_x64/1300320 - 12.6.228 + 128.0.6613.119 + 1331488 + https://storage.googleapis.com/chromium-browser-snapshots/Linux_x64/1331503 + 12.8.374 + 128.0.6613.120 + 1331488 + https://storage.googleapis.com/chromium-browser-snapshots/Win_x64/1331504 + 12.8.374 125.0.1 0.34.0 125.0.1 diff --git a/eng/testing/WasmRunnerTemplate.cmd b/eng/testing/WasmRunnerTemplate.cmd index e043ce7a34e9f5..07bc766df057a3 100644 --- a/eng/testing/WasmRunnerTemplate.cmd +++ b/eng/testing/WasmRunnerTemplate.cmd @@ -65,7 +65,7 @@ if /I [%XHARNESS_COMMAND%] == [test] ( set "BROWSER_PATH=--browser-path^=%HELIX_CORRELATION_PAYLOAD%\chrome-win\chrome.exe" ) if [%JS_ENGINE_ARGS%] == [] ( - set "JS_ENGINE_ARGS=--browser-arg^=--js-flags^=--stack-trace-limit^=1000" + set "JS_ENGINE_ARGS=--browser-arg^=--js-flags^=--stack-trace-limit^=1000 --browser-arg^=--disable-gpu --pageLoadStrategy=none" ) ) else ( if /I [%SCENARIO%] == [WasmTestOnFirefox] ( diff --git a/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs b/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs index 3dc64bc556d538..1f120016ef6aa1 100644 --- a/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs +++ b/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs @@ -271,6 +271,8 @@ protected static string RunWithXHarness(string testCommand, string testLogPath, args.Append($" --output-directory={testLogPath}"); args.Append($" --expected-exit-code={expectedAppExitCode}"); args.Append($" {extraXHarnessArgs ?? string.Empty}"); + args.Append(" --browser-arg=--disable-gpu"); + args.Append(" --pageLoadStrategy=none"); // `/.dockerenv` - is to check if this is running in a codespace if (File.Exists("/.dockerenv"))