[encrypted-media] Typo in HTMLMediaElement.setMediaKeys method definition

cpearce has just created a new issue for 
https://github.com/w3c/encrypted-media:

== Typo in HTMLMediaElement.setMediaKeys method definition ==
The setMediaKeys method definition, step 5.1 reads:

"If mediaKeys is not null, it is already in use by another media 
element, and the user agent is unable to use it with this element, let
 this object's attaching media keys value be false and reject promise 
with a new DOMException whose name is QuotaExceededError."

I think that's a typo, it should read:

"If mediaKeys is not null, **and** it is already in use by another 
media element, and the user agent is unable to use it with this 
element, let this object's attaching media keys value be false and 
reject promise with a new DOMException whose name is 
QuotaExceededError."


Please view or discuss this issue at 
https://github.com/w3c/encrypted-media/issues/140 using your GitHub 
account

Received on Thursday, 17 December 2015 00:54:52 UTC