Bug 1138154 - Change default plugin state to "never activate" in Thunderbird. r=mkmelin, a=rkent
authoraleth <aleth@instantbird.org>
Mon, 06 Apr 2015 21:15:14 +0200
changeset 25928 ed7df48ef50177508c91d6946732341f1d6d1549
parent 25927 7b7d20c7a1973ba6add2e19bdf20f307e0d09f34
child 25929 a52dfd4f91feffbaa56993133202316ed551d118
push id1850
push userclokep@gmail.com
push dateWed, 08 Mar 2017 19:29:12 +0000
treeherdercomm-esr52@028df196b2d9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmkmelin, rkent
bugs1138154
Bug 1138154 - Change default plugin state to "never activate" in Thunderbird. r=mkmelin, a=rkent
mail/app/profile/all-thunderbird.js
--- a/mail/app/profile/all-thunderbird.js
+++ b/mail/app/profile/all-thunderbird.js
@@ -748,19 +748,29 @@ pref("plugins.hide_infobar_for_outdated_
 pref("plugins.use_layers", false);
 pref("plugins.hide_infobar_for_carbon_failure_plugin", false);
 #endif
 
 pref("plugins.update.url", "https://www.mozilla.org/%LOCALE%/plugincheck/");
 pref("plugins.update.notifyUser", false);
 pref("plugins.crash.supportUrl", "https://live.mozillamessaging.com/%APP%/plugin-crashed?locale=%LOCALE%&version=%VERSION%&os=%OS%&buildid=%APPBUILDID%");
 
-// let all plugins except Flash default to click-to-play
-pref("plugin.default.state", 1);
+// Click-to-play has not been ported for TB yet, see bug 814168.
+// The default plugin state should be changed to "ask to activate" when this
+// has been done.
+pref("plugins.click_to_play", false);
+// Disable by default.
+pref("plugin.default.state", 0);
+
+// Plugins bundled in XPIs are enabled by default.
+pref("plugin.defaultXpi.state", 2);
+
+// Flash is enabled and Java is disabled by default.
 pref("plugin.state.flash", 2);
+pref("plugin.state.java", 0);
 
 // Windows taskbar support
 #ifdef XP_WIN
 pref("mail.taskbar.lists.enabled", true);
 pref("mail.taskbar.lists.tasks.enabled", true);
 #endif
 
 // Account provisioner.