1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/basic/bug877378.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,19 @@ 1.4 +evalcx("\ 1.5 + let z = 'x';\ 1.6 + for (var v of z) {\ 1.7 + y = evaluate(\"Object.defineProperty(this,\\\"y\\\",\ 1.8 + {get: function() {}}\ 1.9 + );\",\ 1.10 + {catchTermination: true, saveFrameChain: true}\ 1.11 + );\ 1.12 + }", 1.13 + newGlobal('') 1.14 +) 1.15 + 1.16 +evalcx("\ 1.17 + for (x = 0; x < 1; ++x) { \ 1.18 + v = evaluate(\"gc\",{ \ 1.19 + saveFrameChain: true \ 1.20 + })\ 1.21 + }\ 1.22 +", newGlobal(''));