发布日期
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.
下载 JxBrowser 8.13.0
请提供您的电子邮箱地址,我们会尽快将下载说明发送给您。
我们无法发送电子邮件。请使用直接链接下载JxBrowser。
如果您已经是我们的注册客户,您无需任何操作,即可轻松享受此次更新。
如果您希望深入了解并体验我们的产品,您可以申请评估许可证。