This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 11236 - canPlayType and empty string
Summary: canPlayType and empty string
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: testsuite (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-05 13:21 UTC by Philippe Le Hegaret
Modified: 2010-11-30 15:34 UTC (History)
3 users (show)

See Also:


Attachments

Description Philippe Le Hegaret 2010-11-05 13:21:36 UTC
Test: video/video_003

Description:

The video/video_003.htm test in HTML5 test seems to be incorrect and doesn't confirm the spec. The spec says that canPlayType('application/octet-stream') must return empty string, but the test passes only when canPlayType('application/octet-stream') != "".
Comment 1 Philippe Le Hegaret 2010-11-16 16:32:46 UTC
[[
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 "application/octet-stream";
]]
http://www.w3.org/TR/html5/video.html#dom-navigator-canplaytype

The test will need to get revised.
Comment 2 kkrueger 2010-11-30 15:34:43 UTC
removed test and updated approvedtests.txt