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

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     1 // |jit-test| error:TypeError
     3 // Binary: cache/js-dbg-32-9174e1bbfa9f-linux
     4 // Flags: -j
     5 //
     6 'a'.replace(/a/g, [].push);
     7 x = [];
     8 x++;
     9 (function(){ eval("for(let y in []) [][x]"); })();

mercurial