1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/gc/bug-975959.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,20 @@ 1.4 +if (!getBuildConfiguration().parallelJS) 1.5 + quit(0); 1.6 + 1.7 +try { 1.8 + y = z = []; 1.9 + y[1] = x 1.10 + for (var e, x = [];; d) {} 1.11 +} catch (e) {} 1.12 +try { 1.13 + Object.defineProperty(this, "y", { 1.14 + get: function() { 1.15 + z.filterPar(function() {}) 1.16 + } 1.17 + })(1 instanceof 2) 1.18 +} catch (e) {} 1.19 +y 1.20 +verifyprebarriers() 1.21 +y 1.22 +verifyprebarriers() 1.23 +y