From: Christian Dywan Date: Sun, 16 Jan 2011 12:52:07 +0000 (+0100) Subject: Add a dummy cookie jar for extension unit test X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5927ec5d4a485dd8e69cf0cf5651d4494aa1e32;p=midori Add a dummy cookie jar for extension unit test In a real environment there is always one and extensions rely on finding a cookie jar. --- diff --git a/tests/extensions.c b/tests/extensions.c index 372eccf8..75fb1af0 100644 --- a/tests/extensions.c +++ b/tests/extensions.c @@ -237,6 +237,8 @@ main (int argc, g_test_init (&argc, &argv, NULL); gtk_init_check (&argc, &argv); if (!g_thread_supported ()) g_thread_init (NULL); + soup_session_add_feature_by_type (webkit_get_default_session (), + SOUP_TYPE_COOKIE_JAR); g_test_add_func ("/extensions/create", extension_create); g_test_add_func ("/extensions/settings", extension_settings);