web-platform-tests / wpt

Test suites for Web platform specs — including WHATWG, W3C, and others
https://web-platform-tests.org/
Other
5k stars 3.1k forks source link

[eme] Add test for license-renewal and changing keys within a session #3740

Open mwatson2 opened 8 years ago

mwatson2 commented 8 years ago

At least one key system is expected to fire a license-renewal message when keys come close to expiration. This can be used to obtain a new key for the session from the server.

A test for this would demonstrate keys changing within a session.

[Note that the behaviour of firing a license-renewal message when keys come close to expiration is not described in the specification and so is keysystem-specific].

ddorwin commented 8 years ago

For future reference, "keys changing" is referring to the keys in keyStatuses. See https://github.com/w3c/web-platform-tests/issues/3583#issuecomment-247478224. The Google test encrypted-media-keystatuses-multiple-updates.html might be useful.

jdsmith3000 commented 8 years ago

Since this is keySystem specific, should it be formalized in one of our EME tests? It would demonstrate that EME can accommodate the scenario, but my instinct would be to not include things like this in the test suite.