REGRESSION INFO: Works well on 10.0 RC 1
INSTALL STEPS:
- Install Latest 10.0 GA from https://aka.ms/dotnet/10.0.1xx/daily/dotnet-sdk-win-x64.exe
- Apply Feed
Platform
Repro Steps
- Open up a normal Command Prompt (Terminal)
- Create a Blazor wasm Standalone app and run it.
dotnet new blazorwasm -o wasm
cd wasm
dotnet run
- Open the browser and go to the URL
http://localhost:xxxx
- Open the browser developer console window
Actual Result
The console window contains some warnings "A preload for 'http://localhost:5215/_framework/blazor.webassembly.66stpp682q.js' is found, but is not used because the request credentials mode does not match"
Error Log
A preload for 'http://localhost:5215/_framework/blazor.webassembly.66stpp682q.js' is found, but is not used because the request credentials mode does not match. Consider taking a look at crossorigin attribute.
blazor.webassembly.66stpp682q.js:1 Debugging hotkey: Shift+Alt+D (when application has focus)
[NEW] Explain Console errors by using Copilot in Edge: click
to explain an error.
Learn more
Don't show again
7The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
Expected Result:
There is no any error or warning on the console window.
Note:
- This issue does not repro on 10.0 Blazor Web App
- This issue does not repro on 9.0/8.0 Blazor wasm Standalone app
- After refresh the browser, the warning still exists.