diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | embed/ephy-cookie-manager.h | 1 | ||||
-rw-r--r-- | embed/mozilla/EphySingle.cpp | 6 |
3 files changed, 14 insertions, 0 deletions
@@ -1,5 +1,12 @@ 2007-05-19 Christian Persch <chpe@gnome.org> + * embed/ephy-cookie-manager.h: + * embed/mozilla/EphySingle.cpp: + + Store http-only flag too. + +2007-05-19 Christian Persch <chpe@gnome.org> + * lib/egg/eggtreemultidnd.c: Include config.h. diff --git a/embed/ephy-cookie-manager.h b/embed/ephy-cookie-manager.h index 88463808b..bc8069ed3 100644 --- a/embed/ephy-cookie-manager.h +++ b/embed/ephy-cookie-manager.h @@ -50,6 +50,7 @@ typedef struct glong real_expires; guint is_secure : 1; guint is_session : 1; + guint is_http_only : 1; } EphyCookie; struct _EphyCookieManagerIface diff --git a/embed/mozilla/EphySingle.cpp b/embed/mozilla/EphySingle.cpp index d7e04b5db..64e8c8399 100644 --- a/embed/mozilla/EphySingle.cpp +++ b/embed/mozilla/EphySingle.cpp @@ -348,6 +348,12 @@ mozilla_cookie_to_ephy_cookie (nsICookie *cookie) info->real_expires = expiry; } +#ifdef HAVE_GECKO_1_9 + PRBool isHttpOnly = PR_FALSE; + cookie2->GetHttpOnly (&isHttpOnly); + info->is_http_only = isHttpOnly != PR_FALSE; +#endif + return info; } |