Changeset 175175 in webkit
- Timestamp:
- Oct 24, 2014 1:23:31 PM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r175174 r175175 1 2014-10-24 Alexey Proskuryakov <ap@apple.com> 2 3 REGRESSION(r174877): WebProcess sends an empty Cookies HTTP header 4 https://bugs.webkit.org/show_bug.cgi?id=138053 5 6 Reviewed by Chris Dumez. 7 8 Fixes existing tests. 9 10 * platform/network/mac/CookieJarMac.mm: (WebCore::cookiesForSession): Restore the 11 behavior of returning a null string when there are no cookies. 12 1 13 2014-10-24 Chris Dumez <cdumez@apple.com> 2 14 -
trunk/Source/WebCore/platform/network/mac/CookieJarMac.mm
r174877 r175175 77 77 78 78 NSArray *cookies = wkHTTPCookiesForURL(session.cookieStorage().get(), firstParty, url); 79 if (![cookies count]) 80 return String(); // Return a null string, not an empty one that StringBuilder would create below. 81 79 82 StringBuilder cookiesBuilder; 80 83 for (NSHTTPCookie *cookie in cookies) {
Note: See TracChangeset
for help on using the changeset viewer.