27 Nov
2024
27 Nov
'24
12:39 p.m.
Jacek Caban (@jacek) commented about dlls/mshtml/htmlarea.c:
.handle_event = HTMLAreaElement_handle_event };
+static void HTMLAreaElement_init_dispex_info(dispex_data_t *info, compat_mode_t mode) +{ + HTMLElement_init_dispex_info(info, mode); + if(mode >= COMPAT_MODE_IE9) + dispex_info_add_interface(info, IHTMLElement_tid, NULL); /* add toString */
This is probably not a blocker, but note that exposing it like what will make `HTMLAreaElement.prototype.toString.call(document.createElement("a"))` work, while it should probably throw instead. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6910#note_89033