The Popup window Page didn't loaded #5112
Replies: 2 comments
|
Converting to discussion as this is fairly unlikely a bug in CefSharp directly.
Please confirm your issue reproduces with the current supported version,
Testing with https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_win_open using https://github.com/cefsharp/CefSharp.MinimalExample and it behaves as expected.
You should check the log file for errors.
The default expected behavior would be to open in a new native window.
Did you actually test with the |
|
This appears to be an issue with 151.3.170 Winforms also. I have used MinimalExample build (on 4.8 framework) on Winforms to test. Running the default code works with clicking on button for the following: https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_win_open However, if the code is adjusted to run the window.open onload, it does not work. Only the button version works: The above code have been tested with Chrome (v. 152) and Firefox (v. 155) and work as expected (ie: window pops up) In my code, OnBeforePopup does not get triggered with the above code. |
Uh oh!
There was an error while loading. Please reload this page.
Is there an existing issue for this?
CefSharp Version
135.0.220.0
Operating System
Windows 11
Architecture
AnyCPU
.Net Version
.NET 4.8
Implementation
WPF
Reproduction Steps
Load a webpage that includes a window.open() call or .
Observe that:
The popup may not appear at all.
If it appears, it may render blank or crash.
DevTools or modal dialogs may behave inconsistently.
Expected behavior
Popup windows should open in a new ChromiumWebBrowser instance or new WPF window.
The content should render as expected.
Actual behavior
Popup windows are either:
Not opening at all.
Appearing with no content.
Causing UI freezes or crashes.
Regression?
No response
Known Workarounds
No response
Does this problem also occur in the CEF Sample Application
Yes using WPF/OffScreen command line args
Other information
No response
All reactions