mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 814195 prerequisite: fix tests that do gczeal stuff to not enumerate the window for the first time while gc-ing on every allocation. Otherwise our hang detector kicks in and kills us. rs=jorendorff
This commit is contained in:
parent
7709510c6a
commit
bce83c24d3
@ -26,6 +26,10 @@ function test()
|
||||
}
|
||||
else
|
||||
{
|
||||
// Enumerate the global once before we turn on gczeal, so we're not
|
||||
// trying to do all the enumerate hook object creation with a gc on
|
||||
// every object, because that makes tests time out.
|
||||
for (z in this);
|
||||
jit(true);
|
||||
gczeal(2);
|
||||
|
||||
|
@ -19,6 +19,10 @@ if (typeof gczeal == 'undefined')
|
||||
}
|
||||
else
|
||||
{
|
||||
// Enumerate the global once before we turn on gczeal, so we're not
|
||||
// trying to do all the enumerate hook object creation with a gc on
|
||||
// every object, because that makes tests time out.
|
||||
for (z in this);
|
||||
jit(true);
|
||||
gczeal(2);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user