[Webkit-unassigned] [Bug 44850] REGRESSION: swf files are downloaded when flash is disabled, probably for youtube embedded player only

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 29 20:41:29 PDT 2010


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


Andy Estes <aestes at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1




--- Comment #2 from Andy Estes <aestes at apple.com>  2010-08-29 20:41:29 PST ---
I can reproduce this in a WebKit nightly build on the Mac. Here is the snippet the site uses to embed the flash video:

<object width="425" height="350">
    <param name="movie" value="http://www.youtube.com/v/6SDf5_Thqsk"></param>
    <param name="wmode" value="transparent"></param>
    <embed src="http://www.youtube.com/v/6SDf5_Thqsk" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed>
</object>

It probably has to do with there being no mime type specified on the <object>. The same thing happens in builds prior to r66156 if the type @attr is removed from the <embed>. When flash is enabled, it looks like the mime type is determined from the Content-Type header for the resource and the right plug-in is loaded, but I guess when the plug-in is disabled and no type is explicitly specified, WebKit doesn't know what to do and just downloads the file.

-- 
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