Debian Codegraph @

js/src/tests/non262/extensions/uneval/regress-bug567606.js

raw
1 // |reftest| skip-if(!this.uneval)
2
3 // Any copyright is dedicated to the Public Domain.
4 // http://creativecommons.org/licenses/publicdomain/
5
6 var global = this;
7
8 (function() {
9 function f() {
10 this.b = function() {};
11 Object.defineProperty(this, "b", ({
12 configurable: global.__defineSetter__("", function() {})
13 }));
14 }
15 for (y of [0]) {
16 _ = new f();
17 }
18 })();
19 uneval(this);
20
21 reportCompare(true, true);