MicrosoftEdge / MicrosoftEdge/WebView2Feedback
[Problem/Bug]: All WebView2 controls fire ProcessFailed events and controls are not responsive
@maurawinstanley is already working on this.
Since May 24, 2024.
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
What happened?
I first hit this issue and logged https://github.com/MicrosoftEdge/WebView2Feedback/issues/2544 but I rewrote my code and that circumvented this problem
My vb.net application currently uses
Version
SDK: .Net 4.8
Runtime: 125.0.2535.51
Framework: WinForms
OS: Windows 10 Enterprise Version 21H2
WebView2: 1.0.1245.22
It has two dashboards which are jsp files hosted in two WebView2 controls which the user can interact with to navigate to other parts of the application.
When I first hit this problem, the dashboards were being loaded at the same time. I changed it to load them in series and that circumvents the problem when running interactively.
We use a testing tool called UFT for automated regression tests and initially that tool couldn’t cope with the new WebView2 control. However now it can, and it connects via the same additional browser arguments --remote-debugging-port that all our WebView2 controls are configured with.
However when running those tests we are hitting this problem again where both WebView2 controls trigger the WebView CoreWebView2 ProcessFailed event with
ExitCode=-1073741819
Reason=Unexpected
ProcessDescription=
ProcessFailedKind=BrowserProcessExited
Importance
Important. We can't run automated tests to test for regression at releases
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
125.0.2535.51
SDK Version
WebView2: 1.0.1245.22
Framework
Winforms
Operating System
Windows 10
OS Version
Windows 10 Enterprise Version 21H2
Repro steps
Start my application with the two WebView2 controls having a --remote-debugging-port specified
Connect opentext UFT one to my application using that remote debugging port
Both controls work fine for a while and then both controls trigger the WebView CoreWebView2 ProcessFailed event
ExitCode=-1073741819
Reason=Unexpected
ProcessDescription=
ProcessFailedKind=BrowserProcessExited
Repros in Edge Browser
No, issue does not reproduce in the corresponding Edge version
Regression
No, this never worked
Last working version (if regression)
No response
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.