Bug 310139: Editing mime-type handlers fails with a missing handler, patch by Phil Ringnalda <bugzilla@philringnalda.com>, r=mscott
git-svn-id: svn://10.0.0.236/trunk@181105 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -298,6 +298,8 @@ var gDownloadActionsWindow = {
|
||||
catch (e) {
|
||||
customHandler = null;
|
||||
}
|
||||
if (customHandler && !customHandler.exists())
|
||||
customHandler = null;
|
||||
var mimeType = this._getLiteralValue(type, "value");
|
||||
var typeInfo = this._mimeSvc.getFromTypeAndExtension(mimeType, null);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user