wpt icon indicating copy to clipboard operation
wpt copied to clipboard

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

Open mwatson2 opened this issue 10 years ago • 2 comments

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].

mwatson2 avatar Sep 15 '16 23:09 mwatson2

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.

ddorwin avatar Sep 16 '16 03:09 ddorwin

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.

jdsmith3000 avatar Oct 11 '16 23:10 jdsmith3000