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

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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