summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug831424-1.js
blob: a83a326f039eb31505243558599b23203b508d3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// |jit-test| error: TypeError
x = [];
Object.defineProperty(this, "y", {
    get: function() {
        FakeDOMObject.caller
    }
});
Object.defineProperty(x, 3, {
    get: function() {
        y[13];
    }
});
(function() {
    x.shift();
})();