1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/gc/bug-913715.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,31 @@ 1.4 +try { 1.5 + (function() { 1.6 + Object.defineProperty(this, "x", { 1.7 + get: function() { 1.8 + Object.defineProperty(this, "y", { 1.9 + configurable: true, 1.10 + get: function() { 1.11 + return Proxy(this.y) 1.12 + } 1.13 + }); 1.14 + x; 1.15 + } 1.16 + }) 1.17 + })() 1.18 + x 1.19 +} catch (e) {} 1.20 +try { 1.21 + x 1.22 +} catch (e) {} 1.23 +try { 1.24 + x 1.25 +} catch (e) {} 1.26 +try { 1.27 + y 1.28 +} catch (e) {} 1.29 +try { 1.30 + y 1.31 +} catch (e) {} 1.32 +try { 1.33 + y 1.34 +} catch (e) {}