js/src/jit-test/tests/auto-regress/bug652177.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/src/jit-test/tests/auto-regress/bug652177.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,15 @@
     1.4 +// Binary: cache/js-dbg-32-d5fcfa622f16-linux
     1.5 +// Flags:
     1.6 +//
     1.7 +Function.toLocaleString.__proto__ = null
     1.8 +y = {}.__proto__
     1.9 +y.p = function() {}
    1.10 +y.__defineSetter__("", function() {})
    1.11 +y.__proto__ = Function.toLocaleString
    1.12 +function b(a) {
    1.13 +    this.__proto__ = a;
    1.14 +    Object.freeze(this)
    1.15 +}
    1.16 +for each(z in []) {
    1.17 +    new b
    1.18 +}

mercurial