Commit 604350be authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Don't try forwarding calls to Gecko that are not implemented there anyways.

parent 3311bbb3
...@@ -1850,14 +1850,9 @@ static nsresult NSAPI nsURI_SetHostPort(nsIURL *iface, const nsACString *aHostPo ...@@ -1850,14 +1850,9 @@ static nsresult NSAPI nsURI_SetHostPort(nsIURL *iface, const nsACString *aHostPo
{ {
nsWineURI *This = impl_from_nsIURL(iface); nsWineURI *This = impl_from_nsIURL(iface);
TRACE("(%p)->(%s)\n", This, debugstr_nsacstr(aHostPort)); WARN("(%p)->(%s)\n", This, debugstr_nsacstr(aHostPort));
if(This->nsuri) { /* Not implemented by Gecko */
invalidate_uri(This);
return nsIURI_SetHostPort(This->nsuri, aHostPort);
}
FIXME("default action not implemented\n");
return NS_ERROR_NOT_IMPLEMENTED; return NS_ERROR_NOT_IMPLEMENTED;
} }
...@@ -2159,14 +2154,9 @@ static nsresult NSAPI nsURL_SetParam(nsIURL *iface, const nsACString *aParam) ...@@ -2159,14 +2154,9 @@ static nsresult NSAPI nsURL_SetParam(nsIURL *iface, const nsACString *aParam)
{ {
nsWineURI *This = impl_from_nsIURL(iface); nsWineURI *This = impl_from_nsIURL(iface);
TRACE("(%p)->(%s)\n", This, debugstr_nsacstr(aParam)); WARN("(%p)->(%s)\n", This, debugstr_nsacstr(aParam));
if(This->nsurl) { /* Not implemented by Gecko */
invalidate_uri(This);
return nsIURL_SetParam(This->nsurl, aParam);
}
FIXME("default action not implemented\n");
return NS_ERROR_NOT_IMPLEMENTED; return NS_ERROR_NOT_IMPLEMENTED;
} }
...@@ -2274,14 +2264,9 @@ static nsresult NSAPI nsURL_SetDirectory(nsIURL *iface, const nsACString *aDirec ...@@ -2274,14 +2264,9 @@ static nsresult NSAPI nsURL_SetDirectory(nsIURL *iface, const nsACString *aDirec
{ {
nsWineURI *This = impl_from_nsIURL(iface); nsWineURI *This = impl_from_nsIURL(iface);
TRACE("(%p)->(%s)\n", This, debugstr_nsacstr(aDirectory)); WARN("(%p)->(%s)\n", This, debugstr_nsacstr(aDirectory));
if(This->nsurl) { /* Not implemented by Gecko */
invalidate_uri(This);
return nsIURL_SetDirectory(This->nsurl, aDirectory);
}
FIXME("default action not implemented\n");
return NS_ERROR_NOT_IMPLEMENTED; return NS_ERROR_NOT_IMPLEMENTED;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment