Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8119503

Default WebView Cookie system not supporting Facebook chat, Gmail Emailing, Google Hangouts etc.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 8
    • 7u13
    • javafx
    • Javafx: 2.2.5, JDK: 1.7.0_13 , Core i7 PROCESSOR, 8GB RAM, Windows 7 OS

    • web

    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

      Attachments

        Issue Links

          Activity

            People

              peterz Peter Zhelezniakov
              duke J. Duke
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: