Bug 1337232 - enable pref media.block-autoplay-until-in-foreground by default. draft
authorAlastor Wu <alwu@mozilla.com>
Thu, 02 Mar 2017 18:11:01 +0800
changeset 491830 a7adfd1659549b02c72f923be851f91f05fd68db
parent 491827 1c7b1070710b18f1e0c55b8c4715682d3296491c
child 547563 496ae89cbef37ddd0b7278d694499a8ae44c765b
push id47433
push useralwu@mozilla.com
push dateThu, 02 Mar 2017 10:11:28 +0000
bugs1337232
milestone54.0a1
Bug 1337232 - enable pref media.block-autoplay-until-in-foreground by default. MozReview-Commit-ID: IcAKpNkVVf1
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -5574,21 +5574,17 @@ pref("dom.maxHardwareConcurrency", 16);
 pref("osfile.reset_worker_delay", 30000);
 #endif
 
 #if !defined(MOZ_WIDGET_GONK) && !defined(MOZ_WIDGET_ANDROID)
 pref("dom.webkitBlink.dirPicker.enabled", true);
 pref("dom.webkitBlink.filesystem.enabled", true);
 #endif
 
-#ifdef NIGHTLY_BUILD
 pref("media.block-autoplay-until-in-foreground", true);
-#else
-pref("media.block-autoplay-until-in-foreground", false);
-#endif
 
 #ifdef MOZ_STYLO
 // Is the Servo-backed style system enabled?
 pref("layout.css.servo.enabled", true);
 #endif
 
 // HSTS Priming
 // If a request is mixed-content, send an HSTS priming request to attempt to