Title: [149298] trunk/Source/WebKit2
Revision
149298
Author
[email protected]
Date
2013-04-29 11:08:57 -0700 (Mon, 29 Apr 2013)

Log Message

        Threads get stuck in NetworkProcess when canceling loads
        https://bugs.webkit.org/show_bug.cgi?id=115319

        Backing out part of the fix, as it's causing crashes.

        * WebProcess/Network/WebResourceLoader.cpp:
        (WebKit::WebResourceLoader::didReceiveResponseWithCertificateInfo):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (149297 => 149298)


--- trunk/Source/WebKit2/ChangeLog	2013-04-29 18:06:25 UTC (rev 149297)
+++ trunk/Source/WebKit2/ChangeLog	2013-04-29 18:08:57 UTC (rev 149298)
@@ -1,3 +1,13 @@
+2013-04-29  Alexey Proskuryakov  <[email protected]>
+
+        Threads get stuck in NetworkProcess when canceling loads
+        https://bugs.webkit.org/show_bug.cgi?id=115319
+
+        Backing out part of the fix, as it's causing crashes.
+
+        * WebProcess/Network/WebResourceLoader.cpp:
+        (WebKit::WebResourceLoader::didReceiveResponseWithCertificateInfo):
+
 2013-04-29  Noam Rosenthal  <[email protected]>
 
         Get rid of "non-composited contents" in CoordinatedLayerTreeHost

Modified: trunk/Source/WebKit2/WebProcess/Network/WebResourceLoader.cpp (149297 => 149298)


--- trunk/Source/WebKit2/WebProcess/Network/WebResourceLoader.cpp	2013-04-29 18:06:25 UTC (rev 149297)
+++ trunk/Source/WebKit2/WebProcess/Network/WebResourceLoader.cpp	2013-04-29 18:08:57 UTC (rev 149298)
@@ -109,6 +109,9 @@
     responseCopy.setCertificateChain(certificateInfo.certificateChain());
     m_coreLoader->didReceiveResponse(responseCopy);
 
+    if (!m_coreLoader)
+        return;
+
     if (needsContinueDidReceiveResponseMessage)
         send(Messages::NetworkResourceLoader::ContinueDidReceiveResponse());
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to