diff --git a/uriloader/base/nsDocLoader.cpp b/uriloader/base/nsDocLoader.cpp index 25327e7327b6..015da9cb5e52 100644 --- a/uriloader/base/nsDocLoader.cpp +++ b/uriloader/base/nsDocLoader.cpp @@ -207,7 +207,7 @@ NS_IMPL_ISUPPORTS(nsDocFactoryImpl,kIDocumentLoaderFactoryIID); static char* gValidTypes[] = {"text/html","application/rtf",0}; static char* gXMLTypes[] = {"text/xml", "application/xml", 0}; -static char* gImageTypes[] = {"image/gif", "image/jpeg", 0 }; +static char* gImageTypes[] = {"image/gif", "image/jpeg", "image/png", 0 }; static char* gPluginTypes[] = { "video/quicktime", diff --git a/webshell/src/nsDocLoader.cpp b/webshell/src/nsDocLoader.cpp index 25327e7327b6..015da9cb5e52 100644 --- a/webshell/src/nsDocLoader.cpp +++ b/webshell/src/nsDocLoader.cpp @@ -207,7 +207,7 @@ NS_IMPL_ISUPPORTS(nsDocFactoryImpl,kIDocumentLoaderFactoryIID); static char* gValidTypes[] = {"text/html","application/rtf",0}; static char* gXMLTypes[] = {"text/xml", "application/xml", 0}; -static char* gImageTypes[] = {"image/gif", "image/jpeg", 0 }; +static char* gImageTypes[] = {"image/gif", "image/jpeg", "image/png", 0 }; static char* gPluginTypes[] = { "video/quicktime",