blob: 2f6d65d061b3f4c1c50bc2b3b0a035a9e54137a8 [file] [log] [blame]
// Test that baseline frames are marked as debuggee when resuming from
// throwing.
var g = newGlobal();
var dbg = new Debugger(g);
var hits = 0;
dbg.onEnterFrame = function (f) { hits++; };
try {
g.eval("for (c in (function() { yield })()) h");
} catch (e) {
}
assertEq(hits, 2);