diff --git a/src/objects.cc b/src/objects.cc index 118c4891d3..c76fc83377 100644 --- a/src/objects.cc +++ b/src/objects.cc @@ -2839,7 +2839,11 @@ Object* JSObject::DefineGetterSetter(String* name, 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; + } } } }