blob: 22a8c390cc84d76fb7a31e4744f42dd06e509857 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// |jit-test| skip-if: !('oomTest' in this) || helperThreadCount() === 0
var lfGlobal = newGlobal();
for (lfLocal in this) {
if (!(lfLocal in lfGlobal)) {
lfGlobal[lfLocal] = this[lfLocal];
}
}
const script = 'oomTest(() => getBacktrace({args: true, locals: "123795", thisprops: true}));';
lfGlobal.offThreadCompileScript(script);
lfGlobal.runOffThreadScript();
|