[PATCH v6 4/8] jscript: Lookup and ref the named item's dispatch first, during interpretion.
jacek at codeweavers.com
Mon Mar 9 09:05:23 CDT 2020
On 07.03.2020 14:40, Gabriel Ivăncescu wrote:
> diff --git a/dlls/jscript/dispex.c b/dlls/jscript/dispex.c
> index e986de6..a0c8f38 100644
> --- a/dlls/jscript/dispex.c
> +++ b/dlls/jscript/dispex.c
> @@ -1527,6 +1527,7 @@ static HRESULT WINAPI DispatchEx_InvokeEx(IDispatchEx *iface, DISPID id, LCID lc
> enter_script(This->ctx, &ei);
> + ei.script_obj = This;
This doesn't look right. What are you trying to handle here? Note that
and script_obj doesn't seem right. Even if the object is a script
dispatch, I'm not sure this is right. In fact, I'm not yet convinced
that we need script_obj in ei at all.
More information about the wine-devel