[encrypted-media] Remove requirement to close CDM session *before* destroying UA MediaKeySession state

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

== Remove requirement to close CDM session *before* destroying UA 
MediaKeySession state ==
https://w3c.github.io/encrypted-media/#mediakeysession-interface says 
the following:
>If a `MediaKeySession` object becomes inaccessible to the page and is
 not closed, the User Agent MUST use the CDM to close the session 
**before User Agent state associated with the session is deleted**.

Is there a reason that the CDM session needs to be closed before 
deleting related UA state (the bold text)? There is no 
application-visible difference in when the CDM session is closed.

We ran into this while implementing this step. All CDM interactions 
are asynchronous and we're not going to block destruction of the 
`MediaKeySession`, so we will ignore the the bold text anyway. It 
seems like a superfluous requirement that we should just remove.

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

Received on Tuesday, 8 November 2016 01:00:04 UTC