summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/bug-800586.js
blob: a8a983c59692050a792bc17b35146e7bf0af5323 (plain)
1
2
3
4
5
6
7
var g = newGlobal();
var dbg = new Debugger();
var gw = dbg.addDebuggee(g);
dbg.onDebuggerStatement = function (f) {
	gw.executeInGlobal("eval('var x = \"A Brief History of Love\"');\n")
};
g.eval('debugger');