This indeed is the issue. Initial "patch" . Will post the final patch in a while ( rebuilding is a sloow process ).
--- a/uriloader/exthandler/unix/nsGNOMERegistry.cpp 2014-02-24 23:38:31.303287298 +0530 +++ b/uriloader/exthandler/unix/nsGNOMERegistry.cpp 2014-02-25 00:04:12.643350922 +0530 @@ -148,7 +148,12 @@ nsGNOMERegistry::GetFromType(const nsACS nsCOMPtr<nsIGIOMimeApp> gioHandlerApp; if (NS_FAILED(giovfs->GetAppForMimeType(aMIMEType, getter_AddRefs(gioHandlerApp))) || !gioHandlerApp) { - return nullptr; + // Unable to find mime handler, probably a protocol. moz bz#947868 + // Need a better way to identify if this is a scheme - check for nsMIMEInfoBase::eProtocolInfo ? + if (NS_FAILED(giovfs->GetAppForURIScheme(aMIMEType, getter_AddRefs(gioHandlerApp))) || + !gioHandlerApp) { + return nullptr; + } } gioHandlerApp->GetName(name); giovfs->GetDescriptionForMimeType(aMIMEType, description);
This indeed is the issue. Initial "patch" . Will post the final patch in a while ( rebuilding is a sloow process ).
--- a/uriloader/ exthandler/ unix/nsGNOMEReg istry.cpp 2014-02-24 23:38:31.303287298 +0530 exthandler/ unix/nsGNOMEReg istry.cpp 2014-02-25 00:04:12.643350922 +0530 ::GetFromType( const nsACS nsIGIOMimeApp> gioHandlerApp; giovfs- >GetAppForMimeT ype(aMIMEType, getter_ AddRefs( gioHandlerApp) )) ||
!gioHandlerAp p) { :eProtocolInfo ? giovfs- >GetAppForURISc heme(aMIMEType, getter_ AddRefs( gioHandlerApp) )) || App->GetName( name); >GetDescription ForMimeType( aMIMEType, description);
+++ b/uriloader/
@@ -148,7 +148,12 @@ nsGNOMERegistry
nsCOMPtr<
if (NS_FAILED(
- return nullptr;
+ // Unable to find mime handler, probably a protocol. moz bz#947868
+ // Need a better way to identify if this is a scheme - check for nsMIMEInfoBase:
+ if (NS_FAILED(
+ !gioHandlerApp) {
+ return nullptr;
+ }
}
gioHandler
giovfs-