1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/basic/bug863084.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,17 @@ 1.4 +// |jit-test| error: too much recursion 1.5 +function f(code) { 1.6 + try { 1.7 + eval(code) 1.8 + } catch (e) {} 1.9 + eval(code) 1.10 +} 1.11 +f("\ 1.12 + z=evalcx('');\ 1.13 + gc();\ 1.14 + z.toString=(function(){\ 1.15 + v=evaluate(\"(Math.atan2(\\\"\\\",this))\",{\ 1.16 + global:z,newContext:7,catchTermination:this\ 1.17 + });\ 1.18 + });\ 1.19 + String(z)\ 1.20 +")