From 604350be8d400bd0dc9fdc72c634bbb4ae1f1016 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Thu, 3 Feb 2011 13:07:57 +0100 Subject: [PATCH] mshtml: Don't try forwarding calls to Gecko that are not implemented there anyways. --- dlls/mshtml/nsio.c | 27 ++++++--------------------- 1 file changed, 6 insertions(+), 21 deletions(-) diff --git a/dlls/mshtml/nsio.c b/dlls/mshtml/nsio.c index 492f845af7..dec00aa902 100644 --- a/dlls/mshtml/nsio.c +++ b/dlls/mshtml/nsio.c @@ -1850,14 +1850,9 @@ static nsresult NSAPI nsURI_SetHostPort(nsIURL *iface, const nsACString *aHostPo { 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) { - invalidate_uri(This); - return nsIURI_SetHostPort(This->nsuri, aHostPort); - } - - FIXME("default action not implemented\n"); + /* Not implemented by Gecko */ return NS_ERROR_NOT_IMPLEMENTED; } @@ -2159,14 +2154,9 @@ static nsresult NSAPI nsURL_SetParam(nsIURL *iface, const nsACString *aParam) { 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) { - invalidate_uri(This); - return nsIURL_SetParam(This->nsurl, aParam); - } - - FIXME("default action not implemented\n"); + /* Not implemented by Gecko */ return NS_ERROR_NOT_IMPLEMENTED; } @@ -2274,14 +2264,9 @@ static nsresult NSAPI nsURL_SetDirectory(nsIURL *iface, const nsACString *aDirec { 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) { - invalidate_uri(This); - return nsIURL_SetDirectory(This->nsurl, aDirectory); - } - - FIXME("default action not implemented\n"); + /* Not implemented by Gecko */ return NS_ERROR_NOT_IMPLEMENTED; } -- 2.33.8