In tamperProof, prevent the getter from redefining properties.
@@ -408,7 +408,7 @@ var ses;
}
if (!!gopd(this, name)) {
this[name] = newValue;
- }
+ } else {
// TODO(erights): Do all the inherited property checks
defProp(this, name, {
value: newValue,
@@ -417,6 +417,7 @@ var ses;
configurable: true
});
}
+ }
var desc = gopd(obj, name);
if ('value' in desc) {
value = desc.value;
