mshtml: Added nsIURI::GetSpecIgnoringRef implementation.

This commit is contained in:
Jacek Caban 2011-11-15 13:31:44 +01:00 committed by Alexandre Julliard
parent 95053e83cc
commit af9508a13a
1 changed files with 14 additions and 2 deletions

View File

@ -2411,8 +2411,20 @@ static nsresult NSAPI nsURI_GetSpecIgnoringRef(nsIURL *iface, nsACString *aSpecI
static nsresult NSAPI nsURI_GetHasRef(nsIURL *iface, PRBool *aHasRef)
{
nsWineURI *This = impl_from_nsIURL(iface);
FIXME("(%p)->(%p)\n", This, aHasRef);
return NS_ERROR_NOT_IMPLEMENTED;
BOOL b;
HRESULT hres;
TRACE("(%p)->(%p)\n", This, aHasRef);
if(!ensure_uri(This))
return NS_ERROR_UNEXPECTED;
hres = IUri_HasProperty(This->uri, Uri_PROPERTY_FRAGMENT, &b);
if(FAILED(hres))
return NS_ERROR_FAILURE;
*aHasRef = b;
return NS_OK;
}
static nsresult NSAPI nsURL_GetFilePath(nsIURL *iface, nsACString *aFilePath)