Bug 1598424 - Co-located EME prefs (prefixed media.eme) to improve code structure. r=bryce
authorJason <burtonljas@gmail.com>
Tue, 17 Dec 2019 14:46:29 +0000
changeset 507398 4c7d7cd4c18633c6f376df56386da0b035664dfb
parent 507397 9393fc623a988bd339b0f955c0e36f59941ec27f
child 507399 a78616dc94d07b725becb47befa69f1f5d7c5298
push id36927
push useraiakab@mozilla.com
push dateWed, 18 Dec 2019 00:51:03 +0000
treeherdermozilla-central@35af0b925215 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbryce
bugs1598424
milestone73.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1598424 - Co-located EME prefs (prefixed media.eme) to improve code structure. r=bryce The four prefs moved in this revision were relocated to single a location with other EME related prefs. Grouping like prefs improves the code structure. Differential Revision: https://phabricator.services.mozilla.com/D55388
modules/libpref/init/StaticPrefList.yaml
--- a/modules/libpref/init/StaticPrefList.yaml
+++ b/modules/libpref/init/StaticPrefList.yaml
@@ -5833,16 +5833,37 @@
 # an optional encryption scheme as part of MediaKeySystemMediaCapability
 # objects. If a scheme is present when we check for support, we must ensure we
 # support that scheme in order to provide key system access.
 - name: media.eme.encrypted-media-encryption-scheme.enabled
   type: bool
   value: false
   mirror: always
 
+- name: media.eme.audio.blank
+  type: RelaxedAtomicBool
+  value: false
+  mirror: always
+
+- name: media.eme.video.blank
+  type: RelaxedAtomicBool
+  value: false
+  mirror: always
+
+- name: media.eme.chromium-api.video-shmems
+  type: RelaxedAtomicUint32
+  value: 6
+  mirror: always
+
+# Is support for MediaKeys.getStatusForPolicy enabled?
+- name: media.eme.hdcp-policy-check.enabled
+  type: bool
+  value: false
+  mirror: always
+
 - name: media.clearkey.persistent-license.enabled
   type: bool
   value: false
   mirror: always
 
 - name: media.cloneElementVisually.testing
   type: bool
   value: false
@@ -6088,30 +6109,16 @@
   value: true
   mirror: always
 
 - name: media.gmp.decoder.enabled
   type: RelaxedAtomicBool
   value: false
   mirror: always
 
-- name: media.eme.audio.blank
-  type: RelaxedAtomicBool
-  value: false
-  mirror: always
-- name: media.eme.video.blank
-  type: RelaxedAtomicBool
-  value: false
-  mirror: always
-
-- name: media.eme.chromium-api.video-shmems
-  type: RelaxedAtomicUint32
-  value: 6
-  mirror: always
-
 # Whether to suspend decoding of videos in background tabs.
 - name: media.suspend-bkgnd-video.enabled
   type: RelaxedAtomicBool
   value: true
   mirror: always
 
 # Delay, in ms, from time window goes to background to suspending
 # video decoders. Defaults to 10 seconds.
@@ -6466,22 +6473,16 @@
 
 # HTMLMediaElement.allowedToPlay should be exposed to web content when
 # block autoplay rides the trains to release. Until then, Nightly only.
 - name: media.allowed-to-play.enabled
   type: bool
   value: @IS_NIGHTLY_BUILD@
   mirror: always
 
-# Is support for MediaKeys.getStatusForPolicy enabled?
-- name: media.eme.hdcp-policy-check.enabled
-  type: bool
-  value: false
-  mirror: always
-
 # Is support for MediaDevices.ondevicechange enabled?
 - name: media.ondevicechange.enabled
   type: bool
   value: true
   mirror: always
 
 # Is support for HTMLMediaElement.seekToNextFrame enabled?
 - name: media.seekToNextFrame.enabled