26 Oct
2022
26 Oct
'22
6:16 p.m.
Jacek Caban (@jacek) commented about dlls/mshtml/htmldoc.c:
static HRESULT WINAPI HTMLDocument_get_referrer(IHTMLDocument2 *iface, BSTR *p) { HTMLDocumentNode *This = impl_from_IHTMLDocument2(iface); + nsACString spec_str; + const char *spec; + nsIURI *referrer; + WCHAR *specW;
- FIXME("(%p)->(%p)\n", This, p); + TRACE("(%p)->(%p)\n", This, p);
*p = NULL; - return S_OK; + + if(!This->window || !This->window->bscallback || !(referrer = This->window->bscallback->nschannel->referrer)) Similarly to the other comment, could we use `nsIDOMDocument::GetReferrer` instead?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/1172#note_12265