Description
When debugging my blazor applciation (.NET 8, blazor web project using wasm, running on Aspire) in Edge, if I hit f12 and choose any iOS device to simulate and refresh, I see this error in the console and the application crashes:

Reproduction Steps
- Create a .NET Aspire project and aa Blazor web application within it.
- Start debugging the application and hit f12 to open the dev tools for edge
- Change to an iOS device and refresh.
Expected behavior
The app should load/debug without erroring
Actual behavior
Error in description
Regression?
I assume this has worked in the past and I can see similar issue's logged previously e.g.
#84171
Known Workarounds
No response
Configuration
.NET 8.0.302
Edge
Other information
No response