bug 223990. Should have a getPrimaryExtensionForType function
r=bzbarsky sr=darin also changes nsIMIMEService functions to start with a lowercase letter (only affects JS Callers) git-svn-id: svn://10.0.0.236/trunk@205750 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
2354d79dc9
commit
5ba1ab4344
@ -737,7 +737,7 @@ function getMIMEService()
|
||||
function getMIMETypeForURI(aURI)
|
||||
{
|
||||
try {
|
||||
return getMIMEService().GetTypeFromURI(aURI);
|
||||
return getMIMEService().getTypeFromURI(aURI);
|
||||
}
|
||||
catch (e) {
|
||||
}
|
||||
@ -747,7 +747,7 @@ function getMIMETypeForURI(aURI)
|
||||
function getMIMEInfoForType(aMIMEType)
|
||||
{
|
||||
try {
|
||||
return getMIMEService().GetFromTypeAndExtension(aMIMEType, null);
|
||||
return getMIMEService().getFromTypeAndExtension(aMIMEType, null);
|
||||
}
|
||||
catch (e) {
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user