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

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