[Webkit-unassigned] [Bug 82082] [SOUP] Implement missing methods in CookieJarSoup

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 23 14:13:46 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=82082


Martin Robinson <mrobinson at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #133546|review?                     |review+
               Flag|                            |




--- Comment #2 from Martin Robinson <mrobinson at webkit.org>  2012-03-23 14:13:46 PST ---
(From update of attachment 133546)
View in context: https://bugs.webkit.org/attachment.cgi?id=133546&action=review

Nice! Consider reverting the changes to deleteCookiesForHostname and deleteAllCookies. The old style seemed a more explicit about what was happening.

> Source/WebCore/platform/network/soup/CookieJarSoup.cpp:128
> +        // FIXME we are currently passing false always for seesion because there's no API to know

Missing a ':' after FIXME.

> Source/WebCore/platform/network/soup/CookieJarSoup.cpp:149
> +    CString cookieName = name.utf8();
> +

Extra newline here.

> Source/WebCore/platform/network/soup/CookieJarSoup.cpp:165
> +        GOwnPtr<SoupCookie> cookie(static_cast<SoupCookie*>(item->data));

It's was actually a bit tricky for me to see how this worked now, with a GOwnPtr assigned the cookie late in its life. I'm not sure if I prefer this approach versus the old one.

> Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp:164
> -            setDefaultCookieJar(jar);
> +            setSoupCookieJar(jar);

I think your new name is far more appropriate.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list