Bug 436575: unkillable hangs after opening VerifiedDownloadPlugin.plugin, with

OS X 10.5.3. r=josh, sr=brendan, a=damon


git-svn-id: svn://10.0.0.236/trunk@252203 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
shaver%mozilla.org 2008-06-09 22:18:13 +00:00
parent dae092ddf6
commit 5dd6a1935b

View File

@ -241,6 +241,16 @@ nsresult nsPluginFile::LoadPlugin(PRLibrary* &outLibrary)
return NS_ERROR_NULL_POINTER;
nsCAutoString temp;
mPlugin->GetNativeLeafName(temp);
/*
* Don't load the VDP fake plugin, to avoid tripping a bad bug in OS X
* 10.5.3 (see bug 436575).
*/
if (!strcmp(temp.get(), "VerifiedDownloadPlugin.plugin")) {
NS_WARNING("Preventing load of VerifiedDownloadPlugin.plugin (see bug 436575)");
return NS_ERROR_FAILURE;
}
mPlugin->GetNativePath(temp);
path = temp.get();