mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 08:12:05 +00:00
Bug #44082 --> fail if we couldn't find mimeTypes.rdf during the data source init phase.
patch from jst r=mscott
This commit is contained in:
parent
9e23a37623
commit
2f46a371e9
@ -81,6 +81,8 @@ nsresult nsExternalHelperAppService::Init()
|
||||
nsCOMPtr<nsIFileSpec> mimeTypesFile;
|
||||
rv = locator->GetFileLocation(nsSpecialFileSpec::App_UsersMimeTypes50,
|
||||
getter_AddRefs(mimeTypesFile));
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
nsXPIDLCString url;
|
||||
rv = mimeTypesFile->GetURLString(getter_Copies(url));
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
Loading…
Reference in New Issue
Block a user