Source code
Revision control
Copy as Markdown
Other Tools
// Test that baseline frames are marked as debuggee when resuming from
// throwing.
var g = newGlobal({newCompartment: true});
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);