Changeset 173360 in webkit
- Timestamp:
- Sep 6, 2014, 10:58:46 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r173358 r173360 1 2014-09-06 Antti Koivisto <antti@apple.com> 2 3 Serialize ResourceResponses using WebKit types 4 https://bugs.webkit.org/show_bug.cgi?id=136545 5 6 Fix the failing webarchive tests. 7 8 * platform/network/mac/ResourceResponseMac.mm: 9 (WebCore::ResourceResponse::initNSURLResponse): Map empty text encoding name to nil NSString. 10 1 11 2014-09-06 peavo@outlook.com <peavo@outlook.com> 2 12 -
trunk/Source/WebCore/platform/network/mac/ResourceResponseMac.mm
r173356 r173360 56 56 expectedContentLength = static_cast<NSInteger>(m_expectedContentLength); 57 57 58 m_nsResponse = adoptNS([[NSURLResponse alloc] initWithURL:m_url MIMEType:m_mimeType expectedContentLength:expectedContentLength textEncodingName:m_textEncodingName]); 58 NSString* encodingNSString = nsStringNilIfEmpty(m_textEncodingName); 59 m_nsResponse = adoptNS([[NSURLResponse alloc] initWithURL:m_url MIMEType:m_mimeType expectedContentLength:expectedContentLength textEncodingName:encodingNSString]); 59 60 return; 60 61 }
Note:
See TracChangeset
for help on using the changeset viewer.