1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/tests/ecma_5/extensions/regress-bug567606.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,19 @@ 1.4 +// Any copyright is dedicated to the Public Domain. 1.5 +// http://creativecommons.org/licenses/publicdomain/ 1.6 + 1.7 +var global = this; 1.8 + 1.9 +(function() { 1.10 + function f() { 1.11 + this.b = function() {}; 1.12 + Object.defineProperty(this, "b", ({ 1.13 + configurable: global.__defineSetter__("", function() {}) 1.14 + })); 1.15 + } 1.16 + for (y of [0]) { 1.17 + _ = new f(); 1.18 + } 1.19 +})(); 1.20 +uneval(this); 1.21 + 1.22 +reportCompare(true, true);