mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-13 15:34:01 +00:00
Bug 329749 Did JS_SealObject mean to call JS_UNLOCK_OBJ instead of JS_UNLOCK_SCOPE ?
r=brendan
This commit is contained in:
parent
4aca244416
commit
376cbca96e
@ -2307,7 +2307,7 @@ JS_SealObject(JSContext *cx, JSObject *obj, JSBool deep)
|
||||
scope = js_GetMutableScope(cx, obj);
|
||||
if (scope)
|
||||
SCOPE_SET_SEALED(scope);
|
||||
JS_UNLOCK_SCOPE(cx, scope);
|
||||
JS_UNLOCK_OBJ(cx, obj);
|
||||
if (!scope)
|
||||
return JS_FALSE;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user