bug729899-1.js (437B)
1 var lfcode = new Array(); 2 lfcode.push("function addThis() {}"); 3 lfcode.push("\ 4 var UBound = 0;\ 5 var expectedvalues = [];\ 6 addThis();\ 7 function addThis() {\ 8 expectedvalues[UBound] = expect;\ 9 UBound++;\ 10 }\ 11 "); 12 lfcode.push("\ 13 var expect = 'No Crash';\ 14 for (var i = 0; i < (2 << 16); i++) addThis();\ 15 "); 16 while (true) { 17 var file = lfcode.shift(); if (file == undefined) { break; } 18 try { evaluate(file); } catch(lfVare) {} 19 }