зеркало из https://github.com/mozilla/gecko-dev.git
Bug 389334 - Helper app no longer prefilled. r=mano
This commit is contained in:
Родитель
432463c21c
Коммит
87ddf292a8
|
@ -677,7 +677,13 @@ nsUnknownContentTypeDialog.prototype = {
|
|||
}
|
||||
|
||||
// Fill in helper app info, if there is any.
|
||||
this.chosenApp = this.mLauncher.MIMEInfo.preferredApplicationHandler;
|
||||
try {
|
||||
this.chosenApp =
|
||||
this.mLauncher.MIMEInfo.preferredApplicationHandler
|
||||
.QueryInterface(Components.interfaces.nsILocalHandlerApp);
|
||||
} catch (e) {
|
||||
this.chosenApp = null;
|
||||
}
|
||||
// Initialize "default application" field.
|
||||
this.initDefaultApp();
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче