mirror of
https://github.com/roytam1/basilisk55.git
synced 2026-05-26 15:02:46 +00:00
import from UXP: Issue #2861 - Part 2 Follow-up: nsIPluginHost.isPluginOOP should not always return true. (668296cf)
This commit is contained in:
@@ -1072,7 +1072,11 @@ NS_IMETHODIMP
|
||||
nsPluginHost::IsPluginOOP(const nsACString& aMimeType,
|
||||
bool* aResult)
|
||||
{
|
||||
*aResult = true;
|
||||
nsPluginTag* tag = FindNativePluginForType(aMimeType, true);
|
||||
if (!tag) {
|
||||
return NS_ERROR_NOT_AVAILABLE;
|
||||
}
|
||||
*aResult = nsNPAPIPlugin::RunPluginOOP(tag);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user