Don't include MediaKeySystemAccess without EME.

This also removes checks for EME content in documents.
This removes practical use of EME by no longer having a keying system. (no-op)
tag #26
This commit is contained in:
wolfbeast 2017-12-13 00:26:07 +01:00 • committed by Roy Tam
commit 90fc779437
5 changed files with 20 additions and 0 deletions

View file

@ -348,12 +348,14 @@ partial interface Navigator {
readonly attribute LegacyMozTCPSocket mozTCPSocket;
};
#ifdef MOZ_EME
partial interface Navigator {
[Pref="media.eme.apiVisible", NewObject]
Promise<MediaKeySystemAccess>
requestMediaKeySystemAccess(DOMString keySystem,
sequence<MediaKeySystemConfiguration> supportedConfigurations);
};
#endif
#ifdef NIGHTLY_BUILD
partial interface Navigator {