mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Bug 633232 nsIMIMEService.getTypeFromURI(null) crashes [@ nsExternalHelperAppService::GetTypeFromURI(nsIURI*, nsACString_internal&) ]
r=biesi --HG-- extra : rebase_source : a84063964425ac512a1daafcaaa4619b0200eaa6
This commit is contained in:
parent
3f59f46227
commit
69fb112743
@ -2800,6 +2800,7 @@ NS_IMETHODIMP nsExternalHelperAppService::GetPrimaryExtension(const nsACString&
|
||||
|
||||
NS_IMETHODIMP nsExternalHelperAppService::GetTypeFromURI(nsIURI *aURI, nsACString& aContentType)
|
||||
{
|
||||
NS_ENSURE_ARG_POINTER(aURI);
|
||||
nsresult rv = NS_ERROR_NOT_AVAILABLE;
|
||||
aContentType.Truncate();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user