mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1137897 - Do not throw exception from nsPluginTag::GetMimeTypes if a plug-in has no MIME-Types. r=bz
This commit is contained in:
parent
365c7b30c0
commit
237af26045
@ -116,7 +116,9 @@ CStringArrayToXPCArray(nsTArray<nsCString> & aArray,
|
||||
{
|
||||
uint32_t count = aArray.Length();
|
||||
if (!count) {
|
||||
return NS_ERROR_NOT_AVAILABLE;
|
||||
*aResults = nullptr;
|
||||
*aCount = 0;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
*aResults =
|
||||
|
Loading…
Reference in New Issue
Block a user