mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Reland bug 473228 and bug 530507
This commit is contained in:
commit
3192563f6f
@ -4760,7 +4760,7 @@ js_SetPropertyHelper(JSContext *cx, JSObject *obj, jsid id, uintN defineHow,
|
||||
}
|
||||
}
|
||||
|
||||
sprop = scope->addProperty(cx, id, getter, setter, SPROP_INVALID_SLOT,
|
||||
sprop = scope->putProperty(cx, id, getter, setter, SPROP_INVALID_SLOT,
|
||||
attrs, flags, shortid);
|
||||
if (!sprop) {
|
||||
JS_UNLOCK_SCOPE(cx, scope);
|
||||
|
Loading…
Reference in New Issue
Block a user