22 Aug
2025
22 Aug
'25
5:43 p.m.
Jacek Caban (@jacek) commented about dlls/mshtml/htmldoc.c:
}
HRESULT create_document_node(nsIDOMDocument *nsdoc, GeckoBrowser *browser, HTMLInnerWindow *window, - HTMLInnerWindow *script_global, compat_mode_t parent_mode, HTMLDocumentNode **ret) + HTMLInnerWindow *script_global, document_type_t doc_type, compat_mode_t parent_mode, HTMLDocumentNode **ret) Is it really specific to `DOMParser`? Shouldn't we do a similar thing if a frame navigates to SVG or XML document? Could we somehow get the type from `nsdoc` instead of guessing it from other sources?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/8821#note_113622