Bug 27186 - HTMLMediaElement.canPlayType "maybe" and "probably" reversed
Summary: HTMLMediaElement.canPlayType "maybe" and "probably" reversed
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Eric Carlson
URL:
Keywords:
: 27409 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-07-11 18:41 PDT by Eric Carlson
Modified: 2009-07-18 04:46 PDT (History)
1 user (show)

See Also:


Attachments
proposed patch (6.28 KB, patch)
2009-07-11 19:01 PDT, Eric Carlson
koivisto: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Carlson 2009-07-11 18:41:21 PDT
The spec says:

Implementors are encouraged to return "maybe" unless the type can be confidently established as being supported or not. Generally, a user agent should never return "probably" if the type doesn't have a codecs parameter.

OSX, Windows, and GTK media engines return "probably" if a type does *not* have a codecs parameter.
Comment 1 Eric Carlson 2009-07-11 19:01:24 PDT
Created attachment 32622 [details]
proposed patch
Comment 2 Antti Koivisto 2009-07-11 19:12:07 PDT
Comment on attachment 32622 [details]
proposed patch

r=me
Comment 3 Eric Carlson 2009-07-11 19:16:55 PDT
http://trac.webkit.org/changeset/45758
Comment 4 Eric Carlson 2009-07-18 04:46:06 PDT
*** Bug 27409 has been marked as a duplicate of this bug. ***