Debian Codegraph @

js/src/jit-test/tests/gc/bug-1231386.js

raw
1 // |jit-test| slow
2
3 function f1() {}
4 function f2() {}
5 r = [function() {}, function() {}, [], function() {}, f1, function() {}, f2];
6 l = [0];
7 function f3() {
8 return {
9 a: 0
10 };
11 }
12 var x = f3();
13 var h = newGlobal({newCompartment: true});
14 var dbg = new Debugger;
15 dbg.addDebuggee(h);
16 oomTest(() => getBacktrace({
17 thisprops: gc()
18 }));