Details
Description
Actually I was trying to create some kind of CookieStore management using the java.net CookieStore and I was able to make them for database but after working few days I found that GMAIL, FACEBOOK are not supported by the WebView in default. I thought it was wrong in my cookie but it seems the problem in more related to default CookieStore used by WebView of javafx.
Some events:
- Try to send email logging with your gmail in standard View.
- Try to chat with your friend online in Facebook.
P.S.
Seems like there is already fix in jdk8 but I would like to know how can I accomplish that from my Custom CookieManager? I made the copy implementation of InMemoryCookieStore and java.net.CookieManager and added these lines
CookieManagerX cmrCookieMan = new CookieManagerX();
CookieHandler.setDefault(cmrCookieMan);
Everything works except those Facebook chat and gmail emailing.
Thanks
Narayan
Some events:
- Try to send email logging with your gmail in standard View.
- Try to chat with your friend online in Facebook.
P.S.
Seems like there is already fix in jdk8 but I would like to know how can I accomplish that from my Custom CookieManager? I made the copy implementation of InMemoryCookieStore and java.net.CookieManager and added these lines
CookieManagerX cmrCookieMan = new CookieManagerX();
CookieHandler.setDefault(cmrCookieMan);
Everything works except those Facebook chat and gmail emailing.
Thanks
Narayan
Attachments
Issue Links
- relates to
-
JDK-8119520 Sending email with gmail doesn't work with webview
- Resolved
-
JDK-8120800 http://walmart.com cannot be loaded into WebView on MacOS
- Resolved
-
JDK-8101833 Implement window.localStorage
- Resolved