Community
Participate
Working Groups
Using the new WebView2 edge browser, it can not control opening new window when the event.browser is set. The sample code written in WindowEvent class javadoc shows that when the event.browser is set, it prevent opening new window of native web browser, and the contents of the link will be drawn in the prepared browser by java code. It works when the link is clicked with CTRL key, or fired from the context menu 'Open in new window', but when clicking <a> tag link with target="_blank", native web browser's window is open. This behavior can be checked with the Internal Web Browser of Eclipse 4.19RC2 on Windows 10 + WebView2 when clicking the <a> tag link with target="_blank".