Debian Codegraph @

js/src/jit-test/tests/debug/Debugger-findObjects-11.js

raw
1 // This shouldn't segfault.
2
3 var g = newGlobal({newCompartment: true});
4 g.eval(`function f() { return function() {
5 function g() {}
6 }; }`);
7 new Debugger(g).findObjects();