Commit bdc49f6e authored by kov@webkit.org's avatar kov@webkit.org
Browse files

2010-03-12 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>

        Fix critical being printed to stderr on every test. This is
        because the jar is only being created when soup hits the HTTP
        path. We should reconsider the time of its creation.

        * DumpRenderTree/gtk/DumpRenderTree.cpp:
        (resetDefaultsToConsistentValues):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55925 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 9e8aa46d
2010-03-12 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
Fix critical being printed to stderr on every test. This is
because the jar is only being created when soup hits the HTTP
path. We should reconsider the time of its creation.
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(resetDefaultsToConsistentValues):
2010-03-12 Adam Roben <aroben@apple.com>
 
Teach prepare-ChangeLog to find modified selectors in CSS files
......
......@@ -350,7 +350,11 @@ static void resetDefaultsToConsistentValues()
#ifdef HAVE_LIBSOUP_2_29_90
SoupSession* session = webkit_get_default_session();
SoupCookieJar* jar = reinterpret_cast<SoupCookieJar*>(soup_session_get_feature(session, SOUP_TYPE_COOKIE_JAR));
g_object_set(G_OBJECT(jar), SOUP_COOKIE_JAR_ACCEPT_POLICY, SOUP_COOKIE_JAR_ACCEPT_NO_THIRD_PARTY, NULL);
// We only create the jar when the soup backend needs to do
// HTTP. Should we initialize it earlier, perhaps?
if (jar)
g_object_set(G_OBJECT(jar), SOUP_COOKIE_JAR_ACCEPT_POLICY, SOUP_COOKIE_JAR_ACCEPT_NO_THIRD_PARTY, NULL);
#endif
setlocale(LC_ALL, "");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment