summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/Debugger-findObjects-10.js
blob: d490dac26c1f1c7e2c94ab0d96337f391c55031c (plain)
1
2
3
4
5
// Debugger.prototype.findObjects should not expose internal JSFunction objects.

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