bug1692833.js (443B)
1 // |jit-test| skip-if: getBuildConfiguration('pbl') 2 g13 = newGlobal({newCompartment: true}) 3 g13.parent = this; 4 g13.eval("(" + function() { 5 Debugger(parent).onExceptionUnwind = function(frame) { 6 frame.older; 7 } 8 } + ")()"); 9 10 function foo(depth) { 11 try { 12 if (depth > 0) { 13 bar(depth - arguments.length); 14 } else { 15 throw 1; 16 } 17 } catch (e) { throw e } 18 } 19 function bar(depth) { 20 foo(depth); 21 } 22 23 try { 24 foo(50); 25 } catch {}