mshtml: Return NS_OK for empty aRef in nsIURL::SetRef.
This commit is contained in:
parent
fa3ac0a3d9
commit
007b398215
|
@ -2000,12 +2000,17 @@ static nsresult NSAPI nsURL_GetRef(nsIWineURI *iface, nsACString *aRef)
|
|||
static nsresult NSAPI nsURL_SetRef(nsIWineURI *iface, const nsACString *aRef)
|
||||
{
|
||||
nsURI *This = NSURI_THIS(iface);
|
||||
const char *refa;
|
||||
|
||||
TRACE("(%p)->(%s)\n", This, debugstr_nsacstr(aRef));
|
||||
|
||||
if(This->nsurl)
|
||||
return nsIURL_SetRef(This->nsurl, aRef);
|
||||
|
||||
nsACString_GetData(aRef, &refa);
|
||||
if(!*refa)
|
||||
return NS_OK;
|
||||
|
||||
FIXME("default action not implemented\n");
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue