Debian Codegraph @

js/src/jit-test/tests/debug/bug1232655.js

raw
1 g = newGlobal({newCompartment: true});
2 g.log = "";
3 Debugger(g).onDebuggerStatement = frame => frame.eval("log += this.Math.toString();");
4 g.eval("(function() { with ({}) debugger })()");
5 assertEq(g.log, "[object Math]");