Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WASM] WebView2 can't embed other website with http #19013

Open
SongOfYouth opened this issue Dec 5, 2024 · 2 comments
Open

[WASM] WebView2 can't embed other website with http #19013

SongOfYouth opened this issue Dec 5, 2024 · 2 comments
Labels
area/webview Categorizes an issue or PR as relevant to the WebView control difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification

Comments

@SongOfYouth
Copy link

Current behavior

The WebView2 give a rejected error even with the frame-ancestors and X-Frame-Options in headers.

Expected behavior

identify the CSP header

How to reproduce it (as minimally and precisely as possible)

No response

Workaround

only works with https.

Works on UWP/WinUI

None

Environment

Uno.WinUI / Uno.WinUI.WebAssembly / Uno.WinUI.Skia

NuGet package version(s)

No response

Affected platforms

WebAssembly

IDE

Visual Studio 2022

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

@SongOfYouth SongOfYouth added difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification labels Dec 5, 2024
@jeromelaban jeromelaban added the area/webview Categorizes an issue or PR as relevant to the WebView control label Dec 5, 2024
@4lksalp
Copy link

4lksalp commented Dec 13, 2024

You can set the cors response header for html

@SongOfYouth
Copy link
Author

You can set the cors response header for html

I have sot it, and not works. the target website can be laod in iframe in chrome or webview2 on windows,but not on wasm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/webview Categorizes an issue or PR as relevant to the WebView control difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification
Projects
None yet
Development

No branches or pull requests

3 participants