<?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>75184</bug_id>
          
          <creation_ts>2011-12-23 20:04:52 -0800</creation_ts>
          <short_desc>10 W3C video and audio canPlayType tests are failing on Mac and Win</short_desc>
          <delta_ts>2023-09-24 20:20:51 -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>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, LayoutTestFailure</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>adele</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>jberlin</cc>
    
    <cc>jean-yves.avenard</cc>
    
    <cc>jer.noble</cc>
    
    <cc>pilgrim</cc>
    
    <cc>rniwa</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>526941</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-12-23 20:04:52 -0800</bug_when>
    <thetext>The following tests imported in r103470 are failing on Mac

media/W3C/audio/canPlayType/canPlayType_supported_but_no_codecs_parameter_1.html
media/W3C/audio/canPlayType/canPlayType_supported_but_no_codecs_parameter_2.html
media/W3C/video/canPlayType/canPlayType_codecs_order_2.html
media/W3C/video/canPlayType/canPlayType_codecs_order_3.html
media/W3C/video/canPlayType/canPlayType_supported_but_no_codecs_parameter_2.html
media/W3C/video/canPlayType/canPlayType_supported_but_no_codecs_parameter_3.html
media/W3C/video/canPlayType/canPlayType_two_implies_one_3.html
media/W3C/video/canPlayType/canPlayType_two_implies_one_4.html
media/W3C/video/canPlayType/canPlayType_two_implies_one_5.html
media/W3C/video/canPlayType/canPlayType_two_implies_one_6.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>638535</commentid>
    <comment_count>1</comment_count>
    <who name="Jessie Berlin">jberlin</who>
    <bug_when>2012-05-31 10:21:34 -0700</bug_when>
    <thetext>These tests were added to the Skipped list on Mac, but probably just should have been given expected failing results. I am going to add failing expected results for Windows.

This is probably related to https://bugs.webkit.org/show_bug.cgi?id=85409</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>638538</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2012-05-31 10:22:41 -0700</bug_when>
    <thetext>&lt;rdar://problem/11566487&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>638553</commentid>
    <comment_count>3</comment_count>
    <who name="Jessie Berlin">jberlin</who>
    <bug_when>2012-05-31 10:36:22 -0700</bug_when>
    <thetext>Added the Windows expected (failing?) results in http://trac.webkit.org/changeset/119120</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1979714</commentid>
    <comment_count>4</comment_count>
    <who name="Jean-Yves Avenard [:jya]">jean-yves.avenard</who>
    <bug_when>2023-09-24 20:20:51 -0700</bug_when>
    <thetext>The tests are failing because it incorrectly assumes that if testing for codecs support in one container assumes that it will also be supported in another container.

like:
```
 if (v.canPlayType(&apos;video/mp4; codecs=&quot;avc1.42E01E, mp4a.40.2&quot;&apos;) == &quot;probably&quot;) {
  assert_equals(
   v.canPlayType(&apos;video/mp4; codecs=&quot;avc1.42E01E, mp4a.40.2&quot;&apos;),
   v.canPlayType(&apos;video/ogg; codecs=&quot;avc1.42E01E&quot;&apos;),
   &quot;ability to play two codecs implies the ability to play one&quot;);
 }
```

that avc1 and mp4a is supported in an mp4 doesn&apos;t imply that video/ogg is supported.

WebKit on Mac or WPE doesn&apos;t support the ogg container.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>