diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2017-12-13 12:07:12 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-02-24 10:20:45 +0100 |
commit | 46ad1199deeaf6ba2db31fb3398d3eaa9abdbb2e (patch) | |
tree | bdb1316d0388f03c6b7e4171f56f5bac46c41d87 /dom/webidl | |
parent | 55d03738f9f79e30bab6294b023176d1a65ab5c3 (diff) | |
download | uxp-46ad1199deeaf6ba2db31fb3398d3eaa9abdbb2e.tar.gz |
Don't build EME-specific subroutines without EME.
- Checks for restricted or encrypted content
- Dispatching 'encrypted' events
- Dispatching 'key needed' events
- HTML Media Element media keys system
- EME telemetry
- HTML Media Element EME API
This is the main bulk for #26, isolating EME-specific code.
Diffstat (limited to 'dom/webidl')
-rw-r--r-- | dom/webidl/HTMLMediaElement.webidl | 2 | ||||
-rw-r--r-- | dom/webidl/moz.build | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/dom/webidl/HTMLMediaElement.webidl b/dom/webidl/HTMLMediaElement.webidl index 456579ec15..313686dacb 100644 --- a/dom/webidl/HTMLMediaElement.webidl +++ b/dom/webidl/HTMLMediaElement.webidl @@ -153,6 +153,7 @@ partial interface HTMLMediaElement { attribute EventHandler onmozinterruptend; }; +#ifdef MOZ_EME // Encrypted Media Extensions partial interface HTMLMediaElement { [Pref="media.eme.apiVisible"] @@ -168,6 +169,7 @@ partial interface HTMLMediaElement { [Pref="media.eme.apiVisible"] attribute EventHandler onwaitingforkey; }; +#endif // This is just for testing partial interface HTMLMediaElement { diff --git a/dom/webidl/moz.build b/dom/webidl/moz.build index f24c366e82..5dc6377999 100644 --- a/dom/webidl/moz.build +++ b/dom/webidl/moz.build @@ -9,6 +9,7 @@ GENERATED_WEBIDL_FILES = [ ] PREPROCESSED_WEBIDL_FILES = [ + 'HTMLMediaElement.webidl', 'Navigator.webidl', 'Node.webidl', 'Promise.webidl', @@ -210,7 +211,6 @@ WEBIDL_FILES = [ 'HTMLLIElement.webidl', 'HTMLLinkElement.webidl', 'HTMLMapElement.webidl', - 'HTMLMediaElement.webidl', 'HTMLMenuElement.webidl', 'HTMLMenuItemElement.webidl', 'HTMLMetaElement.webidl', |