This commit is contained in:
Robert Sayre 2009-12-01 09:54:57 -05:00
Родитель e397c49653 90c005ab08
Коммит 50769a45c8
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -4760,7 +4760,7 @@ js_SetPropertyHelper(JSContext *cx, JSObject *obj, jsid id, uintN defineHow,
}
}
sprop = scope->putProperty(cx, id, getter, setter, SPROP_INVALID_SLOT,
sprop = scope->addProperty(cx, id, getter, setter, SPROP_INVALID_SLOT,
attrs, flags, shortid);
if (!sprop) {
JS_UNLOCK_SCOPE(cx, scope);