blob: 3893d3ff2c1620abd86053b51fc3ff07c9f2dbac [file] [log] [blame]
// This test creates poorly compressible input, which tests certain paths in
// source code compression.
var x = "";
for (var i=0; i<400; ++i) {
x += String.fromCharCode(i * 289);
}
var s = "'" + x + "'";
assertEq(Function("evt", s).toString(), "function anonymous(evt) {\n" + s + "\n}");