js/src/jit-test/tests/basic/bug836623.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/bug836623.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,13 @@
     1.4 +
     1.5 +x = []
     1.6 +Object.defineProperty(x, 4, {
     1.7 +    configurable: true
     1.8 +})
     1.9 +Array.prototype.pop.call(x)
    1.10 +for (let y = 0; y < 9; ++y) {
    1.11 +    Object.defineProperty(x, 7, {
    1.12 +        configurable: true,
    1.13 +        enumerable: (y != 2),
    1.14 +        writable: true
    1.15 +    })
    1.16 +}

mercurial