"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "js/src/jit-test/tests/basic/function-tosource-bug779694.js" between
UXP-2019.03.27.tar.gz and UXP-2019.06.08.tar.gz

About: Basilisk is a full-featured, optimized browser derived from the code behind the pre-Servo Firefox browser (29–56 era). UXP = Unified XUL Platform. Source code.

function-tosource-bug779694.js  (UXP-2019.03.27):function-tosource-bug779694.js  (UXP-2019.06.08)
// This test creates poorly compressible input, which tests certain paths in // This test creates poorly compressible input, which tests certain paths in
// source code compression. // source code compression.
var x = ""; var x = "";
for (var i=0; i<400; ++i) { for (var i=0; i<400; ++i) {
x += String.fromCharCode(i * 289); x += String.fromCharCode(i * 289);
} }
var s = "'" + x + "'"; var s = "'" + x + "'";
assertEq(Function("evt", s).toString(), "function anonymous(evt) {\n" + s + "\n} "); assertEq(Function("evt", s).toString(), "function anonymous(evt\n) {\n" + s + "\ n}");
 End of changes. 1 change blocks. 
0 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)