【问题标题】:UNO - WebView Control Mixed Content ErrorUNO - WebView 控件混合内容错误
【发布时间】:2022-01-03 08:50:29
【问题描述】:

下面的代码在 UWP 上运行良好,

<WebView Source="https://www.microsoft.com/" VerticalAlignment="Stretch" Grid.Row="1" />

但在 WASM 中失败并出现以下错误。是否需要为 WASM 做不同的事情?有没有办法让 UNO 应用启用 CORS 以在 WebView 中使用?

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.

【问题讨论】:

    标签: uno-platform


    【解决方案1】:

    WebView 控件是not yet supported on WebAssembly

    【讨论】:

      猜你喜欢
      • 2015-02-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-04-16
      • 2015-08-19
      • 1970-01-01
      • 2022-08-03
      • 2015-11-16
      相关资源
      最近更新 更多