Changeset 24872 in webkit
- Timestamp:
- Aug 4, 2007 9:21:52 PM (17 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r24871 r24872 1 2007-08-04 Adam Roben <aroben@apple.com> 2 3 Another workaround for <rdar://problem/5386894> 4 5 Reviewed by Sam. 6 7 This fixed ~150 failing tests. 8 9 * platform/network/cf/ResourceResponseCFNet.cpp: 10 (WebCore::ResourceResponse::doUpdateResourceResponse): Hardcode the 11 MIME type for .svg files as well. 12 1 13 2007-08-04 Adam Roben <aroben@apple.com> 2 14 -
trunk/WebCore/platform/network/cf/ResourceResponseCFNet.cpp
r24871 r24872 125 125 static const String xhtmlExt(".xhtml"); 126 126 static const String xmlExt(".xml"); 127 static const String svgExt(".svg"); 127 128 if (path.endsWith(xhtmlExt, false)) 128 129 m_mimeType = "application/xhtml+xml"; 129 130 else if (path.endsWith(xmlExt, false)) 130 131 m_mimeType = "text/xml"; 132 else if (path.endsWith(svgExt, false)) 133 m_mimeType = "image/svg+xml"; 131 134 } 132 135 }
Note: See TracChangeset
for help on using the changeset viewer.