diff -r 000000000000 -r 6474c204b198 js/src/jit-test/tests/auto-regress/bug696039.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/js/src/jit-test/tests/auto-regress/bug696039.js Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,21 @@ +// Binary: cache/js-dbg-32-67673422f7d2-linux +// Flags: -m -n -a +// + +gczeal(2); +var lfcode = new Array(); +lfcode.push(""); +lfcode.push(""); +while (lfcode.length > 0) { + var file = lfcode.shift(); + loadFile(file); +} +function loadFile(lfVarx) { + try { + eval("\ + Array.prototype[30] = 'B';\ + delete Array.prototype[30];\ + assertEquals('edcba', a.join(''));\ + "); + } catch (lfVare) {} +}