Bug 75184
Summary: | 10 W3C video and audio canPlayType tests are failing on Mac and Win | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> |
Component: | Media | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | adele, eric.carlson, jberlin, jean-yves.avenard, jer.noble, pilgrim, rniwa, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar, LayoutTestFailure |
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Ryosuke Niwa
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
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
<rdar://problem/11566487>
Jessie Berlin
Added the Windows expected (failing?) results in http://trac.webkit.org/changeset/119120
Jean-Yves Avenard [:jya]
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.