Title: [220273] trunk/Source/WebKit
Revision
220273
Author
akl...@apple.com
Date
2017-08-04 09:02:00 -0700 (Fri, 04 Aug 2017)

Log Message

NetworkLoad should always invoke its redirect completion handler
https://bugs.webkit.org/show_bug.cgi?id=175179
<rdar://problem/33464999>

Reviewed by Chris Dumez.

Make sure the redirect completion handler is always invoked,
just like we already did for the response completion handler.

* NetworkProcess/NetworkLoad.cpp:
(WebKit::NetworkLoad::~NetworkLoad):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (220272 => 220273)


--- trunk/Source/WebKit/ChangeLog	2017-08-04 15:39:29 UTC (rev 220272)
+++ trunk/Source/WebKit/ChangeLog	2017-08-04 16:02:00 UTC (rev 220273)
@@ -1,3 +1,17 @@
+2017-08-04  Andreas Kling  <akl...@apple.com>
+
+        NetworkLoad should always invoke its redirect completion handler
+        https://bugs.webkit.org/show_bug.cgi?id=175179
+        <rdar://problem/33464999>
+
+        Reviewed by Chris Dumez.
+
+        Make sure the redirect completion handler is always invoked,
+        just like we already did for the response completion handler.
+
+        * NetworkProcess/NetworkLoad.cpp:
+        (WebKit::NetworkLoad::~NetworkLoad):
+
 2017-08-04  Youenn Fablet  <you...@apple.com>
 
         Remove STREAMS_API compilation guard

Modified: trunk/Source/WebKit/NetworkProcess/NetworkLoad.cpp (220272 => 220273)


--- trunk/Source/WebKit/NetworkProcess/NetworkLoad.cpp	2017-08-04 15:39:29 UTC (rev 220272)
+++ trunk/Source/WebKit/NetworkProcess/NetworkLoad.cpp	2017-08-04 16:02:00 UTC (rev 220273)
@@ -135,6 +135,8 @@
 #if USE(NETWORK_SESSION)
     if (m_responseCompletionHandler)
         m_responseCompletionHandler(PolicyIgnore);
+    if (m_redirectCompletionHandler)
+        m_redirectCompletionHandler({ });
 #if USE(PROTECTION_SPACE_AUTH_CALLBACK)
     if (m_challengeCompletionHandler)
         m_challengeCompletionHandler(AuthenticationChallengeDisposition::Cancel, { });
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to