Title: [238153] branches/safari-606.3.4.1-branch/Source

Diff

Modified: branches/safari-606.3.4.1-branch/Source/WebCore/PAL/ChangeLog (238152 => 238153)


--- branches/safari-606.3.4.1-branch/Source/WebCore/PAL/ChangeLog	2018-11-13 23:28:06 UTC (rev 238152)
+++ branches/safari-606.3.4.1-branch/Source/WebCore/PAL/ChangeLog	2018-11-13 23:30:00 UTC (rev 238153)
@@ -1,3 +1,7 @@
+2018-11-13  Alan Coon  <[email protected]>
+
+        Revert r237971. rdar://problem/46043804
+
 2018-11-07  Alan Coon  <[email protected]>
 
         Apply patch. rdar://problem/45837753

Modified: branches/safari-606.3.4.1-branch/Source/WebCore/PAL/pal/spi/cf/CFNetworkSPI.h (238152 => 238153)


--- branches/safari-606.3.4.1-branch/Source/WebCore/PAL/pal/spi/cf/CFNetworkSPI.h	2018-11-13 23:28:06 UTC (rev 238152)
+++ branches/safari-606.3.4.1-branch/Source/WebCore/PAL/pal/spi/cf/CFNetworkSPI.h	2018-11-13 23:30:00 UTC (rev 238153)
@@ -182,12 +182,6 @@
 
 #endif // !PLATFORM(WIN) && !USE(APPLE_INTERNAL_SDK)
 
-#if defined(__OBJC__)
-@interface NSHTTPCookieStorage ()
-@property (nonatomic, readwrite) BOOL _overrideSessionCookieAcceptPolicy;
-@end
-#endif
-
 WTF_EXTERN_C_BEGIN
 
 #if !PLATFORM(WIN)

Modified: branches/safari-606.3.4.1-branch/Source/WebKit/ChangeLog (238152 => 238153)


--- branches/safari-606.3.4.1-branch/Source/WebKit/ChangeLog	2018-11-13 23:28:06 UTC (rev 238152)
+++ branches/safari-606.3.4.1-branch/Source/WebKit/ChangeLog	2018-11-13 23:30:00 UTC (rev 238153)
@@ -1,3 +1,7 @@
+2018-11-13  Alan Coon  <[email protected]>
+
+        Revert r237971. rdar://problem/46043804
+
 2018-11-07  Alan Coon  <[email protected]>
 
         Apply patch. rdar://problem/45837753

Modified: branches/safari-606.3.4.1-branch/Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm (238152 => 238153)


--- branches/safari-606.3.4.1-branch/Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm	2018-11-13 23:28:06 UTC (rev 238152)
+++ branches/safari-606.3.4.1-branch/Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm	2018-11-13 23:30:00 UTC (rev 238153)
@@ -44,7 +44,6 @@
 #import <WebCore/ResourceError.h>
 #import <WebCore/ResourceRequest.h>
 #import <WebCore/ResourceResponse.h>
-#import <WebCore/RuntimeApplicationChecks.h>
 #import <WebCore/SharedBuffer.h>
 #import <WebCore/URL.h>
 #import <WebCore/WebCoreURLResponse.h>
@@ -714,24 +713,9 @@
 
     auto* storageSession = WebCore::NetworkStorageSession::storageSession(parameters.sessionID);
     RELEASE_ASSERT(storageSession);
-
-#if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MAX_ALLOWED >= 101300) || PLATFORM(IOS)
     if (CFHTTPCookieStorageRef storage = storageSession->cookieStorage().get())
         configuration.HTTPCookieStorage = [[[NSHTTPCookieStorage alloc] _initWithCFHTTPCookieStorage:storage] autorelease];
-#else
-    NSHTTPCookieStorage* cookieStorage;
-    if (CFHTTPCookieStorageRef storage = storageSession->cookieStorage().get()) {
-        cookieStorage = [[[NSHTTPCookieStorage alloc] _initWithCFHTTPCookieStorage:storage] autorelease];
-        configuration.HTTPCookieStorage = cookieStorage;
-    } else
-        cookieStorage = storageSession->nsCookieStorage();
 
-    ASSERT(cookieStorage);
-
-    if (WebCore::MacApplication::isSafari() && [cookieStorage respondsToSelector:@selector(_overrideSessionCookieAcceptPolicy)])
-        cookieStorage._overrideSessionCookieAcceptPolicy = YES;
-#endif // (PLATFORM(MAC) && __MAC_OS_X_VERSION_MAX_ALLOWED >= 101300) || PLATFORM(IOS)
-
     m_sessionWithCredentialStorageDelegate = adoptNS([[WKNetworkSessionDelegate alloc] initWithNetworkSession:*this withCredentials:true]);
     m_sessionWithCredentialStorage = [NSURLSession sessionWithConfiguration:configuration delegate:static_cast<id>(m_sessionWithCredentialStorageDelegate.get()) delegateQueue:[NSOperationQueue mainQueue]];
     LOG(NetworkSession, "Created NetworkSession with cookieAcceptPolicy %lu", configuration.HTTPCookieStorage.cookieAcceptPolicy);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to