<?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>48757</bug_id>
          
          <creation_ts>2010-11-01 08:07:13 -0700</creation_ts>
          <short_desc>REGRESSION (r70748): Live video does not work on 10tv.nana10.co.il</short_desc>
          <delta_ts>2022-02-10 20:59:05 -0800</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>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc>10tv.nana10.co.il</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction, InRadar, Regression</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yair Yogev">progame+wk</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>aestes</cc>
    
    <cc>ananta</cc>
    
    <cc>bfulgham</cc>
    
    <cc>cpu</cc>
    
    <cc>playmobil</cc>
    
    <cc>stuartmorgan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>302691</commentid>
    <comment_count>0</comment_count>
    <who name="Yair Yogev">progame+wk</who>
    <bug_when>2010-11-01 08:07:13 -0700</bug_when>
    <thetext>*Steps to repro using Chrome ToT / Chrome 8.X dev:
1. Visit
http://10tv.nana10.co.il/
(for example).
2. If you see a Hebrew message over the black video box, answer it by clicking on בטל (this button http://f.nanafiles.co.il/partner48/Common/Images//VideoPlayer/UI/CancelSaveProfile.gif )
3. Wait for the video to load... it won&apos;t


*I&apos;m assuming r70748 is the cause because this issue appeared in Chrome between the following builds:
http://build.chromium.org/f/chromium/perf/dashboard/ui/changelog.html?url=/trunk/src&amp;range=64245:64262&amp;mode=html

where there are 2 WebKit rolls:
WebKit Roll 70722:70775.
WebKit Roll 70775:70783

with the following WebKit changelog
http://trac.webkit.org/log/?rev=70783&amp;stop_rev=70722&amp;verbose=on

r70748 removed WebKit&apos;s map of classid values to MIME types. It also
changed the behavior of object elements to render fallback content when
a non-empty classid attribute is specified, which is the behavior HTML5
specifies when a UA encounters a classid it doesn&apos;t understand.
http://trac.webkit.org/changeset/70748
https://bugs.webkit.org/show_bug.cgi?id=45679


*All tests took place under windows XP:
Firefox (Minefield 4.0b8pre): OK
Safary with  ToT WebKit: OK
Chrome ToT: FAIL
Chrome ToT with Safari user agent: FAIL
Chrome ToT with Firefox user agent string: OK

As you can see Chrome+Firefox_user_agent works OK- Evangelism? but how come Chrome behaves differently than Safari in ToT? (assuming http://trac.webkit.org/changeset/70748/ is the cause?)

inChromium bug: http://code.google.com/p/chromium/issues/detail?id=61418</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>302759</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Pizano-Uribe">cpu</who>
    <bug_when>2010-11-01 10:12:07 -0700</bug_when>
    <thetext>We need a reduction. That page is too complicated. My first guess is that it requires another plugin that is not flash, or besides flash.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>303744</commentid>
    <comment_count>2</comment_count>
    <who name="Andy Estes">aestes</who>
    <bug_when>2010-11-02 15:58:33 -0700</bug_when>
    <thetext>The Windows nightly builds are still on r70599, so that&apos;s why you can&apos;t reproduce this in the latest nightly. This page also requires the Windows Media Player Firefox plug-in installed in order to reproduce the bug (http://port25.technet.com/pages/windows-media-player-firefox-plugin-download.aspx).

Here is the relevant markup served to Safari:

&lt;object classid=&quot;clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6&quot; type=&quot;application/x-ms-wmp&quot; ...&gt;

Prior to r70559, we obeyed the type attribute and ignored the classid attribute, and we&apos;d load the WMP plug-in. r70559 implemented HTML5&apos;s specified behavior for when a non-empty classid is encountered, which is to fall back when we don&apos;t recognize the classid (and after r70559, we don&apos;t recognize any classids). No plug-in loads in this case, which is correct behavior according to the spec.

This page works in Firefox because Firefox is served an object tag with the classid attribute omitted, so a plug-in is loaded based on the contents of the type attribute. This is what the page should be serving to Safari and Chrome as well, as it would work reliably before or after r70559.

This is best resolved by evangelizing the site to serve WebKit UA&apos;s the Firefox-style markup that omits IE-specific classids. I don&apos;t think we want to go back down the road of mapping classids to MIME types.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>303752</commentid>
    <comment_count>3</comment_count>
    <who name="Andy Estes">aestes</who>
    <bug_when>2010-11-02 16:04:00 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; The Windows nightly builds are still on r70599, so that&apos;s why you can&apos;t reproduce this in the latest nightly. This page also requires the Windows Media Player Firefox plug-in installed in order to reproduce the bug (http://port25.technet.com/pages/windows-media-player-firefox-plugin-download.aspx).
&gt; 
&gt; Here is the relevant markup served to Safari:
&gt; 
&gt; &lt;object classid=&quot;clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6&quot; type=&quot;application/x-ms-wmp&quot; ...&gt;
&gt; 
&gt; Prior to r70559, we obeyed the type attribute and ignored the classid attribute, and we&apos;d load the WMP plug-in. r70559 implemented HTML5&apos;s specified behavior for when a non-empty classid is encountered, which is to fall back when we don&apos;t recognize the classid (and after r70559, we don&apos;t recognize any classids). No plug-in loads in this case, which is correct behavior according to the spec.
&gt; 
&gt; This page works in Firefox because Firefox is served an object tag with the classid attribute omitted, so a plug-in is loaded based on the contents of the type attribute. This is what the page should be serving to Safari and Chrome as well, as it would work reliably before or after r70559.
&gt; 
&gt; This is best resolved by evangelizing the site to serve WebKit UA&apos;s the Firefox-style markup that omits IE-specific classids. I don&apos;t think we want to go back down the road of mapping classids to MIME types.

D&apos;oh! Except for in the first paragraph, replace all mentions of r70599 with r70748.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>303775</commentid>
    <comment_count>4</comment_count>
    <who name="Yair Yogev">progame+wk</who>
    <bug_when>2010-11-02 16:30:04 -0700</bug_when>
    <thetext>Interesting, thanks for investigating this!
i have my own &quot;D&apos;oh!&quot; for not thinking about the lagging builds possibility...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>303787</commentid>
    <comment_count>5</comment_count>
    <who name="Andy Estes">aestes</who>
    <bug_when>2010-11-02 16:36:04 -0700</bug_when>
    <thetext>*** Bug 48885 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>303798</commentid>
    <comment_count>6</comment_count>
      <attachid>72771</attachid>
    <who name="Andy Estes">aestes</who>
    <bug_when>2010-11-02 16:58:35 -0700</bug_when>
    <thetext>Created attachment 72771
Test case

Attached is a test case that demonstrates the same issue that we see on the site. You&apos;ll need Flip4Mac installed on the Mac or WMP for Firefox installed on Windows for this to work properly. In Safari 5, you should see a video with the text &quot;support.microsoft.com&quot;; in Safari ToT, you should see the word &quot;FAIL&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>303800</commentid>
    <comment_count>7</comment_count>
    <who name="Andy Estes">aestes</who>
    <bug_when>2010-11-02 17:01:58 -0700</bug_when>
    <thetext>&lt;rdar://problem/8623789&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>303803</commentid>
    <comment_count>8</comment_count>
    <who name="Andy Estes">aestes</who>
    <bug_when>2010-11-02 17:06:57 -0700</bug_when>
    <thetext>I uploaded a test case for completeness&apos; sake, but I think this should be treated as an evangelism issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>303831</commentid>
    <comment_count>9</comment_count>
    <who name="Ananta Iyengar">ananta</who>
    <bug_when>2010-11-02 18:03:17 -0700</bug_when>
    <thetext>While I agree about this being an evangelism issue, perhaps we can improve compat by honoring the mime type if it is specified in the object tag.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>303846</commentid>
    <comment_count>10</comment_count>
    <who name="Andy Estes">aestes</who>
    <bug_when>2010-11-02 18:51:18 -0700</bug_when>
    <thetext>(In reply to comment #9)
&gt; While I agree about this being an evangelism issue, perhaps we can improve compat by honoring the mime type if it is specified in the object tag.

Perhaps we should address this by filing a bug against the HTML5 spec. The current draft specifies that mime type shouldn&apos;t be considered when a non-empty classid is present, but perhaps changing this restriction would be better for compatibility.

I can do this, but first I&apos;d be curious to know if there&apos;s been previous discussion about this issue on whatwg or public-html.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>309206</commentid>
    <comment_count>11</comment_count>
    <who name="Jeremy Moskovich">playmobil</who>
    <bug_when>2010-11-15 02:20:15 -0800</bug_when>
    <thetext>nana10 have fixed their site.

Andy: Should we leave this bug open to track suggesting a spec change or should we close this and file a new bug?</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>72771</attachid>
            <date>2010-11-02 16:58:35 -0700</date>
            <delta_ts>2010-11-02 16:58:35 -0700</delta_ts>
            <desc>Test case</desc>
            <filename>wmv.html</filename>
            <type>text/html</type>
            <size>224</size>
            <attacher name="Andy Estes">aestes</attacher>
            
              <data encoding="base64">PG9iamVjdCB3aWR0aD0iMzIwIiBoZWlnaHQ9IjI0MCIgY2xhc3NpZD0iQ0xTSUQ6NkJGNTJBNTIt
Mzk0QS0xMWQzLUIxNTMtMDBDMDRGNzlGQUE2IiB0eXBlPSJ2aWRlby94LW1zLXdtdiIgZGF0YT0i
aHR0cDovL3N1cHBvcnQubWljcm9zb2Z0LmNvbS9zdXBwb3J0L21lZGlhcGxheWVyL3dtcHRlc3Qv
c2FtcGxlcy9uZXcvbWVkaWFleGFtcGxlLndtdiI+DQogICAgRkFJTA0KPC9vYmplY3Q+DQo=
</data>

          </attachment>
      

    </bug>

</bugzilla>