Changeset 202438 in webkit
- Timestamp:
- Jun 24, 2016 12:26:50 PM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r202436 r202438 1 2016-06-24 Amir Alavi <aalavi@apple.com> 2 3 Use _CFHTTPCookieStorageGetDefault directly instead of NSHTTPCookieStorage to get default cookie storage 4 https://bugs.webkit.org/show_bug.cgi?id=159095 5 rdar://problem/26630073 6 7 Reviewed by Brent Fulgham. 8 9 No new tests, it isn't possible to test this in a LayoutTest. 10 11 * platform/network/mac/CookieJarMac.mm: 12 (WebCore::httpCookiesForURL): Get a CFHTTPCookieStorageRef when no cookie storage is provided to match the case when cookie storage is provided. 13 1 14 2016-06-24 Enrica Casucci <enrica@apple.com> 2 15 -
trunk/Source/WebCore/platform/network/mac/CookieJarMac.mm
r202279 r202438 48 48 static NSArray *httpCookiesForURL(CFHTTPCookieStorageRef cookieStorage, NSURL *firstParty, NSURL *url) 49 49 { 50 if (!cookieStorage) { 51 // FIXME: The fallback to NSHTTPCookieStorage should not be present when USE(CFNETWORK) is defined. 52 return [[NSHTTPCookieStorage sharedHTTPCookieStorage] cookiesForURL:url]; 53 } 50 if (!cookieStorage) 51 cookieStorage = _CFHTTPCookieStorageGetDefault(kCFAllocatorDefault); 54 52 55 53 bool secure = ![[url scheme] caseInsensitiveCompare:@"https"];
Note: See TracChangeset
for help on using the changeset viewer.