RESOLVED INVALID85447
Prevent Encrypted Media Extensions events from being reported when !encryptedMediaEnabled()
https://bugs.webkit.org/show_bug.cgi?id=85447
Summary Prevent Encrypted Media Extensions events from being reported when !encrypted...
David Dorwin
Reported 2012-05-02 18:49:47 PDT
The [V8EnabledAtRuntime=encryptedMedia] markup in the IDL prevents the Encrypted Media Extensions methods from being called because they are not available to JavaScript. However, at least one of the events and the new error could be reported by the port without the page initiating it. Specifically, a needkey event may be fired if the port detects and encrypted file. Also, it might report MEDIA_ERR_ENCRYPTED. Rather than modify the behavior of the port, which require passing encryptedMediaEnabled() to various layers, we should prevent the new events and error from being reported. It should be safe to just drop the event and convert MEDIA_ERR_ENCRYPTED to MEDIA_ERR_DECODE since decode is where encrypted content would cause a failure.
Attachments
Charlie Turner
Comment 1 2020-05-04 07:48:04 PDT
This is from old versions of the spec, don't believe it's an issue today.
Note You need to log in before you can comment on or make changes to this bug.