bug1141154.js (560B)
1 function foo() { 2 (function() { 3 Object.preventExtensions(this); 4 setJitCompilerOption("ion.warmup.trigger", 4); 5 var g = newGlobal({newCompartment: true}); 6 g.debuggeeGlobal = this; 7 g.eval("(" + function () { 8 dbg = new Debugger(debuggeeGlobal); 9 dbg.onExceptionUnwind = function (frame, exc) { 10 var s = '!'; 11 for (var f = frame; f; f = f.older) 12 debuggeeGlobal.log += s; 13 }; 14 } + ")();"); 15 try { 16 j('Number.prototype.toString.call([])'); 17 } catch (exc) {} 18 })(); 19 } foo();