mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
re-seed PRNG when clearing the scope (577512, r=bz).
This commit is contained in:
parent
1cb8edcb96
commit
9f011207b0
@ -3789,6 +3789,8 @@ JS_ClearScope(JSContext *cx, JSObject *obj)
|
||||
for (key = JSProto_Null; key < JSProto_LIMIT * 3; key++)
|
||||
JS_SetReservedSlot(cx, obj, key, JSVAL_VOID);
|
||||
}
|
||||
|
||||
js_InitRandom(cx);
|
||||
}
|
||||
|
||||
JS_PUBLIC_API(JSIdArray *)
|
||||
|
Loading…
Reference in New Issue
Block a user