Posted on
JxBrowser 8.13.0
Sandbox on Linux
In JxBrowser 8.13.0, the Chromium sandbox is now enabled on Linux. This sandbox is a crucial security feature that has already been available on Windows and macOS.
Action required
Chromium relies on user namespaces to sandbox subprocesses.
When this feature is unavailable, JxBrowser cannot start Chromium and throws a SandboxNotSupportedException
during Engine initialization.
On some Linux distributions, this feature may be unavailable to unprivileged users. To enable it, follow our sandbox setup guide and configure your operating system accordingly.
New JavaScript types
In this version, we add two new data types that are automatically converted between Java and JavaScript:
BigInt↔java.math.BigIntegerSymbol↔com.teamdev.jxbrowser.js.JsSymbol
For example:
BigInteger number = frame.executeJavaScript("9007199254740991n");
JsSymbol symbol = frame.executeJavaScript("Symbol('bacf2f')");
Check out the JavaScript guide for more details.
GraalVM support
Starting with JxBrowser 8.13.0, we officially support GraalVM. Check out the system requirements to see the full list of supported JREs.
Permission for Wake Lock API
Now, you can grant JavaScript code permission to use Wake Lock API:
profile.permissions().set(RequestPermissionCallback.class, (params, tell) -> {
if (params.permissionType() == WAKE_LOCK_SCREEN) {
tell.grant();
} else{
tell.deny();
}
});
Chromium 142.0.7444.60
We upgraded Chromium to a newer version, which introduces important security fixes. Among them:
You can read more about it in the Chromium blog posts:
Quality enhancements
- Fixed dropdowns, color and date pickers, as well as other dialogs that didn’t appear in Compose/OFF_SCREEN on Windows.
- Fixed
IllegalArgumentExceptionwhen converting instances of JavaScriptBigIntandSymbolto Java types. - Removed usage of
System.getProperties()that has required permission from the security manager.
Download JxBrowser 8.13.0
Please share your email with us, and we'll send you download instructions.
We were unable to send the email. Please use the direct link to download JxBrowser.
If you are a registered customer you don't need to do anything to use this update.
If you would like to evaluate the product, you need an evaluation license.
Follow @JxBrowser to get notified of the library updates.
Subscribe to our RSS feed to get instant updates on new releases.
Subscribe to get notifications about the latest releases.