bug 755557 - support blocklisting flash versions; r=Unfocused
authorMyk Melez <myk@mozilla.org>
Wed, 13 Jun 2012 08:50:15 -0700
changeset 96586 1e001480c3dad25b905a9ec36eb1857a2a1a60e8
parent 96585 7b447b08eb73ae04ac3bb82d08d31ce497f77a0c
child 96587 8bb0cea0f629ae8f94027906cac35fdc2255a187
child 96637 4f80d093ff2da516e70d303fbf4552435408f125
push id10616
push usermyk@mozilla.com
push dateWed, 13 Jun 2012 15:50:27 +0000
treeherdermozilla-inbound@1e001480c3da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersUnfocused
bugs755557
milestone16.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 755557 - support blocklisting flash versions; r=Unfocused
webapprt/prefs.js
--- a/webapprt/prefs.js
+++ b/webapprt/prefs.js
@@ -9,8 +9,18 @@ pref("browser.download.folderList", 1);
 pref("extensions.enabledScopes", 1);
 // Auto-disable any add-ons that are "dropped in" to the profile
 pref("extensions.autoDisableScopes", 1);
 // Disable add-on installation via the web-exposed APIs
 pref("xpinstall.enabled", false);
 
 // Whether or not we've ever run.  We use this to set permissions on firstrun.
 pref("webapprt.firstrun", false);
+
+// Blocklist preferences
+pref("extensions.blocklist.enabled", true);
+pref("extensions.blocklist.interval", 86400);
+// Controls what level the blocklist switches from warning about items to forcibly
+// blocking them.
+pref("extensions.blocklist.level", 2);
+pref("extensions.blocklist.url", "https://addons.mozilla.org/blocklist/3/%APP_ID%/%APP_VERSION%/%PRODUCT%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/%PING_COUNT%/%TOTAL_PING_COUNT%/%DAYS_SINCE_LAST_PING%/");
+pref("extensions.blocklist.detailsURL", "https://www.mozilla.com/%LOCALE%/blocklist/");
+pref("extensions.blocklist.itemURL", "https://addons.mozilla.org/%LOCALE%/%APP%/blocked/%blockID%");