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

Alexandre Julliard julliard at winehq.org
Thu Feb 3 12:00:22 CST 2011


Module: wine
Branch: master
Commit: 604350be8d400bd0dc9fdc72c634bbb4ae1f1016
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=604350be8d400bd0dc9fdc72c634bbb4ae1f1016

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Thu Feb  3 13:07:57 2011 +0100

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

---

 dlls/mshtml/nsio.c |   27 ++++++---------------------
 1 files changed, 6 insertions(+), 21 deletions(-)

diff --git a/dlls/mshtml/nsio.c b/dlls/mshtml/nsio.c
index 492f845..dec00aa 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;
 }
 




More information about the wine-cvs mailing list