Skip to content

Commit 40749f6

Browse files
[wasm-mt] Fix cross-origin headers when running the browser threads sample test (#74342)
1 parent 275c1e5 commit 40749f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mono/sample/wasm/browser-threads/Wasm.Browser.Threads.Sample.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<DebugType>embedded</DebugType>
77
<WasmDebugLevel>1</WasmDebugLevel>
88
<GenerateRunScriptForSample Condition="'$(ArchiveTests)' == 'true'">true</GenerateRunScriptForSample>
9-
<RunScriptCommand>$(ExecXHarnessCmd) wasm test-browser --app=. --browser=Chrome $(XHarnessBrowserPathArg) --html-file=index.html --output-directory=$(XHarnessOutput) -- $(MSBuildProjectName).dll</RunScriptCommand>
9+
<RunScriptCommand>$(ExecXHarnessCmd) wasm test-browser --app=. --browser=Chrome $(XHarnessBrowserPathArg) --html-file=index.html --output-directory=$(XHarnessOutput) --web-server-use-cop -- $(MSBuildProjectName).dll</RunScriptCommand>
1010
</PropertyGroup>
1111
<ItemGroup>
1212
<WasmExtraFilesToDeploy Include="index.html" />
@@ -28,5 +28,5 @@
2828
<ProjectReference Include="$(LibrariesProjectRoot)\System.Threading.ThreadPool.WebAssembly.Threading\ref\System.Threading.ThreadPool.WebAssembly.Threading.csproj" IncludeAssets="compile" PrivateAssets="none" ExcludeAssets="runtime" Private="false" />
2929
<ProjectReference Include="$(LibrariesProjectRoot)\System.Diagnostics.Tracing.WebAssembly.PerfTracing\ref\System.Diagnostics.Tracing.WebAssembly.PerfTracing.csproj" IncludeAssets="compile" PrivateAssets="none" ExcludeAssets="runtime" Private="false" />
3030
</ItemGroup>
31-
31+
3232
</Project>

0 commit comments

Comments
 (0)