summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug980013.js
blob: d84295285b2ad82f11aa59db59154b11bd1db81b (plain)
1
2
3
4
5
6
7
8
9

x = new Uint8ClampedArray;
x.__proto__ = {};
Object.defineProperty(this, "y", {
    get: function() {
        return x.length;
    }
});
assertEq(y, undefined);