w3c / encrypted-media

Encrypted Media Extensions
https://w3c.github.io/encrypted-media/
Other
180 stars 79 forks source link

Remove is-persistent-session-type-algorithm check from remove() algorithm #337

Closed ddorwin closed 8 years ago

ddorwin commented 8 years ago

In https://github.com/w3c/encrypted-media/issues/180#issuecomment-222194463, we decided to allow remove() to be called for all session types. 4d5498e210e938f1c1d2fd4908bbeab2df7467be implemented handling of "temporary" sessions. However, it did not remove the is-persistent-session-type-algorithm check, meaning "temporary" sessions would still be rejected with a TypeError.

Removing this step should result in the desired behavior from the comment above.

mwatson2 commented 8 years ago

PR #341