Bug 19951 - WebKit should perform content sniffing for embed element without type attribute
Summary: WebKit should perform content sniffing for embed element without type attribute
Alias: None
Product: WebKit
Classification: Unclassified
Component: Plug-ins (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2008-07-08 14:27 PDT by Anantha Keesara
Modified: 2022-07-01 11:35 PDT (History)
2 users (show)

See Also:

reduction.zip (41.22 KB, application/octet-stream)
2008-07-08 14:27 PDT, Anantha Keesara
no flags Details
standalone test case (485 bytes, text/html)
2008-07-28 12:31 PDT, Robert Blaut
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anantha Keesara 2008-07-08 14:27:14 PDT
I. Steps:
 1. Launch Safari
 2. Launch the html file. If you do not have the realplayer plugin, download the dll file to your plugins directory.
 II. Issue:
 In Firefox, a realplayer shows up. But in Safari, it is recognized as unknown mimetype.
 III. Other browsers:
 IE7 : not working
 FF3 : ok
 IV. Safari nightly tested: version 3.1.1(525.17 )- r34388.
 Not working properly on Safari.
 V. Safari screenshot : Not avalible
Comment 1 Anantha Keesara 2008-07-08 14:27:16 PDT
Created attachment 22163 [details]
Comment 2 Robert Blaut 2008-07-28 12:30:41 PDT
Confirmed. HTML5 spec says:

"The type of the content being embedded is defined as follows:

1. If the element has a type attribute, then the value of the type attribute is the content's type.

2. Otherwise, if the <path> component of the URL of the specified resource matches a pattern that a plugin supports, then the content's type is the type that that plugin can handle."

Comment 3 Robert Blaut 2008-07-28 12:31:23 PDT
Created attachment 22525 [details]
standalone test case
Comment 4 Alexey Proskuryakov 2022-07-01 11:35:24 PDT
Mass closing plug-in bugs, as plug-in support has been removed from WebKit.

Please comment and/or reopen if this still affects WebKit in some way.