js/src/jit-test/tests/ion/bug836705.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/src/jit-test/tests/ion/bug836705.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,12 @@
     1.4 +
     1.5 +Object.prototype[3] = 3;
     1.6 +var sjcl = {
     1.7 +    cipher: {},
     1.8 +};
     1.9 +sjcl.cipher.aes = function (a) {
    1.10 +    d = a.slice(0);
    1.11 +    for (a=0; a < 60; a++) {
    1.12 +        c = d[a - 1];
    1.13 +    }
    1.14 +};
    1.15 +new sjcl.cipher.aes([0xffffffff, 0xffffffff]);

mercurial