diff --git a/mozilla/netwerk/test/Makefile.in b/mozilla/netwerk/test/Makefile.in index a88afaa3207..4729d522a76 100644 --- a/mozilla/netwerk/test/Makefile.in +++ b/mozilla/netwerk/test/Makefile.in @@ -52,7 +52,6 @@ LOST_SYM_LIBS = -lxpcomds_s -lxpcomio_s -lxptinfo -lmozreg_s endif LIBS = \ - -lmozjs \ -lxpcom \ $(LOST_SYM_LIBS) \ $(NSPR_LIBS) \ diff --git a/mozilla/netwerk/test/TestProtocols.cpp b/mozilla/netwerk/test/TestProtocols.cpp index f6caac747f8..0e703573037 100644 --- a/mozilla/netwerk/test/TestProtocols.cpp +++ b/mozilla/netwerk/test/TestProtocols.cpp @@ -45,7 +45,7 @@ #include "nsIChannel.h" #include "nsIURL.h" #include "nsIHTTPChannel.h" -#include "nsIHttpEventSink.h" +#include "nsIHTTPEventSink.h" #include "nsIInterfaceRequestor.h" #include "nsIDNSService.h" @@ -111,14 +111,9 @@ public: NS_DECL_ISUPPORTS // nsIHTTPEventSink interface... - NS_IMETHOD OnAwaitingInput(nsISupports* i_Context); NS_IMETHOD OnHeadersAvailable(nsISupports* i_Context); - NS_IMETHOD OnProgress(nsISupports* i_Context, - PRUint32 i_Progress, - PRUint32 i_ProgressMax); - // OnRedirect gets fired only if you have set FollowRedirects on the handler! NS_IMETHOD OnRedirect(nsISupports* i_Context, nsIURI* i_NewLocation); @@ -136,13 +131,6 @@ TestHTTPEventSink::~TestHTTPEventSink() NS_IMPL_ISUPPORTS(TestHTTPEventSink,NS_GET_IID(nsIHTTPEventSink)); -NS_IMETHODIMP -TestHTTPEventSink::OnAwaitingInput(nsISupports* context) -{ - printf("\n+++ TestHTTPEventSink::OnAwaitingInput +++\n"); - return NS_OK; -} - NS_IMETHODIMP TestHTTPEventSink::OnHeadersAvailable(nsISupports* context) { @@ -231,13 +219,6 @@ TestHTTPEventSink::OnHeadersAvailable(nsISupports* context) return NS_OK; } -NS_IMETHODIMP -TestHTTPEventSink::OnProgress(nsISupports* context, PRUint32 i_Progress, PRUint32 i_ProgressMax) -{ - printf("\n+++ TestHTTPEventSink::OnProgress +++\n"); - return NS_OK; -} - NS_IMETHODIMP TestHTTPEventSink::OnRedirect(nsISupports* context, nsIURI* i_NewLocation) {