[PATCH 1/3] include/mshtml.idl: Add more interface declarations.

Jacek Caban jacek at codeweavers.com
Mon Jun 3 08:38:20 CDT 2019


On 6/3/19 1:56 PM, Dmitry Timoshkov wrote:
> Alexandre Julliard <julliard at winehq.org> wrote:
>
>> Dmitry Timoshkov <dmitry at baikal.ru> writes:
>>
>>> Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
>>> ---
>>>   include/mshtmdid.h |  32 ++++-
>>>   include/mshtml.idl | 342 ++++++++++++++++++++++++++++++++++++++++++---
>>>   2 files changed, 356 insertions(+), 18 deletions(-)
>> This breaks the tests, sorry for not catching this earlier:
>>
>> ../../../tools/runtest -q -P wine -T ../../.. -M mshtml.dll -p mshtml_test.exe script && touch script.ok
>> script.c:645: Test failed: L"Got exception Object doesn't support this property or method"
> Something is wrong with new generated mshtml.tlb: somebody tries to get
> an id of the identifier with name "getComputedStyle" however mshtml.tlb
> doesn't (and shouldn't) have it, instead "GetComputedStyle" is returned,
> and that leads to the failure later on. After looking at dlls/mshtml/dispex.c,
> get_builtin_id() I wonder whether case sensitive identifier search is
> broken there, perhaps Jacek has a better idea what is going on.


It looks like a widl but and the attached patch fixes it. I got some 
tests failing in oleaut32. Those are autogenerated from .tlb file. If I 
regenerate them using midl for .idl->.tlb conversion, I get different 
generated files. git blame shows you on those case, do you remember how 
you generated it? I suspect that you used widl instead of midl, but 
maybe some older midl behaved differently?


Jacek

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-patch
Size: 1219 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20190603/06fbf8b3/attachment-0001.bin>


More information about the wine-devel mailing list