diff options
Diffstat (limited to 'embed/mozilla')
-rw-r--r-- | embed/mozilla/EphySingle.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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; } |