EME spec defines TypeError for MediaKey exceptions, but in chromium there's no such error. Instead, there's INVALID_ACCESS_ERROR.
There are several instances in the EME spec where the CDM is to reject the promise with a TypeError. (This occurs when invalid/incorrect data is provided.)
Chromium's internal MediaKeys interface does not have a way to report such errors. This probably means we aren't handling some cases as defined in the spec. Also, some implementations are forced to use an exception, such as INVALID_ACCESS_ERROR.
Comment 1 by ddorwin@chromium.org
, Sep 14 2016Labels: EME-compat
Owner: ----
Status: Available (was: Assigned)