[Xfce4-commits] <midori:master> Add a dummy cookie jar for extension unit test
Christian Dywan
noreply at xfce.org
Sun Jan 16 14:04:04 CET 2011
Updating branch refs/heads/master
to f5927ec5d4a485dd8e69cf0cf5651d4494aa1e32 (commit)
from 355ae063a65849f2b1f0c174d5a00469c77a6d4e (commit)
commit f5927ec5d4a485dd8e69cf0cf5651d4494aa1e32
Author: Christian Dywan <christian at twotoasts.de>
Date: Sun Jan 16 13:52:07 2011 +0100
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.
tests/extensions.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/tests/extensions.c b/tests/extensions.c
index 372eccf..75fb1af 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);
More information about the Xfce4-commits
mailing list