Bug 219705 - fix java applet crash with Blackdown JVM. r=blizzard, sr=shaver

This commit is contained in:
tor%cs.brown.edu 2003-10-17 19:32:28 +00:00
parent a97aac3e5d
commit 7fac3ddbdc

View File

@ -199,6 +199,11 @@ PRBool nsPluginNativeWindowGtk2::CanGetValueFromPlugin(nsCOMPtr<nsIPluginInstanc
if (PL_strcasecmp(jpiDescription + 17, "1.5") < 0)
return PR_FALSE;
}
if (PL_strncasecmp(jpiDescription, "<a href=\"http://www.blackdown.org/java-linux.html\">", 51) == 0) {
// Java Plugin support Xembed from JRE 1.5
if (PL_strcasecmp(jpiDescription + 92, "1.5") < 0)
return PR_FALSE;
}
}
}
}