[Bug 21854] Define MediaKeySession life cycle states and/or events

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

David Dorwin <ddorwin@google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #16 from David Dorwin <ddorwin@google.com> ---
My thoughts:

There should be a transition from the READY state to the ERROR state.

I think keyadded should be eliminated (replaced by keyready) unless there is a
good use case for knowing that a (new?) key was added.

Since every transition already has an event, it's unclear what purpose a state
attribute would serve. Since it could just restrict or complicate
implementations, I do not believe we should expose it unless there are good use
cases. Are there other examples of _redundant_ events and state attributes (vs.
a single statechange/progress event with a corresponding state attribute)?

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

Received on Tuesday, 30 July 2013 00:36:11 UTC