You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The update() algorithm says the CDM should "Reject promise with a newly created TypeError" if a persistable license is provided to a session type other than "persistent-license" and vice versa.
The drmtoday server appears to request a different license based on a custom header (see getCustomHeaders() in drm-messagehandler.js), so we should be able to test these negative cases.
Note that failing this test could cause a key to be unexpectedly persisted, which could hide problems in other tests. It might be good to have a license with a key that does not appear in other tests.
The text was updated successfully, but these errors were encountered:
This fails on Chrome, Firefox and Edge. I believe this is a known bug on Edge and that the license is indeed persistent. On Chrome and Firefox I don't know if the license gets persisted (and what the implications of this are) or whether it is treated just as a temporary license despite being marked as persistent.
Presently this is using a key also used for real content. This should be migrated to a different key if possible.
The
update()
algorithm says the CDM should "Reject promise with a newly created TypeError" if a persistable license is provided to a session type other than"persistent-license"
and vice versa.The drmtoday server appears to request a different license based on a custom header (see
getCustomHeaders()
indrm-messagehandler.js
), so we should be able to test these negative cases.Note that failing this test could cause a key to be unexpectedly persisted, which could hide problems in other tests. It might be good to have a license with a key that does not appear in other tests.
The text was updated successfully, but these errors were encountered: