blob: a194a92dd0dbcbe9b3d52f3201534e706c510668 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// |jit-test| skip-if: !('oomAtAllocation' in this)
gczeal(10, 10);
try {
throw 0;
} catch {
for (let i = 1; i < 20 ; i++) {
oomAtAllocation(i);
try {
newGlobal();
} catch {}
}
}
|