Changeset 122103 in webkit
- Timestamp:
- Jul 9, 2012 5:28:12 AM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r122101 r122103 1 2012-07-09 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 [SOUP] Use soup_cookie_jar_is_persistent() to set whether cookie is a session one or not 4 https://bugs.webkit.org/show_bug.cgi?id=90769 5 6 Reviewed by Gustavo Noronha Silva. 7 8 It's currently set to false, because there were no API to know 9 whether cookies were persistent or not. Now that we bumped libsoup 10 requirements, we can use soup_cookie_jar_is_persistent(). 11 12 * platform/network/soup/CookieJarSoup.cpp: 13 (WebCore::getRawCookies): 14 1 15 2012-07-09 Taiju Tsuiki <tzik@chromium.org> 2 16 -
trunk/Source/WebCore/platform/network/soup/CookieJarSoup.cpp
r120145 r122103 163 163 if (!soup_cookie_applies_to_uri(cookie.get(), uri.get())) 164 164 continue; 165 // FIXME: we are currently passing false always for session because there's no API to know166 // whether SoupCookieJar is persistent or not. We could probably add soup_cookie_jar_is_persistent().167 165 rawCookies.append(Cookie(String::fromUTF8(cookie->name), String::fromUTF8(cookie->value), String::fromUTF8(cookie->domain), 168 166 String::fromUTF8(cookie->path), static_cast<double>(soup_date_to_time_t(cookie->expires)) * 1000, 169 cookie->http_only, cookie->secure, false));167 cookie->http_only, cookie->secure, soup_cookie_jar_is_persistent(jar))); 170 168 } 171 169
Note: See TracChangeset
for help on using the changeset viewer.