下面的代码工作得很好UWP,
<WebView Source="https://www.microsoft.com/" VerticalAlignment="Stretch" Grid.Row="1" />
但在WASM中失败,错误如下。WASM是否需要采取不同的做法?有没有办法让UNO应用程序在WebView中使用CORS?
dotnet.js:1 Mixed Content: The page at 'https://localhost:44342/' was
loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://[fe80::21ca:fecc:e7b9:44ae]:64237/rc'.
This request has been blocked; this endpoint must be available over WSS.
WebAssembly尚不支持WebView控件。