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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/src/jit-test/tests/ion/bug861419.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,18 @@
     1.4 +
     1.5 +arguments = [];
     1.6 +try {
     1.7 +    arguments.toSource = (function() {
     1.8 +        __proto__.y = x
     1.9 +    })
    1.10 +    y = this
    1.11 +    print(x = 8)
    1.12 +    a = arguments
    1.13 +    for (v of this) {}
    1.14 +} catch (e) {}
    1.15 +function f() {
    1.16 +  "HELLO " + y
    1.17 +}
    1.18 +f()
    1.19 +f()
    1.20 +y = 1[7]
    1.21 +f()

mercurial