bug 134673 patch by bzbarsky r=biesi sr=alecf a=asa

Find in page disabled for application/x-javascript (and others)
This commit is contained in:
cbiesinger%web.de 2002-04-06 10:08:43 +00:00
Родитель 0e2f95e7d5
Коммит 2b70baf55c
1 изменённых файлов: 4 добавлений и 1 удалений

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

@ -172,7 +172,10 @@ nsBrowserStatusHandler.prototype =
mimeTypeIsTextBased : function(contentType)
{
return /^text\/|\+xml$/.test(contentType);
return /^text\/|\+xml$/.test(contentType) ||
contentType == "application/x-javascript" ||
contentType == "application/xml" ||
contentType == "mozilla.application/cached-xul";
},
onLinkIconAvailable : function(aHref) {