Bugzilla – Bug 202
Add support for sniffing .ico files
Last modified: 2008-05-31 16:18:13 CEST
Index: source =================================================================== --- source (revision 1675) +++ source (revision 1676) @@ -31280,6 +31280,11 @@ <td>42 4D <td>image/bmp <td>The string "<code title="">BM</code>", a BMP signature. + <tr> + <td>FF FF FF FF + <td>00 00 01 00 + <td>image/vnd.microsoft.icon + <td>A 0 word following by a 1 word, a Windows Icon file format signature. </table> <p>User agents may support further types if desired, by implicitly @@ -31327,6 +31332,11 @@ <td>42 4D <td>image/bmp <td>The string "<code title="">BM</code>", a BMP signature. + <tr> + <td>00 00 01 00 + <td>image/vnd.microsoft.icon + <td>A 0 word following by a 1 word, a Windows Icon file format signature. + <!-- XXX Mozilla also detects ART (AOL proprietary format) and Windows Cursor files --> </table> <p>User agents must ignore any rows for image types that they do not