summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/Debugger-findObjects-11.js
blob: 8c50a95ed6ec3194beec99236cde886e6a9e66aa (plain)
1
2
3
4
5
6
7
// This shouldn't segfault.

var g = newGlobal({newCompartment: true});
g.eval(`function f() { return function() {
  function g() {}
}; }`);
new Debugger(g).findObjects();