1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/ion/bug905989.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,13 @@ 1.4 +if (typeof ParallelArray === "undefined") 1.5 + quit(); 1.6 + 1.7 +function TestCase(n, d, e, a) {}; 1.8 +function reportCompare() { 1.9 + new TestCase(); 1.10 +} 1.11 +reportCompare(); 1.12 +TestCase = ParallelArray; 1.13 +try { 1.14 + reportCompare(); 1.15 +} catch(exc1) {} 1.16 +reportCompare();