mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 670205 - Preserve JSOPTION_UNROOTED_GLOBAL in ContextHolder::ContextHolder (r=gal)
This commit is contained in:
parent
a2eef165e0
commit
7643e7af42
@ -3412,6 +3412,7 @@ ContextHolder::ContextHolder(JSContext *aOuterCx, JSObject *aSandbox)
|
||||
{
|
||||
JSAutoRequest ar(mJSContext);
|
||||
JS_SetOptions(mJSContext,
|
||||
JS_GetOptions(mJSContext) |
|
||||
JSOPTION_DONT_REPORT_UNCAUGHT |
|
||||
JSOPTION_PRIVATE_IS_NSISUPPORTS);
|
||||
JS_SetGlobalObject(mJSContext, aSandbox);
|
||||
|
Loading…
Reference in New Issue
Block a user