Frame-onStep-21.js (410B)
1 // |jit-test| error: too much recursion 2 3 // Generator closed due to over-recursion shouldn't cause crash around onStep. 4 5 async function* foo() { 6 const g = this.newGlobal({sameZoneAs: this}); 7 g.Debugger(this).getNewestFrame().onStep = g.evaluate(`(function() {})`); 8 return {}; 9 } 10 function f() { 11 try { 12 f.apply(undefined, f); 13 } catch { 14 drainJobQueue(); 15 foo().next(); 16 } 17 } 18 foo().next(); 19 f();