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