diff -r 000000000000 -r 6474c204b198 js/src/jit-test/tests/ion/bug827821-3.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/js/src/jit-test/tests/ion/bug827821-3.js Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,13 @@ +// |jit-test| error: TypeError +function TestCase(n, d, e, a) {} +function reportCompare (expected, actual, description) { + var testcase = new TestCase(); +} +eval("(function() { \ +var summary = 'Do not hang/crash |for each| over object with getter set to map';\ +var actual = 'No Crash';\ +var expect = 'No Crash';\ +reportCompare(expect, actual, summary);\ +})();"); +eval("(function() { TestCase = Object.prototype.toString; })();"); +eval("gc(); reportCompare();");