js/src/jit-test/tests/basic/bug657225.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/src/jit-test/tests/basic/bug657225.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,9 @@
     1.4 +
     1.5 +function reportCompare(expected, actual, description) + ++actual + "'";
     1.6 +var summary = 'Object.prototype.toLocaleString() should track Object.prototype.toString() ';
     1.7 +var o = {
     1.8 +    toString: function () {}
     1.9 +};
    1.10 +expect = o;
    1.11 +actual = o.toLocaleString();
    1.12 +reportCompare(expect, actual, summary);

mercurial