Title: [240184] trunk/Source/WebCore/PAL
Revision
240184
Author
ddkil...@apple.com
Date
2019-01-18 15:44:31 -0800 (Fri, 18 Jan 2019)

Log Message

Follow-up: Override the session configuration for cookieAcceptPolicy
<https://bugs.webkit.org/show_bug.cgi?id=190925>
<rdar://problem/45497382>

Discussed with John Wilander.

* pal/spi/cf/CFNetworkSPI.h: Declare new SPI for the internal
macOS 10.12 Sierra SDK since it will never appear in those
headers.  This fixes the build for trunk WebKit on Sierra.

Modified Paths

Diff

Modified: trunk/Source/WebCore/PAL/ChangeLog (240183 => 240184)


--- trunk/Source/WebCore/PAL/ChangeLog	2019-01-18 23:34:06 UTC (rev 240183)
+++ trunk/Source/WebCore/PAL/ChangeLog	2019-01-18 23:44:31 UTC (rev 240184)
@@ -1,3 +1,15 @@
+2019-01-18  David Kilzer  <ddkil...@apple.com>
+
+        Follow-up: Override the session configuration for cookieAcceptPolicy
+        <https://bugs.webkit.org/show_bug.cgi?id=190925>
+        <rdar://problem/45497382>
+
+        Discussed with John Wilander.
+
+        * pal/spi/cf/CFNetworkSPI.h: Declare new SPI for the internal
+        macOS 10.12 Sierra SDK since it will never appear in those
+        headers.  This fixes the build for trunk WebKit on Sierra.
+
 2019-01-18  Tim Horton  <timothy_hor...@apple.com>
 
         Get rid of ADVANCED_SPELL_CHECKING

Modified: trunk/Source/WebCore/PAL/pal/spi/cf/CFNetworkSPI.h (240183 => 240184)


--- trunk/Source/WebCore/PAL/pal/spi/cf/CFNetworkSPI.h	2019-01-18 23:34:06 UTC (rev 240183)
+++ trunk/Source/WebCore/PAL/pal/spi/cf/CFNetworkSPI.h	2019-01-18 23:44:31 UTC (rev 240184)
@@ -62,6 +62,15 @@
 #import <CFNetwork/CFNSURLConnection.h>
 #endif
 
+// This only needs to be declared on macOS 10.12 Sierra because
+// it will never appear in those SDK headers.  See also
+// HAVE(CFNETWORK_OVERRIDE_SESSION_COOKIE_ACCEPT_POLICY).
+#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED == 101200
+@interface NSHTTPCookieStorage ()
+@property (nonatomic, readwrite) BOOL _overrideSessionCookieAcceptPolicy;
+@end
+#endif
+
 #else // !PLATFORM(WIN) && !USE(APPLE_INTERNAL_SDK)
 
 typedef CF_ENUM(int64_t, _TimingDataOptions)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to