summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug601046.js
blob: 45f3bf82e5951485ef7eae37e8312cc3af5947af (plain)
1
2
3
4
5
6
7
8
// don't assert
var f = function(){};
for (var p in f);
Object.defineProperty(f, "j", ({configurable: true, value: "a"}));
Object.defineProperty(f, "k", ({configurable: true, value: "b"}));
Object.defineProperty(f, "j", ({configurable: true, get: function() {}}));
delete f.k;
Object.defineProperty(f, "j", ({configurable: false}));