JDK-8230361 : [web] Cookies are not enabled in WebKit v608.1
Type:Bug
Component:javafx
Sub-Component:web
Affected Version:8u231,openjfx13
Priority:P2
Status:Resolved
Resolution:Fixed
OS:generic
CPU:generic
Submitted:2019-08-29
Updated:2020-01-31
Resolved:2019-08-30
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.
Cookies are not enabled in 608.1
Test : load below URL and check the result https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_nav_cookieenabled
openjfx13 fix request approved.
Although we are past the JavaFX 13 code freeze date, the final GA (fcs) build has not been done, so after talking with Johan, we are both in agreement to take this bug fix for JavaFX 13.
30-08-2019
openjfx13-fix-request:
Due to cookie not working some of the web page had caused in-consistent rendering behaviour compared to other favourite browser.
This fix provides (a) enables cookie functionality in WebView. (b) contains platform adoption for the fix / enhancement done in Webkit browser engine.
30-08-2019
https://github.com/javafxports/openjdk-jfx/pull/576
Root Cause : Cookiejar Object didn't had valid StorageSessionProvider object, This was due to fix in webkit https://trac.webkit.org/changeset/240014/webkit.
Solution : Create CookieJar with PageStorageSessionProvider (with Page Ref) and add to Page Configuration.
29-08-2019
This also causes the following two sites to fail to display properly:
1. Chase.com fails to load and instead displays a number of spinning progress indicators that never complete:
$ java HelloWebVIew https://www.chase.com/
2. hao123.com loads, but if you scroll down, the panel in the lower left does not finish loading and shows an animating progress indicator
$ java HelloWebVIew https://www.hao123.com/
I will attach images.