mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 02:35:41 +00:00
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:
parent
2a4ef4a867
commit
813778ac1a
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user