Fix for protocol handling dialog throwing exception when a web handler is selected (bug 392957), r=biesi, sr=mconnor, a=bz

git-svn-id: svn://10.0.0.236/trunk@233779 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dmose%mozilla.org
2007-09-03 04:44:26 +00:00
parent 68be9fb9fd
commit 210b7f773c
13 changed files with 152 additions and 250 deletions

View File

@@ -818,7 +818,7 @@ nsWebShell::OnLinkClickSync(nsIContent *aContent,
PRBool isExposed;
nsresult rv = extProtService->IsExposedProtocol(scheme.get(), &isExposed);
if (NS_SUCCEEDED(rv) && !isExposed) {
return extProtService->LoadUrl(aURI);
return extProtService->LoadURI(aURI, this);
}
}
}