allow plain text file to be handled by HTML document

This commit is contained in:
rickg%netscape.com 1999-02-16 07:37:53 +00:00
Родитель e2e2dfc7e9
Коммит 7ba3b9726d
2 изменённых файлов: 2 добавлений и 4 удалений

Просмотреть файл

@ -221,7 +221,7 @@ nsDocFactoryImpl::nsDocFactoryImpl()
*/
NS_IMPL_ISUPPORTS(nsDocFactoryImpl,kIDocumentLoaderFactoryIID);
static char* gValidTypes[] = {"text/html","application/rtf",0};
static char* gValidTypes[] = {"text/html","application/rtf","text/plain",0};
static char* gXMLTypes[] = {"text/xml", "application/xml", 0};
static char* gRDFTypes[] = {"text/rdf", "text/xul", 0};
@ -243,7 +243,6 @@ static char* gPluginTypes[] = {
"audio/x-aiff",
"audio/basic",
"application/x-shockwave-flash",
"text/plain",
0
};

Просмотреть файл

@ -221,7 +221,7 @@ nsDocFactoryImpl::nsDocFactoryImpl()
*/
NS_IMPL_ISUPPORTS(nsDocFactoryImpl,kIDocumentLoaderFactoryIID);
static char* gValidTypes[] = {"text/html","application/rtf",0};
static char* gValidTypes[] = {"text/html","application/rtf","text/plain",0};
static char* gXMLTypes[] = {"text/xml", "application/xml", 0};
static char* gRDFTypes[] = {"text/rdf", "text/xul", 0};
@ -243,7 +243,6 @@ static char* gPluginTypes[] = {
"audio/x-aiff",
"audio/basic",
"application/x-shockwave-flash",
"text/plain",
0
};