W3C home > Mailing lists > Public > public-html-media@w3.org > February 2015

[encrypted-media] load() algorithm: Checking "support [for] loading previous sessions" is redundant

From: ddorwin via GitHub <sysbot+gh@w3.org>
Date: Mon, 09 Feb 2015 19:45:40 +0000
To: public-html-media@w3.org
Message-ID: <issues.opened-57079705-1423511139-sysbot+gh@w3.org>
ddorwin has just created a new issue for 
https://github.com/w3c/encrypted-media:

= load() algorithm: Checking "support [for] loading previous 
sessions" is redundant =
Step #5 of the `load()` algorithm is currently:
>>If the Key System implementation represented by this object's cdm 
implementation value does not support loading previous sessions, 
return a promise rejected with a new DOMException whose name is 
NotSupportedError.

However, support for the session type for this object was already 
checked in `createSession()` and all persistent session types must be 
loadable. Thus, this step is redundant and can be removed.

See https://github.com/w3c/encrypted-media/issues/27
Received on Monday, 9 February 2015 19:45:44 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 15:48:58 UTC