Bug 1512283 - Turn off doorhanger in Nightly. r=cpearce
authoralwu <alwu@mozilla.com>
Wed, 05 Dec 2018 20:28:52 +0000
changeset 449485 3f5a132b7e4f7579209ca906f9ec79059e426f26
parent 449484 73f92838946aac0aab5760bada1a1e8e2218a3e1
child 449486 48eb1f0778e6ea78ef272b1a7103d8f227f16d5e
push id74299
push useralwu@mozilla.com
push dateWed, 05 Dec 2018 22:29:00 +0000
treeherderautoland@3f5a132b7e4f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerscpearce
bugs1512283
milestone65.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 1512283 - Turn off doorhanger in Nightly. r=cpearce Now We decide to ship block-autoplay without doorhanger, so we would turn the pref off in Nightly. Differential Revision: https://phabricator.services.mozilla.com/D13853
browser/app/profile/firefox.js
--- a/browser/app/profile/firefox.js
+++ b/browser/app/profile/firefox.js
@@ -1468,19 +1468,19 @@ pref("media.gmp.trial-create.enabled", t
 pref("media.gmp-widevinecdm.visible", true);
 pref("media.gmp-widevinecdm.enabled", true);
 #endif
 
 #ifdef NIGHTLY_BUILD
 // Switch block autoplay logic to v2, and enable UI.
 pref("media.autoplay.enabled.user-gestures-needed", true);
 // Allow asking for permission to autoplay to appear in UI.
-pref("media.autoplay.ask-permission", true);
+pref("media.autoplay.ask-permission", false);
 // Set Firefox to block autoplay, asking for permission by default.
-pref("media.autoplay.default", 2); // 0=Allowed, 1=Blocked, 2=Prompt
+pref("media.autoplay.default", 1); // 0=Allowed, 1=Blocked, 2=Prompt
 #else
 pref("media.autoplay.default", 0); // 0=Allowed, 1=Blocked, 2=Prompt
 pref("media.autoplay.enabled.user-gestures-needed", false);
 pref("media.autoplay.ask-permission", false);
 #endif
 
 
 // Play with different values of the decay time and get telemetry,