[encrypted-media] generateRequest() and load() should check "If the Session Close algorithm has been run"

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

== generateRequest() and load() should check "If the Session Close 
algorithm has been run" ==
The `generateRequest()` and `load()` algorithms do not have check "If 
the Session Close algorithm has been run on this object" like the 
algorithms for the other `MediaKeySession` methods. This makes sense 
in normal operation since there are checks of the object's 
_uninitialized_ value. However, any asynchronous closure (e.g. #102) 
could occur before these methods are called. Thus, we should add these
 checks to these algorithms to cover such corner cases.

See https://github.com/w3c/encrypted-media/issues/113

Received on Friday, 23 October 2015 22:47:50 UTC