Attachment #8355122: ifdef-plugin-cloaking.patch for bug #952602

View | Details | Raw Unified | Return to bug 952602
Collapse All | Expand All

(-)a/modules/libpref/src/init/all.js (+4 lines)
Line     Link Here 
 Lines 1893-1909   pref("plugins.load_appdir_plugins", fals Link Here 
1893
pref("plugins.click_to_play", false);
1893
pref("plugins.click_to_play", false);
1894
1894
1895
// A comma-delimited list of plugin name prefixes matching plugins that will be
1895
// A comma-delimited list of plugin name prefixes matching plugins that will be
1896
// exposed when enumerating navigator.plugins[]. For example, prefix "Shockwave"
1896
// exposed when enumerating navigator.plugins[]. For example, prefix "Shockwave"
1897
// matches both Adobe Flash Player ("Shockwave Flash") and Adobe Shockwave
1897
// matches both Adobe Flash Player ("Shockwave Flash") and Adobe Shockwave
1898
// Player ("Shockwave for Director"). To hide all plugins from enumeration, use
1898
// Player ("Shockwave for Director"). To hide all plugins from enumeration, use
1899
// the empty string "" to match no plugin names. To allow all plugins to be
1899
// the empty string "" to match no plugin names. To allow all plugins to be
1900
// enumerated, use the string "*" to match all plugin names.
1900
// enumerated, use the string "*" to match all plugin names.
1901
#ifdef EARLY_BETA_OR_EARLIER
1901
pref("plugins.enumerable_names", "Java,Nexus Personal,QuickTime,Shockwave");
1902
pref("plugins.enumerable_names", "Java,Nexus Personal,QuickTime,Shockwave");
1903
#else
1904
pref("plugins.enumerable_names", "*");
1905
#endif
1902
1906
1903
// The default value for nsIPluginTag.enabledState (STATE_ENABLED = 2)
1907
// The default value for nsIPluginTag.enabledState (STATE_ENABLED = 2)
1904
pref("plugin.default.state", 2);
1908
pref("plugin.default.state", 2);
1905
1909
1906
// How long in minutes we will allow a plugin to work after the user has chosen
1910
// How long in minutes we will allow a plugin to work after the user has chosen
1907
// to allow it "now"
1911
// to allow it "now"
1908
pref("plugin.sessionPermissionNow.intervalInMinutes", 60);
1912
pref("plugin.sessionPermissionNow.intervalInMinutes", 60);
1909
// How long in days we will allow a plugin to work after the user has chosen
1913
// How long in days we will allow a plugin to work after the user has chosen

Return to bug 952602