Bug 1446079 - Remove test_predictor.js setting of new-cache preferences that are no longer needed. r=hurley

These are the only occurrences of "browser.cache.use_new_backend" in the tree.

MozReview-Commit-ID: IOSw0uUD5FW

--HG--
extra : rebase_source : c6c7e6abfdf2c3ff23c1f18e36110781f6b5580b
This commit is contained in:
L. David Baron 2018-03-16 08:45:08 -07:00
parent 83cda71863
commit ed8327b354

View File

@ -603,8 +603,6 @@ function run_test_real() {
Services.prefs.setBoolPref("network.predictor.enabled", true);
Services.prefs.setBoolPref("network.predictor.cleaned-up", true);
Services.prefs.setBoolPref("browser.cache.use_new_backend_temp", true);
Services.prefs.setIntPref("browser.cache.use_new_backend", 1);
Services.prefs.setBoolPref("network.predictor.doing-tests", true);
predictor = Cc["@mozilla.org/network/predictor;1"].getService(Ci.nsINetworkPredictor);
@ -615,8 +613,6 @@ function run_test_real() {
Services.prefs.clearUserPref("network.predictor.preconnect-min-confidence");
Services.prefs.clearUserPref("network.predictor.enabled");
Services.prefs.clearUserPref("network.predictor.cleaned-up");
Services.prefs.clearUserPref("browser.cache.use_new_backend_temp");
Services.prefs.clearUserPref("browser.cache.use_new_backend");
Services.prefs.clearUserPref("network.predictor.preresolve-min-confidence");
Services.prefs.clearUserPref("network.predictor.enable-prefetch");
Services.prefs.clearUserPref("network.predictor.prefetch-rolling-load-count");