js/src/jit-test/tests/ion/bug831424-2.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/bug831424-2.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,16 @@
     1.4 +// |jit-test| error: TypeError
     1.5 +x = [];
     1.6 +Object.defineProperty(this, "y", {
     1.7 +    get: function() {
     1.8 +        print.caller
     1.9 +    }
    1.10 +});
    1.11 +Object.defineProperty(x, 3, {
    1.12 +    get: function() {
    1.13 +        y[13];
    1.14 +    }
    1.15 +});
    1.16 +(function() {
    1.17 +    x.shift();
    1.18 +})();
    1.19 +

mercurial