summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/bug-1564012.js
blob: b51f9e16fcb848fe5241615915224e891517638d (plain)
1
2
3
4
5
6
7
8
fullcompartmentchecks(true);
var g = newGlobal({
    newCompartment: true
});
g.eval("function*f(){debugger;yield}");
var dbg = new Debugger(g);
dbg.onDebuggerStatement = function(frame) {};
g.f().next();