JDK-8269912 : Investigate failing tests after JDK-8268849
  • Type: Bug
  • Component: javafx
  • Sub-Component: web
  • Affected Version: 8u311,openjfx18
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2021-07-06
  • Updated: 2021-12-06
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
openjfx19Unresolved
Related Reports
Relates :  
Description
Following test failures are observed after JDK-8268849
The failures should be investigated, if the tests have become invalid then they should be removed.
These will be commented out as part of JDK-8268849.

Exception in thread "JavaFX Application Thread" eb.HistoryTest
test.javafx.scene.web.HistoryTest > test FAILED
    java.lang.AssertionError: title not changed from JS
        at org.junit.Assert.fail(Assert.java:91)
        at test.javafx.scene.web.HistoryTest.ensureValueChanged(HistoryTest.java:275)
        at test.javafx.scene.web.HistoryTest.test(HistoryTest.java:111)

test.javafx.scene.web.HistoryTest > test FAILED
    java.lang.AssertionError: entries: title is wrong expected:<1> but was:<null>
        at org.junit.Assert.fail(Assert.java:91)
        at org.junit.Assert.failNotEquals(Assert.java:645)
        at org.junit.Assert.assertEquals(Assert.java:126)
        at test.javafx.scene.web.HistoryTest.check(HistoryTest.java:272)
        at test.javafx.scene.web.HistoryTest.checkLoad(HistoryTest.java:265)
        at test.javafx.scene.web.HistoryTest.test(HistoryTest.java:75)

test.javafx.scene.web.LoadNotificationsTest > testSuccessfulLoad FAILED
    java.lang.AssertionError: WebEngine.title should be set
        at org.junit.Assert.fail(Assert.java:91)
        at org.junit.Assert.assertTrue(Assert.java:43)
        at org.junit.Assert.assertNotNull(Assert.java:524)
        at test.javafx.scene.web.LoadNotificationsTest.checkState(LoadNotificationsTest.java:153)
        at test.javafx.scene.web.LoadNotificationsTest.changed(LoadNotificationsTest.java:81)

Comments
[~arapte] once investigated please confirm is it a P4 test issue or P3 regression
06-07-2021