CefRequestHandler::OnOpenURLFromTab gets called for a new Popup window

Issue #2028 wontfix
Former user created an issue

If you click a link with a _blank target and rel set to noreferrer then you get both a CefLifeSpanHandler::OnBeforePopup and a CefRequestHandler::OnNewTab call for that browser object if you return false from OnBeforePopup . I believe only OnBeforePopup should be called in this case. If you remove the rel= option from the ahref then OnNewTab is not called.

To reproduce click this link in cefclient: <a href="http://www.w3schools.com" target="_blank" rel="noreferrer">Visit W3Schools.com!</a>

Comments (4)

  1. Log in to comment