Bug 385065 - protocol handling dialog. r=cbiesinger (forgot to fix two nits)
git-svn-id: svn://10.0.0.236/trunk@231036 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1206,7 +1206,7 @@ nsExternalHelperAppService::LoadURI(nsIURI *aURI,
|
||||
NS_ENSURE_ARG_POINTER(aURI);
|
||||
|
||||
nsCAutoString scheme;
|
||||
(void)aURI->GetScheme(scheme);
|
||||
aURI->GetScheme(scheme);
|
||||
if (scheme.IsEmpty())
|
||||
return NS_OK; // must have a scheme
|
||||
|
||||
|
||||
@@ -188,7 +188,7 @@ nsresult nsExtProtocolChannel::OpenURL()
|
||||
NS_ASSERTION(haveHandler, "Why do we have a channel for this url if we don't support the protocol?");
|
||||
#endif
|
||||
|
||||
rv = extProtService->LoadURI(mUrl, nsnull);
|
||||
rv = extProtService->LoadURI(mUrl, mCallbacks);
|
||||
}
|
||||
|
||||
// Drop notification callbacks to prevent cycles.
|
||||
|
||||
Reference in New Issue
Block a user