<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>70597</bug_id>
          
          <creation_ts>2011-10-21 04:19:10 -0700</creation_ts>
          <short_desc>Embed element fails to play ShockWaveFlash content when type attribute is not specified..</short_desc>
          <delta_ts>2022-07-01 11:35:06 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Plug-ins</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Kishore Bolisetty">kbolisetty</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>aestes</cc>
    
    <cc>andersca</cc>
    
    <cc>ap</cc>
    
    <cc>ddkilzer</cc>
    
    <cc>eric</cc>
    
    <cc>mrahaman</cc>
    
    <cc>sam</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>488304</commentid>
    <comment_count>0</comment_count>
      <attachid>111938</attachid>
    <who name="Kishore Bolisetty">kbolisetty</who>
    <bug_when>2011-10-21 04:19:10 -0700</bug_when>
    <thetext>Created attachment 111938
test html to reproduce the issue

OverView : Embed element fails to display ShockWaveFlash content when type attribute is not specified.
Steps to Reproduce : Install ShockWave Flash Plugin and load the attached test html
Actual Result : Shows Missing Plugin / Not able to play content.
Expected Result : If ShockWaveFlash plugin is available, It should play the content.
Useful Info :
1. Reference to spec at http://www.whatwg.org/specs/web-apps/current-work/#attr-embed-src might be useful
2. It is required to find the explicit-content-type from the resource header information /resource itself. (Its just my view)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>525795</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-12-21 16:21:26 -0800</bug_when>
    <thetext>Chrome just had to work around a (possibly) related issue, where a null mimeType is being passed up to the WebKit layer from SubresourceLoader/HTMLEmbedElement.
http://code.google.com/p/chromium/issues/detail?id=108228</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>525798</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-12-21 16:21:51 -0800</bug_when>
    <thetext>Actually, chrome&apos;s issue sounds identical to this one.  I suspect there was some change in WebKIt to cause this regression.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>525817</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-12-21 16:30:27 -0800</bug_when>
    <thetext>Which webkit browser were you testing in?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>525857</commentid>
    <comment_count>4</comment_count>
    <who name="Andy Estes">aestes</who>
    <bug_when>2011-12-21 17:15:20 -0800</bug_when>
    <thetext>Why would we expect Flash to load for the attached test case? Flash doesn&apos;t register for the file extension .m4v.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>525865</commentid>
    <comment_count>5</comment_count>
    <who name="Andy Estes">aestes</who>
    <bug_when>2011-12-21 17:20:12 -0800</bug_when>
    <thetext>(In reply to comment #1)
&gt; Chrome just had to work around a (possibly) related issue, where a null mimeType is being passed up to the WebKit layer from SubresourceLoader/HTMLEmbedElement.
&gt; http://code.google.com/p/chromium/issues/detail?id=108228

FWIW, the flash embed on &lt;http://chrome.plantsvszombies.com/&gt; loads correctly for me in a recent WebKit nightly build. The regression tracked by &lt;http://code.google.com/p/chromium/issues/detail?id=108228&gt; might not affect other ports (or at least not Apple&apos;s Mac port).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>525876</commentid>
    <comment_count>6</comment_count>
    <who name="Andy Estes">aestes</who>
    <bug_when>2011-12-21 17:28:35 -0800</bug_when>
    <thetext>Oh, despite the file extension ending in .m4v (actually %2Em4v), blip.tv responds with a HTTP 301 redirect to a .swf file. If we followed the redirect as I think the spec tells us to do then we&apos;d end up loading Flash.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>525881</commentid>
    <comment_count>7</comment_count>
    <who name="Andy Estes">aestes</who>
    <bug_when>2011-12-21 17:34:41 -0800</bug_when>
    <thetext>I think the behavior we&apos;ll see here depends on what WebKit port you test in. Testing on the Mac, I see that we don&apos;t match %2Em4v to the .m4v extension registered by QuickTime. That sounds like a URL sanitization bug on our part. But since we don&apos;t match the extension, we go down the subframe loading path and end up loading a plugin document in the subframe.

Chrome 15 appears to correctly sanitize the URL and it loads the QuickTime plug-in. On systems that don&apos;t have QuickTime installed, I&apos;m not surprised that a missing plug-in indicator is shown.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>525917</commentid>
    <comment_count>8</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-12-21 18:39:50 -0800</bug_when>
    <thetext>The URL handling is a difference between KURL and GURL. :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>525918</commentid>
    <comment_count>9</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-12-21 18:40:58 -0800</bug_when>
    <thetext>(In reply to comment #5)
&gt; (In reply to comment #1)
&gt; &gt; Chrome just had to work around a (possibly) related issue, where a null mimeType is being passed up to the WebKit layer from SubresourceLoader/HTMLEmbedElement.
&gt; &gt; http://code.google.com/p/chromium/issues/detail?id=108228
&gt; 
&gt; FWIW, the flash embed on &lt;http://chrome.plantsvszombies.com/&gt; loads correctly for me in a recent WebKit nightly build. The regression tracked by &lt;http://code.google.com/p/chromium/issues/detail?id=108228&gt; might not affect other ports (or at least not Apple&apos;s Mac port).

Are you aware of any changes to WebCore that could have caused us to start passing a null/empty mimetype  up to the WebKit layer (via the FrameLoaderClient::createPlugin callback)?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1879870</commentid>
    <comment_count>10</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2022-07-01 11:35:06 -0700</bug_when>
    <thetext>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.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>111938</attachid>
            <date>2011-10-21 04:19:10 -0700</date>
            <delta_ts>2011-10-21 04:19:10 -0700</delta_ts>
            <desc>test html to reproduce the issue</desc>
            <filename>test.html</filename>
            <type>text/html</type>
            <size>59</size>
            <attacher name="Kishore Bolisetty">kbolisetty</attacher>
            
              <data encoding="base64">PGVtYmVkIHNyYz0iaHR0cDovL2JsaXAudHYvcGxheS9sbDZDaFpFdEFBJTJFbTR2IiA+PC9lbWJl
ZD4=
</data>

          </attachment>
      

    </bug>

</bugzilla>