mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Inherit context options from parent context when using evalcx in the shell (r=brendan, no bug).
This commit is contained in:
parent
362036b89e
commit
d7a200c5a8
@ -2505,6 +2505,7 @@ EvalInContext(JSContext *cx, JSObject *obj, uintN argc, jsval *argv,
|
||||
JS_ReportOutOfMemory(cx);
|
||||
return JS_FALSE;
|
||||
}
|
||||
JS_SetOptions(scx, JS_GetOptions(cx));
|
||||
|
||||
#ifdef JS_THREADSAFE
|
||||
JS_BeginRequest(scx);
|
||||
|
Loading…
Reference in New Issue
Block a user