Bug 1300355 - Part 1: Increase frequency of GC/CC during reftests. r=dbaron

This commit is contained in:
Matt Woodrow 2016-09-28 13:29:46 +13:00
Родитель 06a8279cb0
Коммит 5fa3fe2fb1
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -143,7 +143,7 @@ function StartTestURI(type, uri, timeout)
// the JS ref tests disable the normal browser chrome and do not otherwise
// create substatial DOM garbage, the CC tends not to run enough normally.
++gTestCount;
if (gTestCount % 3000 == 0) {
if (gTestCount % 1000 == 0) {
CU.forceGC();
CU.forceCC();
}