Commit 2d88aa4d authored by Arthur Edelstein's avatar Arthur Edelstein
Browse files

Bug 20399: Remove obsolete font attempt prefs

parent 2cef7546
...@@ -1746,12 +1746,6 @@ function torbutton_update_fingerprinting_prefs() { ...@@ -1746,12 +1746,6 @@ function torbutton_update_fingerprinting_prefs() {
if (m_tb_tbb) { if (m_tb_tbb) {
if (mode) { if (mode) {
// Use TBB pref defaults for these two.
if(m_tb_prefs.prefHasUserValue("browser.display.max_font_attempts"))
m_tb_prefs.clearUserPref("browser.display.max_font_attempts");
if(m_tb_prefs.prefHasUserValue("browser.display.max_font_count"))
m_tb_prefs.clearUserPref("browser.display.max_font_count");
// Governed also by the spoof_english dialog.. // Governed also by the spoof_english dialog..
if (m_tb_prefs.getBoolPref("extensions.torbutton.spoof_english")) { if (m_tb_prefs.getBoolPref("extensions.torbutton.spoof_english")) {
m_tb_prefs.setCharPref("intl.accept_languages", "en-US, en"); m_tb_prefs.setCharPref("intl.accept_languages", "en-US, en");
...@@ -1762,9 +1756,6 @@ function torbutton_update_fingerprinting_prefs() { ...@@ -1762,9 +1756,6 @@ function torbutton_update_fingerprinting_prefs() {
m_tb_prefs.setBoolPref("javascript.use_us_english_locale", false); m_tb_prefs.setBoolPref("javascript.use_us_english_locale", false);
} }
} else { } else {
m_tb_prefs.setIntPref("browser.display.max_font_attempts",-1);
m_tb_prefs.setIntPref("browser.display.max_font_count",-1);
if(m_tb_prefs.prefHasUserValue("intl.accept_languages")) if(m_tb_prefs.prefHasUserValue("intl.accept_languages"))
m_tb_prefs.clearUserPref("intl.accept_languages"); m_tb_prefs.clearUserPref("intl.accept_languages");
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment