Posted on
JxBrowser 7.6
We are glad to announce the release of the new JxBrowser 7.6!
Clearing HTTP authentication cache
In JxBrowser 7.6 the API has been extended with functionality that allows you to clear HTTP authentication cache. The following code snippet demonstrates how to do it:
engine.httpAuthCache().clear();
@JsAccessible for default interface methods
The JavaScript-Java bridge functionality has been extended with the possibility to mark the default interface methods
with the @JsAccessible annotation to allow JavaScript code accessing these methods as well. For example:
public interface MyInterface {
@JsAccessible
default void method() { }
}
SSL connection version for URL request
The UrlRequest class has been extended with the method that allows getting the SSL connection version if it is
available and the URL request represents an HTTPS request. For example:
engine.network().on(RequestCompleted.class, event -> {
event.urlRequest().sslVersion().ifPresent(sslVersion -> {
System.out.println("SSL version: " + sslVersion);
});
});
Improvements
- The
HttpHeader.of(String name, String value)method now accepts the empty values.
Fixed issues
- Content of a web page is not rendered after embedding
BrowserViewinto aJFramein the hardware accelerated rendering mode on Windows. - Incorrect
BrowserViewdisplay position when it is embedded intoJTabbedPanein the hardware accelerated rendering mode. - JavaScript workers do not render content until the
Browserinstance is resized in the off-screen rendering mode on Windows. - Thread deadlock when hiding
BrowserViewin the hardware accelerated rendering mode on macOS. BrowserViewis still trying to use an already closed channel after itsEnginehas been closed or crashed. It leads to the unexpectedIllegalStateExceptionerrors that prevent the application from removing theBrowserViewcomponent.- The
IllegalStateExceptioinerror when accessing the frames of some specific web pages. - Webcam is not accessible on the web pages that work with WebRTC to carry out a live streaming using webcam.
- Content of a web page is not rendered unless you resize
BrowserViewin the off-screen rendering mode. - Loading a specific URL containing JavaScript code in the heavyweight headless mode causes the renderer process becomes unresponsive after embedding the browser in a UI frame.
- Acid3 test shows an error message in a text which says that it should not be seen.
- Web page is not rendered after reopening it in the popup window on macOS.
- Crash when a web page and PDF document are loaded frequently.
- Crash when opening print preview for multiple PDFs in an
IFRAMEon Windows. - Crash when loading a specific PDF document on Windows.
- Random crash on the
Enginestartup on Windows. - The missing
Accept-languageheader when the library sends HTTP request headers. - The
SELECTdrop down popup is not rendered sometimes in the off-screen rendering mode. - The key code cannot be detected when pressing the “+” key on the German keyboard in the off-screen rendering mode.
- The
NullPointerExceptionerror when accessing DOM nodes from different threads. - The
NullPointerExceptionerror when closing aBrowserinstance while another instances are visible, in the hardware accelerated rendering mode on Windows and Linux. - The mouse scroll events are triggered two times instead of one on a web page in both rendering modes.
- The cache directory is not created when a user data directory path is specified with
../on Windows. - The Swing
BrowserViewdrag-and-drop events are aborted if the component is hidden before the drop. - Impossible to send a certain URL-encoded POST data when
BeforeSendUploadDataCallbackis set. - The
*.webmresources are not handled byInterceptRequestCallbackin the incognito mode. - The
ConcurrentModificationExceptionerror when closing popup. - The Swing
BrowserViewis displayed in the 0x0 window position when embedded intoJTabbedPanein the hardware accelerated rendering mode on Windows. - The
ChromiumProcessStartupFailureExceptionerror when creating anEngineinstance on Windows.
Download JxBrowser 7.6
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.