<?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>48590</bug_id>
          
          <creation_ts>2010-10-28 16:43:26 -0700</creation_ts>
          <short_desc>HTML5 Conformance Test failure: approved/video/video_003.htm</short_desc>
          <delta_ts>2010-12-09 20:39:38 -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>Media</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc>http://test.w3.org/html/tests/approved/video/video_003.htm</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>48575</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="David Kilzer (:ddkilzer)">ddkilzer</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>301446</commentid>
    <comment_count>0</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2010-10-28 16:43:26 -0700</bug_when>
    <thetext>The approved/video/video_003.htm test fails with WebKit nightly build r70732 run in Safari 5.0.x.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>301447</commentid>
    <comment_count>1</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2010-10-28 16:45:11 -0700</bug_when>
    <thetext>@abarth: Does browser mime type sniffing behavior come into play here?  Just wondering if the test is expecting the application/octet-stream MIME type to be sniffed, or whether it&apos;s testing whether the browser will dump off bytes to the &quot;media engine&quot; with a MIME type of application/octet-stream.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>301468</commentid>
    <comment_count>2</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2010-10-28 16:57:58 -0700</bug_when>
    <thetext>Video media type handling is a train wreck.  It&apos;s unclear what the best behavior is.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>301575</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Carlson">eric.carlson</who>
    <bug_when>2010-10-28 21:29:46 -0700</bug_when>
    <thetext>http://test.w3.org/html/tests/approved/video/video_003.htm is a bogus test. The spec says:

    The canPlayType(type) method must return the empty string if type is a type that 
    the user agent knows it cannot render or is the type &quot;application/octet-stream&quot;

In other words if MUST return &quot;&quot; if the type is &quot;application/octet-stream&quot;. The test, however, *fails* if it returns &quot;&quot; :

    if (vid.canPlayType(&quot;application/octet-stream&quot;) != &quot;&quot;)
    {
        passTest();
    }

WebKit returns &quot;&quot; for &quot;application/octet-stream&quot;:

&gt; vid.canPlayType(&quot;application/octet-stream&quot;)
   &quot;&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>301793</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2010-10-29 08:57:44 -0700</bug_when>
    <thetext>If there&apos;s a bug in the test, this should be reported against the test suite.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>319901</commentid>
    <comment_count>5</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2010-12-09 20:39:38 -0800</bug_when>
    <thetext>This test has been removed from the test suite.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>