1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/ion/bug725003.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,15 @@ 1.4 +function TestCase(n, d, e, a) { 1.5 + this.name = n; 1.6 + this.description = d; 1.7 + this.expect = e; 1.8 + this.actual = a; 1.9 + this.passed = getTestCaseResult(e, a); 1.10 + this.reason = ''; 1.11 +} 1.12 +function getTestCaseResult(expected, actual) {} 1.13 +var obj = new Function(); 1.14 +for (var i = 0; i < 100; i++) { 1.15 + obj['-1'] = new Array(); 1.16 + assertEq(obj['-1'] == null, false); 1.17 + obj = new TestCase(); 1.18 +}