JxBrowser 6.19: Improvements and Fixes

JxBrowser 6.19 lists quite a number of new features and improvements:


BrowserContext.setAcceptLanguage()


The BrowserContext.setAcceptLanguage() method has been added. The Browser.setAcceptLanguage() method has been marked as deprecated, because it doesn't support language ranges according to RFC 7231. The BrowserContext.setAcceptLanguage() method supports language ranges, so you can use it like that:



browserContext.setAcceptLanguage("fr-CH, fr;q=0.9, en;q=0.8, de;q=0.7, *;q=0.5");


StartLoadingEvent.isSameDocument()


The StartLoadingEvent.isSameDocument() and ProvisionalLoadingEvent.isSameDocument() methods have been implemented. These methods indicate whether the loading event is initiated by a navigation within the same document.


Java 10 Early-Access


This version has been tested with Java 10 Early-Access Build. All JxBrowser functionality is working as expected with Java 10 on Windows, Linux, and macOS. JxBrowser supports Java 10 with the same limitations as for Java 9.


Fixes and improvements:

  • The issue when each invocation of the JSFunction.invokeAsync() method creates a new Java thread has been fixed.
  • The issue when CertificateVerifier is invoked for all BrowserContext instances has been fixed.
  • The issue when LoadHandler doesn't intercept load events of an IFRAME embedded into a web page has been fixed.
  • The JavaFX File Save dialog has been improved. Now it doesn't lost file extension when downloading and saving file.
  • The issue when the window.matchMedia() JS function returns different result in the heavyweight and lightweight rendering modes has been fixed.
  • The NullPointerException when calling JSObject.hasProperty() in a popup window has been fixed.
  • The ~\AppData\Local\Chromium\User Data\ directory creation on JxBrowser startup has been disabled.
  • Support of the links in PDF documents has been restored.
  • The issue when the current page number is cropped in PDF Viewer has been fixed.
  • The thread deadlock when reparenting Swing BrowserView on macOS has been fixed.
  • The JavaFX DefaultDialogHandler implementation has been improved. JavaFX App Thread checking has been added to handle situations when its methods are already invoked in JavaFX App Thread.


Request evaluation licence
Download JxBrowser 6.19

Release date: February 27, 2018


When will this be in the maven repository?

JxBrowser 6.19 is already available on Maven repository.

Login to post a comment