<?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>48591</bug_id>
          
          <creation_ts>2010-10-28 16:46:16 -0700</creation_ts>
          <short_desc>HTML5 Conformance Test failure: approved/video/video_008.htm</short_desc>
          <delta_ts>2010-10-29 08:58:04 -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>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_008.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>eric.carlson</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>301452</commentid>
    <comment_count>0</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2010-10-28 16:46:16 -0700</bug_when>
    <thetext>The approved/video/video_008.htm test fails with WebKit nightly build r70732 run in Safari 5.0.x.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>301453</commentid>
    <comment_count>1</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2010-10-28 16:46:53 -0700</bug_when>
    <thetext>NOTE: The test takes a while to run (a few seconds), so be patient for the &quot;Waiting...&quot; message to disappear.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>301579</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Carlson">eric.carlson</who>
    <bug_when>2010-10-28 21:42:17 -0700</bug_when>
    <thetext>http://test.w3.org/html/tests/approved/video/video_008.htm is also bogus (see https://bugs.webkit.org/show_bug.cgi?id=48590). 

It sets up the &lt;video&gt; element with &lt;source&gt; elements with a &apos;type&apos; attribute set to &quot;application/octet-stream&quot;:

&lt;video id=&quot;video0&quot; autoplay onplay=&quot;do_play(event);&quot;&gt;
    &lt;source src=&quot;http://media.w3.org/2010/05/video/movie_300.mp4&quot; type=&quot;application/octet-stream&quot;&gt;
  &lt;source src=&quot;http://media.w3.org/2010/05/video/movie_5.mp4&quot; type=&quot;application/octet-stream&quot; media=&quot;all&quot;&gt;
    Your browser does not support media elements.
&lt;/video&gt;

and it fails unless the the first &lt;source&gt; element is chosen. However, 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;

where the empty string is defined as &quot;a negative response&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>301795</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2010-10-29 08:58:04 -0700</bug_when>
    <thetext>If there&apos;s a bug in the test, this should be reported against the test suite.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>