diff --git a/browser/components/preferences/applicationManager.js b/browser/components/preferences/applicationManager.js index 9f13b56e116..fff7b9fe5f0 100644 --- a/browser/components/preferences/applicationManager.js +++ b/browser/components/preferences/applicationManager.js @@ -64,6 +64,9 @@ var gAppManagerDialog = { var apps = this.handlerInfo.possibleApplicationHandlers.enumerate(); while (apps.hasMoreElements()) { let app = apps.getNext(); + if (!gApplicationsPane.isValidHandlerApp(app)) + continue; + app.QueryInterface(Ci.nsIHandlerApp); var item = list.appendItem(app.name); item.setAttribute("image", gApplicationsPane._getIconURLForHandlerApp(app));