Posted on
JxBrowser 8.12.0
Override time zones for Chromium
Starting with JxBrowser 8.12.0, you can launch Chromium engine with an arbitrary time zone:
val timeZone = ZoneId.of("Asia/Shanghai");
val options = EngineOptions.newBuilder(HARDWARE_ACCELERATED)
.timeZone(timeZone)
.build();
val engine = Engine.newInstance(timeZone);
By default, Chromium uses the system time zone.
Breaking change in loadHtml()
In this version, we have replaced the Frame.loadHtml(...) with the Navigation.loadHtml(...) method.
8.11.0 and earlier:
browser.mainFrame().ifPresent(frame -> {
frame.loadHtml("<html>Hello!</html>");
});
Starting with 8.12.0:
browser.navigation().loadHtml("<html>Hello!</html>");
The implementation of loadHtml() hasn’t changed. This method converts HTML into a data: URL, and is a subject
to the URL length limit of 2 * 1024 * 1024 characters.
Chromium 140.0.7339.81
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 horizontal scrolling now works in SWT
BrowserView.Fixed the issue when
TextFinderreturned incorrect results in the case-sensitive mode.Fixed the
engine.setTheme()method that had no effect on Linux.An intermittent
NullPointerExceptionis no longer thrown when closing browser in the off-screen mode in SWT.Removed the
verifier.exefile from thejxbrowser-win*artifacts, because it was falsely flagged by antiviruses.This was used for verifying Chromium binaries. We introduced it as a workaround for the Windows Defender issue. The file is no longer needed, as the issue was resolved on the Defender’s end.
Download JxBrowser 8.12.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.