-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Open
Description
Is there an existing issue for this?
- I have searched both open/closed issues, no issue already exists.
Related: Crash on Alert / Prompt / Confirm dialogs #5192
CefSharp Version
145.0.260
Operating System
Windows 11
Architecture
x86
.Net Version
4.8
Implementation
WPF
Reproduction Steps
Using the minimal WPF example;
Start the application and type in the url javascript:alert()
Click the newly added button (below).
Code
MainWindow.xaml
<Button Content="Btn" Click="ButtonBase_OnClick"/>
MainWindow.xaml.cs
private void ButtonBase_OnClick(object sender, RoutedEventArgs e)
{
Browser.Dispose();
}
Expected behavior
Not to crash and dispose properly.
Actual behavior
The application crashes instantly.
Regression?
Yes, but verified that it already doesn't seem to work in 140.1.140 either (I checked it bc a related issue mentioned this version).
Known Workarounds
No response
Does this problem also occur in the CEF Sample Application
Yes using WPF minimal example
Other information
Dump:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels