diff -r 000000000000 -r 6474c204b198 js/src/jit-test/tests/jaeger/recompile/bug661859.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/js/src/jit-test/tests/jaeger/recompile/bug661859.js Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,18 @@ +function TestCase(n, d, e, a) this.expect = e; +function reportCompare(expected, actual, description) { + typeof actual +} +expect = 1; +var summary = 'Do not assert: top < ss->printer->script->depth'; +var actual = 'No Crash'; +var expect = 'No Crash'; +test(); +function test() { + try { + p = [1].some(function (y) test()) ? 4 : 0x0041 + } catch (ex) {} + reportCompare(expect, actual, summary) +} +test(); +TestCase(); +test()