Changeset 27223 in webkit
- Timestamp:
- Oct 29, 2007 3:31:09 AM (17 years ago)
- Location:
- trunk
- Files:
-
- 5 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r27217 r27223 1 2007-10-29 David Kilzer <ddkilzer@webkit.org> 2 3 Test for: REGRESSION (r17701): Favicons should be viewable as image documents 4 <http://bugs.webkit.org/show_bug.cgi?id=15640> 5 6 Reviewed by Darin. 7 8 * fast/images/favicon-as-image.html: Added. 9 * fast/images/resources/favicon.ico: Added. 10 * platform/mac/fast/images/favicon-as-image-expected.checksum: Added. 11 * platform/mac/fast/images/favicon-as-image-expected.png: Added. 12 * platform/mac/fast/images/favicon-as-image-expected.txt: Added. 13 1 14 2007-10-28 Alexey Proskuryakov <ap@webkit.org> 2 15 -
trunk/WebCore/ChangeLog
r27221 r27223 1 2007-10-29 David Kilzer <ddkilzer@webkit.org> 2 3 REGRESSION (r17701): Favicons should be viewable as image documents 4 <http://bugs.webkit.org/show_bug.cgi?id=15640> 5 6 Reviewed by Darin. 7 8 On Tiger and Leopard, the image/x-icon MIME type is not returned from 9 CGImageSourceCopyTypeIdentifiers(), so opening a URL to a favicon caused 10 the icon to be downloaded instead being displayed in an image document. 11 12 Test: fast/images/favicon-as-image.html 13 14 * platform/MIMETypeRegistry.cpp: 15 (WebCore::initialiseSupportedImageMIMETypes): Manually add image/x-icon to 16 supportedImageMIMETypes and supportedImageResourceMIMETypes. Also fixed 17 comment about the image/bmp MIME type since it applies to both Tiger and 18 Leopard. 19 1 20 2007-10-29 Maciej Stachowiak <mjs@apple.com> 2 21 -
trunk/WebCore/platform/MIMETypeRegistry.cpp
r25157 r27223 65 65 } 66 66 CFRelease(supportedTypes); 67 68 // On Tiger , com.microsoft.bmp doesn't have a MIME type in the registry.67 68 // On Tiger and Leopard, com.microsoft.bmp doesn't have a MIME type in the registry. 69 69 supportedImageMIMETypes->add("image/bmp"); 70 70 supportedImageResourceMIMETypes->add("image/bmp"); 71 71 72 // Favicons don't have a MIME type in the registry either. 73 supportedImageMIMETypes->add("image/x-icon"); 74 supportedImageResourceMIMETypes->add("image/x-icon"); 75 72 76 // We only get one MIME type per UTI, hence our need to add these manually 73 77 supportedImageMIMETypes->add("image/pjpeg");
Note: See TracChangeset
for help on using the changeset viewer.