1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/auto-regress/bug696039.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,21 @@ 1.4 +// Binary: cache/js-dbg-32-67673422f7d2-linux 1.5 +// Flags: -m -n -a 1.6 +// 1.7 + 1.8 +gczeal(2); 1.9 +var lfcode = new Array(); 1.10 +lfcode.push(""); 1.11 +lfcode.push(""); 1.12 +while (lfcode.length > 0) { 1.13 + var file = lfcode.shift(); 1.14 + loadFile(file); 1.15 +} 1.16 +function loadFile(lfVarx) { 1.17 + try { 1.18 + eval("\ 1.19 + Array.prototype[30] = 'B';\ 1.20 + delete Array.prototype[30];\ 1.21 + assertEquals('edcba', a.join(''));\ 1.22 + "); 1.23 + } catch (lfVare) {} 1.24 +}