Browser: Crash caused by Popup
The SET Browser will crash if any website tries to open a popup.
This issue can be reproduced e.g. by adding the following html into a website:
<a href="" target="popup" onClick="javascript:open('', 'popup')">Open Popup</a>
When clicking the link the browser tries to open a popup and crashes with an exeption similar to this:
thread '<unnamed>' panicked at 'jni_on_before_popup: JavaException', chromium\src\cef\mod.rs:10738:23
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Exception in thread "main" java.lang.UnsatisfiedLinkError: 'int org.eclipse.set.browser.lib.ChromiumLib.cef_popup_features_t_sizeof()'
at org.eclipse.set.browser.lib.ChromiumLib.cef_popup_features_t_sizeof(Native Method)
at org.eclipse.set.browser.lib.cef_popup_features_t.<clinit>(cef_popup_features_t.java:21)
at org.eclipse.set.browser.cef.Chromium.on_before_popup(Chromium.java:700)
at org.eclipse.set.browser.cef.handlers.browser.LifeSpanHandler.on_before_popup(LifeSpanHandler.java:94)
at org.eclipse.set.browser.lib.ChromiumLib.cefswt_do_message_loop_work(Native Method)