Bug 806253 - Reftest needs to set prefs to disable blocklist updates, to avoid having them reported as leaks when they are still running at shutdown

--HG--
extra : rebase_source : 0a8103ec19056a71a150e5fe794807518f0aaf0e
This commit is contained in:
Phil Ringnalda 2012-10-29 15:10:07 -07:00
Родитель 344f3f5f31
Коммит acda0615b5
2 изменённых файлов: 4 добавлений и 0 удалений

2
layout/tools/reftest/bootstrap.js поставляемый
Просмотреть файл

@ -27,6 +27,8 @@ function setDefaultPrefs() {
// Disable addon updates and prefetching so we don't leak them
branch.setBoolPref("extensions.update.enabled", false);
branch.setBoolPref("extensions.getAddons.cache.enabled", false);
// Disable blocklist updates so we don't have them reported as leaks
branch.setBoolPref("extensions.blocklist.enabled", false);
// Make url-classifier updates so rare that they won't affect tests
branch.setIntPref("urlclassifier.updateinterval", 172800);
// Disable high-quality downscaling, since it makes reftests more difficult.

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

@ -91,6 +91,8 @@ RefTestCmdLineHandler.prototype =
// Disable addon updates and prefetching so we don't leak them
branch.setBoolPref("extensions.update.enabled", false);
branch.setBoolPref("extensions.getAddons.cache.enabled", false);
// Disable blocklist updates so we don't have them reported as leaks
branch.setBoolPref("extensions.blocklist.enabled", false);
// Make url-classifier updates so rare that they won't affect tests
branch.setIntPref("urlclassifier.updateinterval", 172800);
// Disable high-quality downscaling, since it makes reftests more difficult.