Created attachment 256350 [details] the test content taken from http://www.youku.com/ Currently, WebKitGTK+ doesn't show the "Missing Plug-in" buttons if the plugin-related tags don't have a "type" attribute. In such a case, WebCore tries to guess the MIME type from the extensions by using MIMETypeRegistry::getMIMETypeForExtension(). For WebKitGTK+, MIMETypeRegistry::getMIMETypeForExtension() goes through |extensionMap|, which is a simple array of <extension, mime type>, looking for the mime type for the given extension. But |extensionMap| in MIMETypeRegistryGtk.cpp doesn't have the information for ".swf", so WebCore fails to guess the MIME type and regard the content type as ObjectContentFrame, not ObjectContentNetscapePlugin.
Created attachment 256351 [details] Patch
Comment on attachment 256351 [details] Patch Seems reasonable to me.
Comment on attachment 256351 [details] Patch Clearing flags on attachment: 256351 Committed r186581: <http://trac.webkit.org/changeset/186581>
All reviewed patches have been landed. Closing bug.