Bug 757726 - Part 6b: Cloak all plugin names except Flash, Director, Java, and QuickTime. r=johns sr=bsmedberg
authorChris Peterson <cpeterson@mozilla.com>
Thu, 21 Nov 2013 19:44:38 -0800
changeset 157357 49cab4f07faf0168cef26a8abe241e8be668e020
parent 157356 ae4cfe0a9bdbca44b5c741c04dd5f7314c8a09e8
child 157358 957e0c3927a18fd38409bc89ba3fc302281f61f9
push id270
push userpvanderbeken@mozilla.com
push dateThu, 06 Mar 2014 09:24:21 +0000
reviewersjohns, bsmedberg
bugs757726
milestone28.0a1
Bug 757726 - Part 6b: Cloak all plugin names except Flash, Director, Java, and QuickTime. r=johns sr=bsmedberg
modules/libpref/src/init/all.js
--- a/modules/libpref/src/init/all.js
+++ b/modules/libpref/src/init/all.js
@@ -2034,17 +2034,17 @@ pref("plugins.load_appdir_plugins", fals
 pref("plugins.click_to_play", false);
 
 // A comma-delimited list of plugin name prefixes matching plugins that will be
 // exposed when enumerating navigator.plugins[]. For example, prefix "Shockwave"
 // matches both Adobe Flash Player ("Shockwave Flash") and Adobe Shockwave
 // Player ("Shockwave for Director"). To hide all plugins from enumeration, use
 // the empty string "" to match no plugin names. To allow all plugins to be
 // enumerated, use the string "*" to match all plugin names.
-pref("plugins.enumerable_names", "*");
+pref("plugins.enumerable_names", "Java,QuickTime,Shockwave");
 
 // The default value for nsIPluginTag.enabledState (STATE_ENABLED = 2)
 pref("plugin.default.state", 2);
 
 // How long in minutes we will allow a plugin to work after the user has chosen
 // to allow it "now"
 pref("plugin.sessionPermissionNow.intervalInMinutes", 60);
 // How long in days we will allow a plugin to work after the user has chosen