239394 nsIMIMEInfo should use interCaps for methods and attributes
r=bzbarsky sr=darin git-svn-id: svn://10.0.0.236/trunk@205790 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
f6cb15447d
commit
90941d26c7
@ -641,7 +641,7 @@ function appendFiltersForContentType(aFilePicker, aContentType, aFileExtension,
|
||||
}
|
||||
|
||||
if (extString) {
|
||||
aFilePicker.appendFilter(mimeInfo.Description, extString);
|
||||
aFilePicker.appendFilter(mimeInfo.description, extString);
|
||||
}
|
||||
}
|
||||
|
||||
@ -845,7 +845,7 @@ function getDefaultExtension(aFilename, aURI, aContentType)
|
||||
|
||||
var mimeInfo = getMIMEInfoForType(aContentType, ext);
|
||||
|
||||
if (ext && mimeInfo && mimeInfo.ExtensionExists(ext)) {
|
||||
if (ext && mimeInfo && mimeInfo.extensionExists(ext)) {
|
||||
return ext;
|
||||
}
|
||||
|
||||
@ -857,7 +857,7 @@ function getDefaultExtension(aFilename, aURI, aContentType)
|
||||
} catch (e) {
|
||||
}
|
||||
|
||||
if (urlext && mimeInfo && mimeInfo.ExtensionExists(urlext)) {
|
||||
if (urlext && mimeInfo && mimeInfo.extensionExists(urlext)) {
|
||||
return urlext;
|
||||
}
|
||||
else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user