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

[Problem/Bug]: WebView2 crashes when accessing entire page "edge://wallet/" #4782

Closed
naldobr opened this issue Aug 30, 2024 · 7 comments
Closed
Assignees
Labels
bug Something isn't working regression Something used to work but doesn't anymore tracked We are tracking this work internally.

Comments

@naldobr
Copy link

naldobr commented Aug 30, 2024

What happened?

After a recent update of WebView2, when I access the internal URL "edge://wallet/" in my WPF/C# project, WebView2 in my project crashes, showing the following error when I try to update the page or load another URL any:

System.InvalidOperationException: 'The WebView control is no longer valid because the browser process crashed.To work around this, please listen for the CoreWebView2.ProcessFailed event to explicitly manage the lifetime of the WebView2 control in the event of a browser failure.https://docs.microsoft.com/en-us/dotnet/api/microsoft.web.webview2.core.corewebview2.processfailed'

Importance

Blocking. My app's basic functions are not working due to this issue.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

128.0.2739.42

SDK Version

1.0.2739.15

Framework

WPF

Operating System

Windows 10

OS Version

19045.4170

Repro steps

Accessing the internal URL "edge://wallet/", or "chrome://wallet/", WebView2 in the project immediately crashes.

Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

Regression in newer Runtime

Last working version (if regression)

No response

AB#53589930

@naldobr naldobr added the bug Something isn't working label Aug 30, 2024
@github-actions github-actions bot added the regression Something used to work but doesn't anymore label Aug 30, 2024
@vbryh-msft
Copy link
Contributor

Do you have crash dumps?

@naldobr
Copy link
Author

naldobr commented Aug 30, 2024

Você tem despejos de memória?

No

@naldobr
Copy link
Author

naldobr commented Aug 30, 2024

Even old projects that use WebView2 are showing this error, so I believe the problem is in the current Runtime.

@vbryh-msft vbryh-msft added the tracked We are tracking this work internally. label Aug 30, 2024
@jls28
Copy link

jls28 commented Aug 31, 2024

#4710

@aluhrs13
Copy link
Contributor

aluhrs13 commented Sep 4, 2024

Yep, dupe of #4710

@aluhrs13 aluhrs13 closed this as not planned Won't fix, can't repro, duplicate, stale Sep 4, 2024
@naldobr
Copy link
Author

naldobr commented Sep 25, 2024

The problem has been resolved and when accessing "edge://wallet/" the program no longer dies.

I understand that Wallet is a feature of Microsoft Edge and it may not make sense to use it in WebView2, however, there are some settings regarding automatic filling (passwords, addresses and cards) that you can only control there, and depending on the context of the application, are useful features. Two of my apps would miss Wallet if I had to block access to it. Therefore, I thank you for solving the problem and not deactivating it.

@vbryh-msft
Copy link
Contributor

as mentioned in linked thread wallet feature is not supported by wv2 and will be completely blocked in next releases - you should not depend on it. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working regression Something used to work but doesn't anymore tracked We are tracking this work internally.
Projects
None yet
Development

No branches or pull requests

5 participants