From 06a746ce7ad6de1289894513ac32ac66a86174eb Mon Sep 17 00:00:00 2001 From: Brian Crowder Date: Fri, 27 Aug 2010 14:20:47 -0700 Subject: [PATCH] Bug 416743 - kill bogus assertion about aFileExt with leading ".", r=bz, a=NPOTB --- uriloader/exthandler/unix/nsGNOMERegistry.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/uriloader/exthandler/unix/nsGNOMERegistry.cpp b/uriloader/exthandler/unix/nsGNOMERegistry.cpp index 560b6347e2bf..de4a7b37d0bd 100644 --- a/uriloader/exthandler/unix/nsGNOMERegistry.cpp +++ b/uriloader/exthandler/unix/nsGNOMERegistry.cpp @@ -126,7 +126,6 @@ nsGNOMERegistry::GetAppDescForScheme(const nsACString& aScheme, /* static */ already_AddRefed nsGNOMERegistry::GetFromExtension(const nsACString& aFileExt) { - NS_ASSERTION(aFileExt[0] != '.', "aFileExt shouldn't start with a dot"); nsCAutoString mimeType; nsCOMPtr gnomevfs = do_GetService(NS_GNOMEVFSSERVICE_CONTRACTID); nsCOMPtr giovfs = do_GetService(NS_GIOSERVICE_CONTRACTID);