Title: [108254] releases/WebKitGTK/webkit-1.8/Source/WebKit2

Diff

Modified: releases/WebKitGTK/webkit-1.8/Source/WebKit2/ChangeLog (108253 => 108254)


--- releases/WebKitGTK/webkit-1.8/Source/WebKit2/ChangeLog	2012-02-20 18:49:44 UTC (rev 108253)
+++ releases/WebKitGTK/webkit-1.8/Source/WebKit2/ChangeLog	2012-02-20 19:00:22 UTC (rev 108254)
@@ -1,3 +1,18 @@
+2012-02-20  Carlos Garcia Campos  <[email protected]>
+
+        [GTK] Adding SOUP_TYPE_PROXY_RESOLVER_DEFAULT feature to soup session makes WebProcess to hang
+        https://bugs.webkit.org/show_bug.cgi?id=79036
+
+        Reviewed by Martin Robinson.
+
+        This looks like a bug in gobject. Initializing the WebProcess
+        before creating the soup session seems to fix the problem. It's
+        actually a workaround, but initializing the WebProcess as sson as
+        possible it's a good idea in any case.
+
+        * WebProcess/gtk/WebProcessMainGtk.cpp:
+        (WebKit::WebProcessMainGtk):
+
 2012-02-20  Martin Robinson  <[email protected]>
 
         Fix WebKit2GTK+ for 'make distcheck'.

Modified: releases/WebKitGTK/webkit-1.8/Source/WebKit2/WebProcess/gtk/WebProcessMainGtk.cpp (108253 => 108254)


--- releases/WebKitGTK/webkit-1.8/Source/WebKit2/WebProcess/gtk/WebProcessMainGtk.cpp	2012-02-20 18:49:44 UTC (rev 108253)
+++ releases/WebKitGTK/webkit-1.8/Source/WebKit2/WebProcess/gtk/WebProcessMainGtk.cpp	2012-02-20 19:00:22 UTC (rev 108254)
@@ -58,12 +58,12 @@
     WTF::initializeMainThread();
 
     RunLoop::initializeMainRunLoop();
+    int socket = atoi(argv[1]);
+    WebProcess::shared().initialize(socket, RunLoop::main());
+
     SoupSession* session = WebCore::ResourceHandle::defaultSession();
-
     soup_session_add_feature_by_type(session, WEB_TYPE_AUTH_DIALOG);
 
-    int socket = atoi(argv[1]);
-    WebProcess::shared().initialize(socket, RunLoop::main());
     RunLoop::run();
 
     return 0;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to