Reviewed by Geoff.
<rdar://problem/
5211677>
-[WebPreferences setJavaEnabled:] only disables java inside <applet>, not <object>
* loader/FrameLoader.cpp:
(WebCore::FrameLoader::requestObject):
If the object is a Java MIME type and Java is disabled, don't load the plug-in.
* platform/MimeTypeRegistry.cpp:
(WebCore::MimeTypeRegistry::isJavaAppletMIMEType):
Clean this up and add another applet MIME type.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@23529
268f45cc-cd09-0410-ab3c-
d52691b4dbfc