when an existing accessor is redefined (a configurable accessor can
potentially be redefined as a non-configurable (i.e., DONT_DELETE)).
Review URL: http://codereview.chromium.org/556040
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3719
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
if (result.IsReadOnly()) return Heap::undefined_value();
if (result.type() == CALLBACKS) {
Object* obj = result.GetCallbackObject();
- if (obj->IsFixedArray()) return obj;
+ if (obj->IsFixedArray()) {
+ PropertyDetails details = PropertyDetails(attributes, CALLBACKS);
+ SetNormalizedProperty(name, obj, details);
+ return obj;
+ }
}
}
}