Title: [160364] trunk/Source/WebKit2
Revision
160364
Author
commit-qu...@webkit.org
Date
2013-12-10 07:39:52 -0800 (Tue, 10 Dec 2013)

Log Message

[WK2][SOUP] WebContext::setIgnoreTLSErrors should send SetIgnoreTLSErrors to the network process when network process is enabled
https://bugs.webkit.org/show_bug.cgi?id=125505

Patch by Kwang Yul Seo <sk...@company100.net> on 2013-12-10
Reviewed by Carlos Garcia Campos.

This is a follow-up patch for r160355.

* UIProcess/gtk/WebContextGtk.cpp:
(WebKit::WebContext::setIgnoreTLSErrors):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (160363 => 160364)


--- trunk/Source/WebKit2/ChangeLog	2013-12-10 15:23:17 UTC (rev 160363)
+++ trunk/Source/WebKit2/ChangeLog	2013-12-10 15:39:52 UTC (rev 160364)
@@ -1,3 +1,15 @@
+2013-12-10  Kwang Yul Seo  <sk...@company100.net>
+
+        [WK2][SOUP] WebContext::setIgnoreTLSErrors should send SetIgnoreTLSErrors to the network process when network process is enabled
+        https://bugs.webkit.org/show_bug.cgi?id=125505
+
+        Reviewed by Carlos Garcia Campos.
+
+        This is a follow-up patch for r160355.
+
+        * UIProcess/gtk/WebContextGtk.cpp:
+        (WebKit::WebContext::setIgnoreTLSErrors):
+
 2013-12-10  Martin Robinson  <mrobin...@igalia.com>
 
         Try to fix the EFL build

Modified: trunk/Source/WebKit2/UIProcess/gtk/WebContextGtk.cpp (160363 => 160364)


--- trunk/Source/WebKit2/UIProcess/gtk/WebContextGtk.cpp	2013-12-10 15:23:17 UTC (rev 160363)
+++ trunk/Source/WebKit2/UIProcess/gtk/WebContextGtk.cpp	2013-12-10 15:39:52 UTC (rev 160364)
@@ -40,6 +40,10 @@
 #include <wtf/gobject/GOwnPtr.h>
 #include <wtf/text/CString.h>
 
+#if ENABLE(NETWORK_PROCESS)
+#include "NetworkProcessMessages.h"
+#endif
+
 namespace WebKit {
 
 static void initInspectorServer()
@@ -140,6 +144,12 @@
 void WebContext::setIgnoreTLSErrors(bool ignoreTLSErrors)
 {
     m_ignoreTLSErrors = ignoreTLSErrors;
+#if ENABLE(NETWORK_PROCESS)
+    if (usesNetworkProcess() && networkProcess()) {
+        networkProcess()->send(Messages::NetworkProcess::SetIgnoreTLSErrors(m_ignoreTLSErrors), 0);
+        return;
+    }
+#endif
     sendToAllProcesses(Messages::WebProcess::SetIgnoreTLSErrors(m_ignoreTLSErrors));
 }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to