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

Fri, 16 Jan 2015 04:50:19 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 04:50:19 +0100
branch
TOR_BUG_9701
changeset 13
44a2da4a2ab2
permissions
-rw-r--r--

Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32

     1 // |jit-test| error:ReferenceError
     3 // Binary: cache/js-dbg-32-525d852c622d-linux
     4 // Flags: -j
     5 //
     6 (function() {
     7     let(x)
     8     (function() {
     9         for (let a in [0, x, 0, 0])
    10         (function() {
    11             for (let y in [0, 0]) print
    12         })();
    13     })()
    14     with({}) throw x;
    15 })()

mercurial