[PATCH] jscript: Fix `this` within IDispatchEx::InvokeEx.
Jacek Caban
jacek at codeweavers.com
Thu Jul 23 15:25:38 CDT 2020
From: Puetz Kevin A <PuetzKevinA at JohnDeere.com>
Latent bug revealed by 614ea7e6243ead003bcfe4624895154972f3445f;
Now that cross-context calls go through disp_call* instead of
jsdisp_call*, and thus through InvokeEx, the `this` pointer is
lost when calling methods inherited from a prototype.
Signed-off-by: Kevin Puetz <PuetzKevinA at JohnDeere.com>
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
---
Back to Kevin's version, sorry for messing this.
dlls/jscript/dispex.c | 8 ++--
dlls/jscript/tests/run.c | 89 +++++++++++++++++++++++++++++++++++++++-
2 files changed, 93 insertions(+), 4 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-jscript-Fix-this-within-IDispatchEx-InvokeEx.txt
Type: text/x-patch
Size: 5614 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20200723/8e6de7f6/attachment.bin>
More information about the wine-devel
mailing list