25 Nov
2024
25 Nov
'24
1:24 p.m.
Jacek Caban (@jacek) commented about dlls/mshtml/htmltextnode.c:
static void Text_init_dispex_info(dispex_data_t *info, compat_mode_t mode) { + static const dispex_hook_t textnode_hooks[] = { + {DISPID_IHTMLDOMTEXTNODE_TOSTRING},
Does that mean we can remove compat mode check in `HTMLDOMTextNode_toString`? Its implementation in e0585d4c184d was backed by JS test and with this commit, text node would just use `Object.prototype.toString` instead, which explains the observed difference. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6887#note_88817