| Index: src/objects.cc
|
| ===================================================================
|
| --- src/objects.cc (revision 1073)
|
| +++ src/objects.cc (working copy)
|
| @@ -1599,7 +1599,7 @@
|
| return JSObject::cast(proto)->SetProperty(result, name, value, attributes);
|
| }
|
|
|
| - if (result->IsNotFound() || !result->IsProperty()) {
|
| + if (!result->IsProperty() && !IsJSContextExtensionObject()) {
|
| // We could not find a local property so let's check whether there is an
|
| // accessor that wants to handle the property.
|
| LookupResult accessor_result;
|
|
|