Bug 941137 - Alter plugin defaults on the beta/release channel so that Java is still click-to-activate by default, but other plugins are not for the next few releases while we articulate a potential whitelist/transition strategy, r=gfritzsche

This commit is contained in:
Benjamin Smedberg 2013-11-20 15:33:05 -05:00
Родитель 97270cd143
Коммит 53ab4320ca
1 изменённых файлов: 10 добавлений и 1 удалений

Просмотреть файл

@ -659,9 +659,18 @@ pref("plugins.update.notifyUser", false);
pref("plugins.click_to_play", true);
// let all plugins except Flash default to click-to-play
#ifdef RELEASE_BUILD
// For now, plugins other than Java and Flash are enabled in beta/release
// and click-to-activate in earlier channels.
pref("plugin.default.state", 2);
#else
pref("plugin.default.state", 1);
#endif
// Flash is enabled by default, and Java is click-to-activate by default on
// all channels.
pref("plugin.state.flash", 2);
pref("plugin.state.java", 1);
// display door hanger if flash not installed
pref("plugins.notifyMissingFlash", true);