26 Oct
2022
26 Oct
'22
6:15 p.m.
Jacek Caban (@jacek) commented about dlls/mshtml/htmldoc.c:
- FIXME("(%p)->(%p)\n", This, p); - return E_NOTIMPL; + const char *content_type; + WCHAR *content_typeW; + HRESULT hres; + + TRACE("(%p)->(%p)\n", This, p); + + *p = NULL; + + if(!This->window) { + FIXME("No window\n"); + return E_NOTIMPL; + } + + if(!This->window->bscallback || !(content_type = This->window->bscallback->nschannel->content_type)) It seems questionable to access bscallback like like that in a random DOM function. Could we use `nsIDOMDocument::GetContentType` instead?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/1172#note_12264