WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
75184
10 W3C video and audio canPlayType tests are failing on Mac and Win
https://bugs.webkit.org/show_bug.cgi?id=75184
Summary
10 W3C video and audio canPlayType tests are failing on Mac and Win
Ryosuke Niwa
Reported
2011-12-23 20:04:52 PST
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
Attachments
Add attachment
proposed patch, testcase, etc.
Jessie Berlin
Comment 1
2012-05-31 10:21:34 PDT
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
Radar WebKit Bug Importer
Comment 2
2012-05-31 10:22:41 PDT
<
rdar://problem/11566487
>
Jessie Berlin
Comment 3
2012-05-31 10:36:22 PDT
Added the Windows expected (failing?) results in
http://trac.webkit.org/changeset/119120
Jean-Yves Avenard [:jya]
Comment 4
2023-09-24 20:20:51 PDT
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('video/mp4; codecs="avc1.42E01E, mp4a.40.2"') == "probably") { assert_equals( v.canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"'), v.canPlayType('video/ogg; codecs="avc1.42E01E"'), "ability to play two codecs implies the ability to play one"); } ``` that avc1 and mp4a is supported in an mp4 doesn't imply that video/ogg is supported. WebKit on Mac or WPE doesn't support the ogg container.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug