1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/auto-regress/bug488421.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,12 @@ 1.4 +// Binary: cache/js-dbg-64-862693caa320-linux 1.5 +// Flags: 1.6 +// 1.7 +function f(foo) 1.8 +{ 1.9 + var x; 1.10 + eval("__defineGetter__(\"y\", function ()x)"); 1.11 +} 1.12 +f(""); 1.13 +try { 1.14 +((function(){ throw y })()) 1.15 +} catch(exc1) {}