diff -r 000000000000 -r 6474c204b198 js/src/jit-test/tests/auto-regress/bug728509.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/js/src/jit-test/tests/auto-regress/bug728509.js Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,14 @@ +// Binary: cache/js-dbg-32-78fde7e54d92-linux +// Flags: -m -n -a +// +function g(code) { + try { + f = eval("(function(){" + code + "})") + } catch (r) {} + f() + try { + evalcx("(function(){return" + code + "})()") + } catch (e) {} +} +g("") +g(" function(x,[]){NaN.x::c}()")