Changeset 160986 in webkit
- Timestamp:
- Dec 22, 2013 10:20:59 PM (10 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r160985 r160986 1 2013-12-22 Kwang Yul Seo <skyul@company100.net> 2 3 [WK2][SOUP] WebContext::allowSpecificHTTPSCertificateForHost does not work correctly when m_usesNetworkProcess is false 4 https://bugs.webkit.org/show_bug.cgi?id=125564 5 6 Reviewed Carlos Garcia Campos. 7 8 WebContext::allowSpecificHTTPSCertificateForHost should send 9 AllowSpecificHTTPSCertificateForHost to the web process when 10 m_usesNetworkProcess is false. Also we shouldn't guard 11 WebProcess::allowSpecificHTTPSCertificateForHost with 12 !ENABLE(NETWORK_PROCESS) because we need this method when 13 m_usesNetworkProcess is false. 14 15 * UIProcess/WebContext.cpp: 16 (WebKit::WebContext::allowSpecificHTTPSCertificateForHost): 17 * WebProcess/WebProcess.h: 18 * WebProcess/WebProcess.messages.in: 19 * WebProcess/soup/WebProcessSoup.cpp: 20 1 21 2013-12-22 Martin Robinson <mrobinson@igalia.com> 2 22 -
trunk/Source/WebKit2/UIProcess/WebContext.cpp
r160952 r160986 1143 1143 return; 1144 1144 } 1145 #else 1145 #endif 1146 1146 1147 #if USE(SOUP) 1147 1148 m_processes[0]->send(Messages::WebProcess::AllowSpecificHTTPSCertificateForHost(certificate->certificateInfo(), host), 0); … … 1150 1151 UNUSED_PARAM(certificate); 1151 1152 UNUSED_PARAM(host); 1152 #endif1153 1153 #endif 1154 1154 -
trunk/Source/WebKit2/WebProcess/WebProcess.h
r160487 r160986 175 175 void updateActivePages(); 176 176 177 #if !ENABLE(NETWORK_PROCESS) &&USE(SOUP)177 #if USE(SOUP) 178 178 void allowSpecificHTTPSCertificateForHost(const WebCore::CertificateInfo&, const String& host); 179 179 #endif -
trunk/Source/WebKit2/WebProcess/WebProcess.messages.in
r160487 r160986 84 84 #endif 85 85 86 #if !ENABLE(NETWORK_PROCESS) &&USE(SOUP)86 #if USE(SOUP) 87 87 AllowSpecificHTTPSCertificateForHost(WebCore::CertificateInfo certificate, String host) 88 88 #endif -
trunk/Source/WebKit2/WebProcess/soup/WebProcessSoup.cpp
r160487 r160986 236 236 } 237 237 238 #if !ENABLE(NETWORK_PROCESS)239 238 void WebProcess::allowSpecificHTTPSCertificateForHost(const WebCore::CertificateInfo& certificateInfo, const String& host) 240 239 { 241 240 WebCore::ResourceHandle::setClientCertificate(host, certificateInfo.certificate()); 242 241 } 243 #endif 242 244 243 } // namespace WebKit
Note: See TracChangeset
for help on using the changeset viewer.