michael@0: function TestCase(n, d, e, a) this.expect = e; michael@0: function reportCompare(expected, actual, description) { michael@0: typeof actual michael@0: } michael@0: expect = 1; michael@0: var summary = 'Do not assert: top < ss->printer->script->depth'; michael@0: var actual = 'No Crash'; michael@0: var expect = 'No Crash'; michael@0: test(); michael@0: function test() { michael@0: try { michael@0: p = [1].some(function (y) test()) ? 4 : 0x0041 michael@0: } catch (ex) {} michael@0: reportCompare(expect, actual, summary) michael@0: } michael@0: test(); michael@0: TestCase(); michael@0: test()