Title: [230924] trunk/Source/WebCore
- Revision
- 230924
- Author
- [email protected]
- Date
- 2018-04-23 14:17:04 -0700 (Mon, 23 Apr 2018)
Log Message
Attempt to fix the Mac and iOS build after r230921
(https://bugs.webkit.org/show_bug.cgi?id=159464)
Pass strings for the dictionary key names instead of using an extern constant as the
latter may not be available on all systems.
* platform/network/mac/CookieJarMac.mm:
(WebCore::setHTTPCookiesForURL):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (230923 => 230924)
--- trunk/Source/WebCore/ChangeLog 2018-04-23 21:10:41 UTC (rev 230923)
+++ trunk/Source/WebCore/ChangeLog 2018-04-23 21:17:04 UTC (rev 230924)
@@ -1,5 +1,16 @@
2018-04-23 Daniel Bates <[email protected]>
+ Attempt to fix the Mac and iOS build after r230921
+ (https://bugs.webkit.org/show_bug.cgi?id=159464)
+
+ Pass strings for the dictionary key names instead of using an extern constant as the
+ latter may not be available on all systems.
+
+ * platform/network/mac/CookieJarMac.mm:
+ (WebCore::setHTTPCookiesForURL):
+
+2018-04-23 Daniel Bates <[email protected]>
+
Attempt to fix the build after r230921
(https://bugs.webkit.org/show_bug.cgi?id=159464)
Modified: trunk/Source/WebCore/platform/network/mac/CookieJarMac.mm (230923 => 230924)
--- trunk/Source/WebCore/platform/network/mac/CookieJarMac.mm 2018-04-23 21:10:41 UTC (rev 230923)
+++ trunk/Source/WebCore/platform/network/mac/CookieJarMac.mm 2018-04-23 21:17:04 UTC (rev 230924)
@@ -98,8 +98,8 @@
// somewhere it can be shared.
static NSURL *emptyURL = [[NSURL alloc] initWithString:@""];
NSDictionary *policyProperties = @{
- (NSString *)_kCFHTTPCookiePolicyPropertySiteForCookies: sameSiteInfo.isSameSite ? url : emptyURL,
- (NSString *)_kCFHTTPCookiePolicyPropertyIsTopLevelNavigation: [NSNumber numberWithBool:sameSiteInfo.isTopSite],
+ @"_kCFHTTPCookiePolicyPropertySiteForCookies": sameSiteInfo.isSameSite ? url : emptyURL,
+ @"_kCFHTTPCookiePolicyPropertyIsTopLevelNavigation": [NSNumber numberWithBool:sameSiteInfo.isTopSite],
};
if (!cookieStorage) {
if ([NSHTTPCookieStorage instancesRespondToSelector:@selector(_setCookies:forURL:mainDocumentURL:policyProperties:)])
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes