From 6bbb531aa6422a76ea65480a0ad0034bfc5c032f Mon Sep 17 00:00:00 2001 From: "mscott%netscape.com" Date: Sun, 9 Jan 2000 23:45:36 +0000 Subject: [PATCH] Short term hack...allow the uri loading to proceed even if we don't have a load group. eventually we should try to create a loadgroup for the caller. --- uriloader/base/nsURILoader.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/uriloader/base/nsURILoader.cpp b/uriloader/base/nsURILoader.cpp index 3a297fff0dfb..99c6718a48d2 100644 --- a/uriloader/base/nsURILoader.cpp +++ b/uriloader/base/nsURILoader.cpp @@ -157,6 +157,7 @@ nsresult nsDocumentOpenInfo::Open(nsIURI *aURI, // and get the load group out of the open context nsCOMPtr aLoadGroup = do_QueryInterface(aOpenContext); +#if 0 if (!aLoadGroup) { // i haven't implemented this yet...it's going to be hard @@ -164,8 +165,9 @@ nsresult nsDocumentOpenInfo::Open(nsIURI *aURI, // that we don't have in this architecture in order to create a new load group return NS_ERROR_NOT_IMPLEMENTED; } +#endif - if (aCurrentOpenContext) + if (aCurrentOpenContext && aLoadGroup) aLoadGroup->QueryInterface(NS_GET_IID(nsISupports), (void **) aCurrentOpenContext); // now we have all we need, so go get the necko channel service so we can