We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When canceling the FrameNavigationStarting event of certain sites, the browser process crashes. Exit code: -2147483645
Important. My app's user experience is significantly compromised.
Stable release (WebView2 Runtime)
129.0.2792.65
1.0.2535.41
Winforms
Windows 11
22631.4169
modify the WinForms sample webview2 app as follows:
WebView2Control_CoreWebView2InitializationCompleted
this.webView2Control.CoreWebView2.NewWindowRequested += CoreWebView2_NewWindowRequested;
private async void CoreWebView2_NewWindowRequested(object sender, CoreWebView2NewWindowRequestedEventArgs e) { e.Handled = true; using (e.GetDeferral()) { Form form = new Form(); WebView2 webView = new WebView2(); await webView.EnsureCoreWebView2Async(); form.Controls.Add(webView); webView.CoreWebView2.FrameNavigationStarting += CoreWebView2_FrameNavigationStarting; form.Visible = true; webView.Dock = DockStyle.Fill; e.NewWindow = webView.CoreWebView2; } }
private void CoreWebView2_FrameNavigationStarting(object sender, CoreWebView2NavigationStartingEventArgs e) { if (e.Uri.StartsWith("https://smartscreentestratings.com/xplt_100_0_0.html")) { e.Cancel = true; } }
No, issue does not reproduce in the corresponding Edge version
No, this never worked
No response
AB#54319772
The text was updated successfully, but these errors were encountered:
Thanks for reporting the issue. I've filed an internal work item to track and investigate.
Sorry, something went wrong.
A fixed has been made, it will be available in Edge Runtime version >= 132.0.2947.0
LiangTheDev
dhveerap
No branches or pull requests
What happened?
When canceling the FrameNavigationStarting event of certain sites, the browser process crashes. Exit code: -2147483645
Importance
Important. My app's user experience is significantly compromised.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
129.0.2792.65
SDK Version
1.0.2535.41
Framework
Winforms
Operating System
Windows 11
OS Version
22631.4169
Repro steps
modify the WinForms sample webview2 app as follows:
WebView2Control_CoreWebView2InitializationCompleted
, add:this.webView2Control.CoreWebView2.NewWindowRequested += CoreWebView2_NewWindowRequested;
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
AB#54319772
The text was updated successfully, but these errors were encountered: