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. git-svn-id: svn://10.0.0.236/trunk@57245 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
ba99fdb411
commit
17723e9ea8
@ -157,6 +157,7 @@ nsresult nsDocumentOpenInfo::Open(nsIURI *aURI,
|
||||
|
||||
// and get the load group out of the open context
|
||||
nsCOMPtr<nsILoadGroup> 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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user