Title: [240914] trunk/Source/WebKit
Revision
240914
Author
[email protected]
Date
2019-02-03 18:15:55 -0800 (Sun, 03 Feb 2019)

Log Message

[curl] [WebKit] Assertion failures of missing networkStorageSession for storage/indexeddb tests
https://bugs.webkit.org/show_bug.cgi?id=194141

Reviewed by Ross Kirsling.

Implemented WebKit::NetworkProcess::switchToNewTestingSession and
WebKit::NetworkProcess::ensureSession for curl port.

* NetworkProcess/NetworkProcess.cpp:
(WebKit::NetworkProcess::switchToNewTestingSession):
(WebKit::NetworkProcess::ensureSession):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (240913 => 240914)


--- trunk/Source/WebKit/ChangeLog	2019-02-04 02:11:32 UTC (rev 240913)
+++ trunk/Source/WebKit/ChangeLog	2019-02-04 02:15:55 UTC (rev 240914)
@@ -1,3 +1,17 @@
+2019-02-03  Fujii Hironori  <[email protected]>
+
+        [curl] [WebKit] Assertion failures of missing networkStorageSession for storage/indexeddb tests
+        https://bugs.webkit.org/show_bug.cgi?id=194141
+
+        Reviewed by Ross Kirsling.
+
+        Implemented WebKit::NetworkProcess::switchToNewTestingSession and
+        WebKit::NetworkProcess::ensureSession for curl port.
+
+        * NetworkProcess/NetworkProcess.cpp:
+        (WebKit::NetworkProcess::switchToNewTestingSession):
+        (WebKit::NetworkProcess::ensureSession):
+
 2019-02-03  Simon Fraser  <[email protected]>
 
         Make setNeedsLayout on the root more explicitly about triggering its side-effects

Modified: trunk/Source/WebKit/NetworkProcess/NetworkProcess.cpp (240913 => 240914)


--- trunk/Source/WebKit/NetworkProcess/NetworkProcess.cpp	2019-02-04 02:11:32 UTC (rev 240913)
+++ trunk/Source/WebKit/NetworkProcess/NetworkProcess.cpp	2019-02-04 02:15:55 UTC (rev 240914)
@@ -477,6 +477,8 @@
     m_defaultNetworkStorageSession = std::make_unique<WebCore::NetworkStorageSession>(PAL::SessionID::defaultSessionID(), WTFMove(session), WTFMove(cookieStorage));
 #elif USE(SOUP)
     m_defaultNetworkStorageSession = std::make_unique<WebCore::NetworkStorageSession>(PAL::SessionID::defaultSessionID(), std::make_unique<WebCore::SoupNetworkSession>());
+#elif USE(CURL)
+    m_defaultNetworkStorageSession = std::make_unique<WebCore::NetworkStorageSession>(PAL::SessionID::defaultSessionID());
 #endif
 }
 
@@ -509,6 +511,8 @@
     addResult.iterator->value = std::make_unique<NetworkStorageSession>(sessionID, WTFMove(storageSession), WTFMove(cookieStorage));
 #elif USE(SOUP)
     addResult.iterator->value = std::make_unique<NetworkStorageSession>(sessionID, std::make_unique<SoupNetworkSession>(sessionID));
+#elif USE(CURL)
+    addResult.iterator->value = std::make_unique<NetworkStorageSession>(sessionID);
 #endif
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to