REGRESSION(r267502) [GLIB] Make WTR ignoreTLSErrors
authorcarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 24 Sep 2020 09:16:25 +0000 (09:16 +0000)
committercarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 24 Sep 2020 09:16:25 +0000 (09:16 +0000)
https://bugs.webkit.org/show_bug.cgi?id=216911

Reviewed by Adrian Perez de Castro.

I forgot to initialize ignoreTLSErrors in network session parameters.

* UIProcess/WebsiteData/soup/WebsiteDataStoreSoup.cpp:
(WebKit::WebsiteDataStore::platformSetNetworkParameters):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267523 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/ChangeLog
Source/WebKit/UIProcess/WebsiteData/soup/WebsiteDataStoreSoup.cpp

index 958faff..d7240a9 100644 (file)
@@ -1,3 +1,15 @@
+2020-09-24  Carlos Garcia Campos  <cgarcia@igalia.com>
+
+        REGRESSION(r267502) [GLIB] Make WTR ignoreTLSErrors
+        https://bugs.webkit.org/show_bug.cgi?id=216911
+
+        Reviewed by Adrian Perez de Castro.
+
+        I forgot to initialize ignoreTLSErrors in network session parameters.
+
+        * UIProcess/WebsiteData/soup/WebsiteDataStoreSoup.cpp:
+        (WebKit::WebsiteDataStore::platformSetNetworkParameters):
+
 2020-09-23  Peng Liu  <peng.liu6@apple.com>
 
         Add feature flags for GPU Process features
index 0d7061b..bdf66e2 100644 (file)
@@ -38,6 +38,7 @@ void WebsiteDataStore::platformSetNetworkParameters(WebsiteDataStoreParameters&
 {
     auto& networkSessionParameters = parameters.networkSessionParameters;
     networkSessionParameters.persistentCredentialStorageEnabled = m_persistentCredentialStorageEnabled;
+    networkSessionParameters.ignoreTLSErrors = m_ignoreTLSErrors;
 
     if (auto* processPool = processPoolForCookieStorageOperations())
         processPool->supplement<WebCookieManagerProxy>()->getCookiePersistentStorage(m_sessionID, networkSessionParameters.cookiePersistentStoragePath, networkSessionParameters.cookiePersistentStorageType);