• andersca's avatar
    Reviewed by Geoff. · 3d8fcbf7
    andersca authored
            <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: http://svn.webkit.org/repository/webkit/trunk@23529 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    3d8fcbf7
MimeTypeRegistry.cpp 6.99 KB