зеркало из https://github.com/mozilla/pjs.git
Bug 595831: Stop tests from accessing the update servers by default. r=robstrong, a=tests
This commit is contained in:
Родитель
7fe4d31af2
Коммит
e7bbf3bf68
|
@ -1013,6 +1013,10 @@ Services.prefs.setBoolPref("extensions.showMismatchUI", false);
|
|||
// By default, don't cache add-ons in AddonRepository.jsm
|
||||
Services.prefs.setBoolPref("extensions.getAddons.cache.enabled", false);
|
||||
|
||||
// Point update checks to the local machine for fast failures
|
||||
Services.prefs.setCharPref("extensions.update.url", "http://127.0.0.1/updateURL");
|
||||
Services.prefs.setCharPref("extensions.blocklist.url", "http://127.0.0.1/blocklistURL");
|
||||
|
||||
// Register a temporary directory for the tests.
|
||||
const gTmpD = gProfD.clone();
|
||||
gTmpD.append("temp");
|
||||
|
|
Загрузка…
Ссылка в новой задаче