Bug 303581 - Ensure image/svg+xml mime type is always handled internally. r=jst

This commit is contained in:
Robert Longson 2013-08-24 09:36:03 +01:00
parent 619cc7ccf1
commit 127b9187fd

View File

@ -397,6 +397,7 @@ static nsDefaultMimeTypeEntry defaultMimeEntries [] =
{ TEXT_CSS, "css" },
{ IMAGE_JPEG, "jpeg" },
{ IMAGE_JPEG, "jpg" },
{ IMAGE_SVG_XML, "svg" },
{ TEXT_HTML, "html" },
{ TEXT_HTML, "htm" },
{ APPLICATION_XPINSTALL, "xpi" },
@ -480,7 +481,7 @@ static nsExtraMimeTypeEntry extraMimeEntries [] =
{ IMAGE_PNG, "png", "PNG Image" },
{ IMAGE_TIFF, "tiff,tif", "TIFF Image" },
{ IMAGE_XBM, "xbm", "XBM Image" },
{ "image/svg+xml", "svg", "Scalable Vector Graphics" },
{ IMAGE_SVG_XML, "svg", "Scalable Vector Graphics" },
{ MESSAGE_RFC822, "eml", "RFC-822 data" },
{ TEXT_PLAIN, "txt,text", "Text File" },
{ TEXT_HTML, "html,htm,shtml,ehtml", "HyperText Markup Language" },