cefsharp / CefSharp

.NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework
http://cefsharp.github.io/
Other
9.82k stars 2.92k forks source link

about:blank in OnBeforePopup #3997

Closed karlovm closed 2 years ago

karlovm commented 2 years ago

I'm sorry for skipping bug report form. It's just because the issue is independent.

The Bug: Sometimes the targetUrl in OnBeforePopup is about:blank and there is no way to get final url, but the default popup window works well. I've tried to use experimental code from Wpf Example, but there is no results.

You can reproduce it by opening yandex.ru, type vk.com and press enter on icon-styled result.

karlovm commented 2 years ago

The problem was solved by implementation of https://github.com/cefsharp/CefSharp/blob/master/CefSharp.Wpf.Example/Handlers/ExperimentalLifespanHandler.cs

amaitland commented 2 years ago

In future please use discussions to ask questions.

https://github.com/cefsharp/CefSharp/discussions