summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug877378.js
blob: 06d63c10eecb9c74f55775b7b35a4cefa466ba3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
evalcx("\
    let z = 'x';\
    for (var v of z) {\
        y = evaluate(\"Object.defineProperty(this,\\\"y\\\",\
                         {get:  function() {}}\
                    );\",\
               {catchTermination: true}\
        );\
    }",
    newGlobal('')
)

evalcx("\
    for (x = 0; x < 1; ++x) { \
        v = evaluate(\"gc\",{ \
        })\
    }\
", newGlobal(''));