Bug 748967: disable non-profile install locations for add-ons for the Web app runtime, r=myk
authorGavin Sharp <gavin@gavinsharp.com>
Sun, 13 May 2012 22:25:19 -0700
changeset 93887 ba1c1a993a3304805c2056ad69d61f56db711dc2
parent 93886 1541548bee2110e374a6911058ac566ac32b3056
child 93888 984073312d578c6c2781feb53cb3bf3052c164f6
push id9367
push usergsharp@mozilla.com
push dateMon, 14 May 2012 18:52:54 +0000
treeherdermozilla-inbound@ba1c1a993a33 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmyk
bugs748967
milestone15.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 748967: disable non-profile install locations for add-ons for the Web app runtime, r=myk
webapprt/prefs.js
--- a/webapprt/prefs.js
+++ b/webapprt/prefs.js
@@ -1,6 +1,9 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 pref("browser.chromeURL", "chrome://webapprt/content/webapp.xul");
 pref("browser.download.folderList", 1);
+
+// Disable all add-on locations other than the profile
+pref("extensions.enabledScopes", 1);