From 8f4c5326d78f1fa6699607ee7c5fd227ae8f08f4 Mon Sep 17 00:00:00 2001 From: "florian%queze.net" Date: Thu, 14 Feb 2008 17:51:17 +0000 Subject: [PATCH] Bug 416899 - invalid handlers listed in the Application Details dialog. r=Mano, a1.9=beltzner --- browser/components/preferences/applicationManager.js | 3 +++ 1 file changed, 3 insertions(+) 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));