gradle :web:test fails

Murali Billa murali.billa at
Thu Apr 5 06:57:17 UTC 2018

Hi Lisker,

+one more point:

I think you are not compiling webkit . The command "gradle :web:test"  picks the webkit dll from JDK (which can have older versions like 10 / 9) .

You can compile webkit  with command " gradle -PCOMPILE_WEBKIT=true  :web:test" and in this case webkit dll will be picked up from your source code repo (not from JDK).


-----Original Message-----
From: Murali Billa 
Sent: Thursday, April 05, 2018 10:19 AM
To: Nir Lisker <nlisker at>; openjfx-dev at Mailing <openjfx-dev at>
Subject: RE: gradle :web:test fails

Hi Lisker,

Can you print  the value of  useragentString ? Looks like you are using fxversion as 11 (you can print this value from  System.getProperty("javafx.runtime.version");) but the useragentstring does not contain 11.

final WebView webView = new WebView();
final WebEngine webEngine = webView.getEngine(); System.out.println(webEngine.getUserAgent()); 

-----Original Message-----
From: Nir Lisker <nlisker at>
Sent: Thursday, April 05, 2018 7:03 AM
To: openjfx-dev at Mailing <openjfx-dev at>
Subject: gradle :web:test fails

I'm running :web:test in revision 10889 and getting the following failing

test.javafx.scene.web.MiscellaneousTest > testUserAgentString FAILED
    java.lang.AssertionError: UserAgentString does not contain JavaFX/11
        at org.junit.Assert.assertTrue(

379 tests completed, 1 failed, 12 skipped :web:test FAILED

Is this known?

- Nir

More information about the openjfx-dev mailing list