Bug 870100 followup: disable the thumbnail service in reftest/crashtest as well, a=RyanVM for CLOSED TREE

This commit is contained in:
Gavin Sharp 2013-07-23 11:16:25 -07:00
Родитель 5ba309bbd0
Коммит 9065e1e42c
1 изменённых файлов: 2 добавлений и 0 удалений

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

@ -105,6 +105,8 @@ RefTestCmdLineHandler.prototype =
// Checking whether two files are the same is slow on Windows.
// Setting this pref makes tests run much faster there.
branch.setBoolPref("security.fileuri.strict_origin_policy", false);
// Disable the background thumbnailing service
branch.setBoolPref("browser.pageThumbs.enabled", false);
var wwatch = Components.classes["@mozilla.org/embedcomp/window-watcher;1"]
.getService(nsIWindowWatcher);