From 5b9e653f4d1ade732dc1971e6d7939fa96e219f7 Mon Sep 17 00:00:00 2001 From: Gian-Carlo Pascutto Date: Thu, 23 Feb 2012 18:01:25 +0100 Subject: [PATCH] Bug 729928 - Cleanup unused cache preferences. r=dcamp --- b2g/app/b2g.js | 3 --- browser/app/profile/firefox.js | 6 ------ mobile/android/app/mobile.js | 3 --- mobile/xul/app/mobile.js | 3 --- 4 files changed, 15 deletions(-) diff --git a/b2g/app/b2g.js b/b2g/app/b2g.js index 0acb803177ce..a19b85191f21 100644 --- a/b2g/app/b2g.js +++ b/b2g/app/b2g.js @@ -353,9 +353,6 @@ pref("urlclassifier.gethashtables", "goog-phish-shavar,goog-malware-shavar"); // the database. pref("urlclassifier.confirm-age", 2700); -// Maximum size of the sqlite3 cache during an update, in bytes -pref("urlclassifier.updatecachemax", 4194304); - // URL for checking the reason for a malware warning. pref("browser.safebrowsing.malware.reportURL", "http://safebrowsing.clients.google.com/safebrowsing/diagnostic?client=%NAME%&hl=%LOCALE%&site="); #endif diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js index 49946f5f9e32..419742d16518 100644 --- a/browser/app/profile/firefox.js +++ b/browser/app/profile/firefox.js @@ -759,12 +759,6 @@ pref("urlclassifier.gethashtables", "goog-phish-shavar,goog-malware-shavar"); // the database. pref("urlclassifier.confirm-age", 2700); -// Maximum size of the sqlite3 cache during an update, in bytes -pref("urlclassifier.updatecachemax", 41943040); - -// Maximum size of the sqlite3 cache for lookups, in bytes -pref("urlclassifier.lookupcachemax", 1048576); - // URL for checking the reason for a malware warning. pref("browser.safebrowsing.malware.reportURL", "http://safebrowsing.clients.google.com/safebrowsing/diagnostic?client=%NAME%&hl=%LOCALE%&site="); diff --git a/mobile/android/app/mobile.js b/mobile/android/app/mobile.js index 3dfb834db005..901f1ae75fb7 100644 --- a/mobile/android/app/mobile.js +++ b/mobile/android/app/mobile.js @@ -662,9 +662,6 @@ pref("urlclassifier.gethashtables", "goog-phish-shavar,goog-malware-shavar"); // the database. pref("urlclassifier.confirm-age", 2700); -// Maximum size of the sqlite3 cache during an update, in bytes -pref("urlclassifier.updatecachemax", 4194304); - // URL for checking the reason for a malware warning. pref("browser.safebrowsing.malware.reportURL", "http://safebrowsing.clients.google.com/safebrowsing/diagnostic?client=%NAME%&hl=%LOCALE%&site="); #endif diff --git a/mobile/xul/app/mobile.js b/mobile/xul/app/mobile.js index 099f6327c21d..1f9d6bc6a31a 100644 --- a/mobile/xul/app/mobile.js +++ b/mobile/xul/app/mobile.js @@ -663,9 +663,6 @@ pref("urlclassifier.gethashtables", "goog-phish-shavar,goog-malware-shavar"); // the database. pref("urlclassifier.confirm-age", 2700); -// Maximum size of the sqlite3 cache during an update, in bytes -pref("urlclassifier.updatecachemax", 4194304); - // URL for checking the reason for a malware warning. pref("browser.safebrowsing.malware.reportURL", "http://safebrowsing.clients.google.com/safebrowsing/diagnostic?client=%NAME%&hl=%LOCALE%&site="); #endif