[Bug 25594] The read-only attribute usableKeyIds cannot be variable length

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

--- Comment #1 from David Dorwin <ddorwin@google.com> ---
If we are already making this a method, we might consider having that method
return a promise that provides the Array<Uint8Array> when resolved. This avoids
tracking the array in the MediaKeySession and having the CDM update it.
However, the CDM is already calling into the MediaKeySession to fire the
keyschange event. A promise-based solution would allow user agents to choose
either implementation.

After this is resolved, we should change the loadSession() algorithm to *not*
update the array when constructing the new MediaKeySession. It's probably
better to be consistent and always fire the keyschange event.

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

Received on Saturday, 10 May 2014 00:53:04 UTC