Bug 1391401 Disable legacy extensions by default on Android r=kmag
authorAndrew Swan <aswan@mozilla.com>
Wed, 13 Sep 2017 13:26:59 -0700
changeset 430275 337bae3d28e485077d8518331171eec33de84b5f
parent 430274 7ad200a781d155df2d4be82f88b0541967eece0e
child 430276 d1dc7082f9e3c5a96f4cce794c48f9e7575f558c
push id7761
push userjlund@mozilla.com
push dateFri, 15 Sep 2017 00:19:52 +0000
treeherdermozilla-beta@c38455951db4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskmag
bugs1391401
milestone57.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 1391401 Disable legacy extensions by default on Android r=kmag MozReview-Commit-ID: 9InGShBHQag
mobile/android/app/mobile.js
--- a/mobile/android/app/mobile.js
+++ b/mobile/android/app/mobile.js
@@ -231,16 +231,18 @@ pref("extensions.compatability.locales.b
 pref("extensions.installDistroAddons", false);
 
 pref("extensions.webextPermissionPrompts", true);
 
 // Add-on content security policies.
 pref("extensions.webextensions.base-content-security-policy", "script-src 'self' https://* moz-extension: blob: filesystem: 'unsafe-eval' 'unsafe-inline'; object-src 'self' https://* moz-extension: blob: filesystem:;");
 pref("extensions.webextensions.default-content-security-policy", "script-src 'self'; object-src 'self';");
 
+pref("extensions.legacy.enabled", false);
+
 /* block popups by default, and notify the user about blocked popups */
 pref("dom.disable_open_during_load", true);
 pref("privacy.popups.showBrowserMessage", true);
 
 /* disable opening windows with the dialog feature */
 pref("dom.disable_window_open_dialog_feature", true);
 pref("dom.disable_window_showModalDialog", true);
 pref("dom.disable_window_print", true);