Bug 20652: WebKit doesn't display favicons with MIME type image/vnd.microsoft...
authorddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 18 May 2009 18:59:23 +0000 (18:59 +0000)
committerddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 18 May 2009 18:59:23 +0000 (18:59 +0000)
commitdd889725bb79bf7557d8d47d5f8d29e96d16c163
treec65e58ad2af74e7a5bcba1041fb90b5ba555ab48
parentf667a2c19d4ff42fa8a1ee159c961d7c9d982807
    Bug 20652: WebKit doesn't display favicons with MIME type image/vnd.microsoft.icon

        <https://bugs.webkit.org/show_bug.cgi?id=20652>

        Reviewed by Darin Adler.

WebCore:

        Test: http/tests/misc/favicon-as-image.html

        * inspector/front-end/inspector.js: Added
        image/vnd.microsoft.icon to WebInspector.MIMETypes.
        * platform/MIMETypeRegistry.cpp:
        (WebCore::initializeSupportedImageMIMETypes): Added
        image/vnd.microsoft.icon to list of supported image and image
        resource MIME types.

LayoutTests:

        Updated existing favicon-as-image.html test to display a third
        image having MIME type image/vnd.microsoft.icon.

        * http/tests/misc/favicon-as-image.html: Updated.
        * http/tests/misc/resources/.htaccess: Added.
        * http/tests/misc/resources/favicon-vnd-ms.ico: Copied from LayoutTests/fast/images/resources/favicon.ico.
        * platform/mac/http/tests/misc/favicon-as-image-expected.checksum: Updated.
        * platform/mac/http/tests/misc/favicon-as-image-expected.png: Updated.
        * platform/mac/http/tests/misc/favicon-as-image-expected.txt: Updated.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@43834 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/tests/misc/favicon-as-image.html
LayoutTests/http/tests/misc/resources/.htaccess [new file with mode: 0644]
LayoutTests/http/tests/misc/resources/favicon-vnd-ms.ico [new file with mode: 0644]
LayoutTests/platform/mac/http/tests/misc/favicon-as-image-expected.checksum
LayoutTests/platform/mac/http/tests/misc/favicon-as-image-expected.png
LayoutTests/platform/mac/http/tests/misc/favicon-as-image-expected.txt
WebCore/ChangeLog
WebCore/inspector/front-end/inspector.js
WebCore/platform/MIMETypeRegistry.cpp