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.