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