Bug 398313 - "Java plugin doesn't show up in disabled state (Add-ons Manager)" [p=Mossop r+sr=jst a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@238890 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -278,12 +278,9 @@ nsPluginDirServiceProvider::GetFile(const char *prop, PRBool *persistant,
|
||||
}
|
||||
}
|
||||
} else if (nsCRT::strcmp(prop, NS_WIN_JRE_SCAN_KEY) == 0) {
|
||||
PRBool isJavaEnabled;
|
||||
nsXPIDLCString strVer;
|
||||
#ifdef OJI
|
||||
if ((NS_FAILED(prefs->GetBoolPref("security.enable_java", &isJavaEnabled))
|
||||
|| !isJavaEnabled) ||
|
||||
NS_FAILED(prefs->GetCharPref(prop, getter_Copies(strVer))))
|
||||
if (NS_FAILED(prefs->GetCharPref(prop, getter_Copies(strVer))))
|
||||
#endif /* OJI */
|
||||
return NS_ERROR_FAILURE;
|
||||
verBlock minVer;
|
||||
|
||||
Reference in New Issue
Block a user