https://bugs.webkit.org/show_bug.cgi?id=125505
Patch by Kwang Yul Seo <skyul@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):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@160364
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2013-12-10 Kwang Yul Seo <skyul@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 <mrobinson@igalia.com>
Try to fix the EFL build
#include <wtf/gobject/GOwnPtr.h>
#include <wtf/text/CString.h>
+#if ENABLE(NETWORK_PROCESS)
+#include "NetworkProcessMessages.h"
+#endif
+
namespace WebKit {
static void initInspectorServer()
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));
}