| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index f259c1c4067faf8d71cdddca9de1cef93fea159b..8830c2b9265c17949bff5e1563fd1b723e4efb94 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -3557,7 +3557,8 @@ static i::MaybeHandle<i::Object> DefineObjectProperty(
|
| isolate, js_object, key, &success, i::LookupIterator::OWN);
|
| if (!success) return i::MaybeHandle<i::Object>();
|
|
|
| - return i::JSObject::DefineOwnPropertyIgnoreAttributes(&it, value, attrs);
|
| + return i::JSObject::DefineOwnPropertyIgnoreAttributes(
|
| + &it, value, attrs, i::JSObject::FORCE_FIELD);
|
| }
|
|
|
|
|
|
|