summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/bug1232655.js
blob: b55acdc8529f31504ac08fa067cbeddc4312c9aa (plain)
1
2
3
4
5
g = newGlobal();
g.log = "";
Debugger(g).onDebuggerStatement = frame => frame.eval("log += this.Math.toString();");
g.eval("(function() { with ({}) debugger })()");
assertEq(g.log, "[object Math]");