[Webkit-unassigned] [Bug 68789] Unable to embed a flash plug-in using an <embed> element with mime type "application/octet-stream"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Oct 15 11:10:51 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=68789





--- Comment #24 from KishoreGanesh <kbolisetty at innominds.com>  2011-10-15 11:10:51 PST ---
I am presenting my observations tried with different combinations of src attribute and type attribute for an embed element.

What Spec Says: (http://www.whatwg.org/specs/web-apps/current-work/#attr-embed-src)
==================
only type     => Mimetype of the resource that is being loaded
only src      => Url of Resource to be loaded.
both type & src => type must be equal to explicit-content-type of the resource.

What FireFox Implemented:
===========================
only type     => use the Mimetype, if found dont show missing plugin, if not found show missing plugin.
only src      => No matter what extension is, It tries to download and gets explicit-content-mimetype.
           Displays the content if it has any supporting plugin.
           If source is Present, It will never show Missing Plugin.
           It is will either display content / Error Message / Blank Page
both type & src    => It gets the explicit mimetype from the source.
           If the specified type is not found and explicit-content-mimetype is supported, It will just display the content.
           If the specified type is found, explicit-content-mimetype is not matching with the specified type, It will throw an error. 
           It will not display the content even though it is capable of doing that.

What Safari Does:
=================================
only type      => use the Mimetype, if found dont show missing plugin, if not found show missing plugin.
only src    => Finds the plugin based on src url extension if present.
           If no supporting plugin is found, Missing Plugin is displayed.
           If supporting plugin is found, but explict-content-mime is not supported, Cant display content.
both type & src    => same as "only type"

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list