michael@0: actual = ''; michael@0: expected = 'nocrash,'; michael@0: michael@0: function b(a) { michael@0: } michael@0: michael@0: function f(y) { michael@0: function q() { b(y); }; michael@0: q(); michael@0: } michael@0: michael@0: for (var i = 0; i < 1000; ++i) { michael@0: f(i); michael@0: } michael@0: michael@0: appendToActual('nocrash') michael@0: michael@0: michael@0: assertEq(actual, expected)