michael@0: // |jit-test| error: TypeError michael@0: function TestCase(n, d, e, a) {} michael@0: function reportCompare (expected, actual, description) { michael@0: var testcase = new TestCase(); michael@0: } michael@0: eval("(function() { \ michael@0: var summary = 'Do not hang/crash |for each| over object with getter set to map';\ michael@0: var actual = 'No Crash';\ michael@0: var expect = 'No Crash';\ michael@0: reportCompare(expect, actual, summary);\ michael@0: })();"); michael@0: eval("(function() { TestCase = Object.prototype.toString; })();"); michael@0: eval("gc(); reportCompare();");