Bug 1282047 - Trim a loop limit from 5e5 to 1e5 so as to hopefully not time out on cgc builds. r=red, a=KWierso

This commit is contained in:
Jeff Walden 2016-07-15 16:15:55 -07:00
Родитель 071a03c90c
Коммит 31cd6cfe1f
1 изменённых файлов: 4 добавлений и 3 удалений

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

@ -15,9 +15,10 @@ print(BUGNUMBER + ": " + summary);
var proxy = Proxy.revocable([], {}).proxy;
// A depth of 500000 ought to be enough for any platform to consume its entire
// stack. If not, the assertEq should check for the proper expected value.
for (var i = 0; i < 5e5; i++)
// A depth of 100000 ought to be enough for any platform to consume its entire
// stack, hopefully without making any recalcitrant platforms time out. If no
// timeout happens, the assertEq checks for the proper expected value.
for (var i = 0; i < 1e5; i++)
proxy = new Proxy(proxy, {});
try