blob: 216cacb39a1d3e32eef8361d007eef759adb5f96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// |jit-test| skip-if: !('oomTest' in this) || helperThreadCount() === 0
oomTest(() => {
offThreadCompileScript(`
function f(x) {
class of extends ("ABCDEFGHIJK") {
test() { return true; };
static get() {};
static get() {};
}
return 1 + f(x - 1);
}
return g("try{}catch(e){}", n);
`);
runOffThreadScript();
});
|