[Bug 24025] Add optional configuration parameter to MediaKeys constructor

https://www.w3.org/Bugs/Public/show_bug.cgi?id=24025

--- Comment #6 from David Dorwin <ddorwin@google.com> ---
If one or more of the items in the dictionary is unrecognized or unsupported by
the CDM, what should happen?

1. Report a MediaKeyError (NOT_SUPPORTED_ERR or INVALID_ACCESS_ERR).
2. Throw an exception.
 * This is probably more app-friendly than #1, but it requires the UA to know
acceptable values, some of which could require probing. Thus, I don't think it
is an option.
3. Ignore such values.
 * For recognized but unsupported values, do the best possible.
 * The server decide whether it's sufficient.
 * This potentially allows a single dictionary to be passed to all CDMs.
4. Ignore unrecognized values but let the CDM report errors for recognized but
unsupported values if appropriate.
 * This seems to add too much ambiguity.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 19 December 2013 22:09:34 UTC