Title: [272327] trunk/Source/WebKit
Revision
272327
Author
[email protected]
Date
2021-02-03 10:35:10 -0800 (Wed, 03 Feb 2021)

Log Message

Add internal additions to NetworkSessionCocoa
https://bugs.webkit.org/show_bug.cgi?id=221060
<rdar://problem/68431471>

Reviewed by Brent Fulgham.

* NetworkProcess/cocoa/NetworkSessionCocoa.mm:
(-[WKNetworkSessionDelegate URLSession:task:willPerformHTTPRedirection:newRequest:completionHandler:]):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (272326 => 272327)


--- trunk/Source/WebKit/ChangeLog	2021-02-03 18:34:36 UTC (rev 272326)
+++ trunk/Source/WebKit/ChangeLog	2021-02-03 18:35:10 UTC (rev 272327)
@@ -1,3 +1,14 @@
+2021-02-03  Kate Cheney  <[email protected]>
+
+        Add internal additions to NetworkSessionCocoa
+        https://bugs.webkit.org/show_bug.cgi?id=221060
+        <rdar://problem/68431471>
+
+        Reviewed by Brent Fulgham.
+
+        * NetworkProcess/cocoa/NetworkSessionCocoa.mm:
+        (-[WKNetworkSessionDelegate URLSession:task:willPerformHTTPRedirection:newRequest:completionHandler:]):
+
 2021-02-03  Devin Rousso  <[email protected]>
 
         [iOS] delay `+[BKSMousePointerService sharedInstance]` so that it doesn't impact launch perf

Modified: trunk/Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm (272326 => 272327)


--- trunk/Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm	2021-02-03 18:34:36 UTC (rev 272326)
+++ trunk/Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm	2021-02-03 18:35:10 UTC (rev 272327)
@@ -64,6 +64,7 @@
 #import <WebKitAdditions/NetworkSessionCocoaAdditions.h>
 #else
 #define NETWORK_SESSION_COCOA_ADDITIONS_1
+#define NETWORK_SESSION_COCOA_HTTP_REDIRECT_ADDITIONS
 #endif
 
 #import "DeviceManagementSoftLink.h"
@@ -529,6 +530,7 @@
 
 - (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task willPerformHTTPRedirection:(NSHTTPURLResponse *)response newRequest:(NSURLRequest *)request completionHandler:(void (^)(NSURLRequest *))completionHandler
 {
+    NETWORK_SESSION_COCOA_HTTP_REDIRECT_ADDITIONS
     auto taskIdentifier = task.taskIdentifier;
     LOG(NetworkSession, "%llu willPerformHTTPRedirection from %s to %s", taskIdentifier, response.URL.absoluteString.UTF8String, request.URL.absoluteString.UTF8String);
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to