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?