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

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

--- Comment #10 from David Dorwin <ddorwin@google.com> ---
Changeset https://dvcs.w3.org/hg/html-media/rev/c4a18d018444 tweaks some of the
changes in c02fbe3a2c13 and updates the example to use the promise returned by
the new method.

(In reply to David Dorwin from comment #1)
> 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.

Updating the array was removed as part of changeset c02fbe3a2c13.
In https://dvcs.w3.org/hg/html-media/rev/75051d4bb6a7, I made loadSession() run
the Usable Keys Changed algorithm for consistency with created sessions and
update(). Specifically, the "keyschange" event will fire in both cases.

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

Received on Wednesday, 2 July 2014 01:44:05 UTC