[Bug 25199] EME should use Promises

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

David Dorwin <ddorwin@google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from David Dorwin <ddorwin@google.com> ---
Implemented in https://dvcs.w3.org/hg/html-media/rev/9842af174b80.

As demonstrated in the examples, MediaKeys and MediaKeySession creation is more
complex, especially when supporting more than one session in response to
needkey events as in example 8.2. Since there may not be a MediaKeys object,
initData must be queued. Also, we need an additional variable to determine
whether there is a pending MediaKeys creation because video.mediaKeys is
asynchronously set sometime after MediaKeys.create() asynchronously completes.

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

Received on Monday, 14 April 2014 22:38:52 UTC