зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
0e2f95e7d5
Коммит
2b70baf55c
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче