js/src/jit-test/tests/basic/testBug579602.js

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

     1 // don't panic
     3 f = function() {
     4   x = yield
     5 }
     6 rv = f()
     7 for (a in rv) (function() {})
     8 x = Proxy.create((function() {
     9   return {
    10     defineProperty: gc
    11   }
    12 })(), x)
    13 with({
    14   d: (({
    15     x: Object.defineProperty(x, "", ({
    16       set: Array.e
    17     }))
    18   }))
    19 }) {}
    21 // don't crash

mercurial