js/src/jit-test/tests/ion/bug861419.js

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     2 arguments = [];
     3 try {
     4     arguments.toSource = (function() {
     5         __proto__.y = x
     6     })
     7     y = this
     8     print(x = 8)
     9     a = arguments
    10     for (v of this) {}
    11 } catch (e) {}
    12 function f() {
    13   "HELLO " + y
    14 }
    15 f()
    16 f()
    17 y = 1[7]
    18 f()

mercurial