[Bug 9662] canPlayType should return enum instead of string

http://www.w3.org/Bugs/Public/show_bug.cgi?id=9662





--- Comment #9 from Axel Dahmen <brille1@hotmail.com>  2010-08-19 09:22:17 ---
I frankly don't know any function returning a type as a string.

Again, it has many drawbacks to use strings as return values when the result is
just a very restricted codomain.

After all, it's a dirty definition. Perhaps nowadays there is no more room left
for clean definitions. Ten years ago leaving this would have been inacceptable.

Those implementation being shipped are *not* officially implementing HTML5.
They are just Beta versions. Taking followers of a working-draft as a
constraint means the tail is wagging his dog.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 19 August 2010 09:22:20 UTC