Index: src/objects.cc |
=================================================================== |
--- src/objects.cc (revision 3686) |
+++ src/objects.cc (working copy) |
@@ -2839,7 +2839,11 @@ |
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; |
+ } |
} |
} |
} |