mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 454142. r=brendan, r=igor, a=beltzner
This commit is contained in:
parent
46b8e136f7
commit
f32e0ba3e6
@ -1263,9 +1263,11 @@ js_AddScopeProperty(JSContext *cx, JSScope *scope, jsid id,
|
||||
*/
|
||||
if (!JS_CLIST_IS_EMPTY(&cx->runtime->watchPointList) &&
|
||||
js_FindWatchPoint(cx->runtime, scope, id)) {
|
||||
JS_PUSH_TEMP_ROOT_SPROP(cx, overwriting, &tvr);
|
||||
if (overwriting)
|
||||
JS_PUSH_TEMP_ROOT_SPROP(cx, overwriting, &tvr);
|
||||
setter = js_WrapWatchedSetter(cx, id, attrs, setter);
|
||||
JS_POP_TEMP_ROOT(cx, &tvr);
|
||||
if (overwriting)
|
||||
JS_POP_TEMP_ROOT(cx, &tvr);
|
||||
if (!setter)
|
||||
goto fail_overwrite;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user