<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK] The &quot;Missing Plug-in&quot; buttons are not showing up on some flash contents"
   href="https://bugs.webkit.org/show_bug.cgi?id=146707">146707</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[GTK] The &quot;Missing Plug-in&quot; buttons are not showing up on some flash contents
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>528+ (Nightly build)
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>WebKit Gtk
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>sungmann.cho&#64;navercorp.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=256350" name="attach_256350" title="the test content taken from http://www.youku.com/">attachment 256350</a> <a href="attachment.cgi?id=256350&amp;action=edit" title="the test content taken from http://www.youku.com/">[details]</a></span>
the test content taken from <a href="http://www.youku.com/">http://www.youku.com/</a>

Currently, WebKitGTK+ doesn't show the &quot;Missing Plug-in&quot; buttons if the plugin-related tags don't have a &quot;type&quot; 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
&lt;extension, mime type&gt;, looking for the mime type for the given extension. But |extensionMap| in MIMETypeRegistryGtk.cpp
doesn't have the information for &quot;.swf&quot;, so WebCore fails to guess the MIME type and regard the content type as
ObjectContentFrame, not ObjectContentNetscapePlugin.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>